Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 193 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.258/1.258, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7236/0.7236, allocations: 132.2 MB / 422.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 67.8 kB / 0.5019 GB, free: 8.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1404, allocations: 80.21 MB / 0.5802 GB, free: 8.703 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005931/0.1463, allocations: 4.194 MB / 0.5843 GB, free: 4.48 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.369/0.5153, allocations: 150.6 MB / 0.7313 GB, free: 1.109 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007441/0.5161, allocations: 20.09 kB / 0.7313 GB, free: 1.102 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005598/0.5167, allocations: 174.2 kB / 0.7315 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001437/0.5182, allocations: 492.2 kB / 0.732 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001749/0.52, allocations: 0.8217 MB / 0.7328 GB, free: 312 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001091/0.5211, allocations: 1.216 MB / 0.734 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008376/0.5219, allocations: 0.6318 MB / 0.7346 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005397/0.5224, allocations: 446.1 kB / 0.735 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004948/0.5229, allocations: 472 kB / 0.7355 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001351/0.5231, allocations: 105.4 kB / 0.7356 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007803/0.5239, allocations: 470.7 kB / 0.736 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002366/0.5241, allocations: 280.5 kB / 0.7363 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004016/0.5245, allocations: 0.5178 MB / 0.7368 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.5258, allocations: 1.493 MB / 0.7382 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.5259, allocations: 4 kB / 0.7382 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.502e-06/0.5259, allocations: 2.812 kB / 0.7383 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.345e-05/0.5259, allocations: 1.594 kB / 0.7383 GB, free: 13.6 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.002112/0.528, allocations: 1.374 MB / 0.7396 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.5281, allocations: 10.56 kB / 0.7396 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001375/0.5282, allocations: 131 kB / 0.7397 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008498/0.5291, allocations: 177.3 kB / 0.7399 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009194/0.53, allocations: 0.7189 MB / 0.7406 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.044e-05/0.53, allocations: 63.59 kB / 0.7407 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.735e-05/0.5301, allocations: 75.91 kB / 0.7407 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.5315, allocations: 0.8985 MB / 0.7416 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.5315, allocations: 3.938 kB / 0.7416 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.61e-05/0.5316, allocations: 36.25 kB / 0.7417 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.5316, allocations: 20.62 kB / 0.7417 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00162/0.5332, allocations: 1.1 MB / 0.7427 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003437/0.5367, allocations: 2.535 MB / 0.7452 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/0.5383, allocations: 0.8628 MB / 0.7461 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004658/0.5388, allocations: 293.3 kB / 0.7463 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.288e-05/0.5389, allocations: 37.61 kB / 0.7464 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008063/0.5397, allocations: 440.3 kB / 0.7468 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=76): time 2.164e-06/0.5397, allocations: 0 / 0.7468 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76): time 0.002914/0.5426, allocations: 1.122 MB / 0.7479 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.5428, allocations: 188.6 kB / 0.7481 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007616/0.5436, allocations: 0.598 MB / 0.7487 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.087e-05/0.5436, allocations: 41.7 kB / 0.7487 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003166/0.5439, allocations: 388.2 kB / 0.7491 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000207/0.5442, allocations: 244.4 kB / 0.7493 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002128/0.5444, allocations: 142.2 kB / 0.7494 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.5446, allocations: 386.7 kB / 0.7498 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004618/0.545, allocations: 230.4 kB / 0.75 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005447/0.5456, allocations: 330.7 kB / 0.7503 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009671/0.5466, allocations: 0.5551 MB / 0.7509 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5466, allocations: 0 / 0.7509 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00166/0.5482, allocations: 0.7471 MB / 0.7516 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.5483, allocations: 8 kB / 0.7516 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.5483, allocations: 4.094 kB / 0.7516 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000563/0.5489, allocations: 84.7 kB / 0.7517 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005504/0.5494, allocations: 151.8 kB / 0.7518 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001969/0.5514, allocations: 1.625 MB / 0.7534 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005622/0.552, allocations: 87.27 kB / 0.7535 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.545e-05/0.552, allocations: 31.97 kB / 0.7535 GB, free: 0.6406 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 (solAzi.outsidePolarCircle,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003343/0.5524, allocations: 266.2 kB / 0.7538 GB, free: 388 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.5525, allocations: 75.06 kB / 0.7539 GB, free: 312 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002232/0.5548, allocations: 1.057 MB / 0.7549 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.5548, allocations: 15.98 kB / 0.7549 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.5548, allocations: 0 / 0.7549 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.5548, allocations: 7.922 kB / 0.7549 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002898/0.5577, allocations: 1.936 MB / 0.7568 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.5577, allocations: 4 kB / 0.7568 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005516/0.5583, allocations: 155.8 kB / 0.757 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004174/0.5587, allocations: 72.78 kB / 0.757 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.132e-05/0.5588, allocations: 27.98 kB / 0.7571 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001719/0.5605, allocations: 1.658 MB / 0.7587 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5605, allocations: 0 / 0.7587 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/0.5622, allocations: 0.957 MB / 0.7596 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003154/0.5626, allocations: 267.7 kB / 0.7599 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.5627, allocations: 16 kB / 0.7599 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005611/0.5632, allocations: 60.64 kB / 0.76 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.5634, allocations: 69.05 kB / 0.76 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.076e-05/0.5634, allocations: 27.98 kB / 0.76 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004639/0.5639, allocations: 439 kB / 0.7605 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5639, allocations: 0 / 0.7605 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007883/0.5647, allocations: 307.3 kB / 0.7608 GB, free: 9.012 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003208/0.5679, allocations: 2.026 MB / 0.7627 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002037/0.57, allocations: 0.9616 MB / 0.7637 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.57, allocations: 0 / 0.7637 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008076/0.5708, allocations: 0.5083 MB / 0.7642 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.5719, allocations: 286.2 kB / 0.7644 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009788/0.5817, allocations: 6.24 MB / 0.7705 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005241/0.5823, allocations: 1.017 MB / 0.7715 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007533/0.583, allocations: 266.1 kB / 0.7718 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004771/0.5835, allocations: 359.3 kB / 0.7721 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of SimCode: time 5.21e-07/0.5835, allocations: 4 kB / 0.7721 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04546/0.629, allocations: 20.37 MB / 0.792 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.23/13.86, allocations: 5.844 kB / 0.792 GB, free: 9.434 MB / 0.6075 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)