Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.AltitudeAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.006884/0.006884, allocations: 101.9 kB / 15.74 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001744/0.001744, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9056/0.9056, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 63.91 kB / 0.5851 GB, free: 3.898 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3583, allocations: 80.92 MB / 0.6641 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004569/0.3629, allocations: 4.138 MB / 0.6682 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1562/0.5192, allocations: 150.5 MB / 0.8151 GB, free: 6.43 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007958/0.52, allocations: 15.94 kB / 0.8152 GB, free: 6.414 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006789/0.5207, allocations: 170.4 kB / 0.8153 GB, free: 6.246 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001857/0.5226, allocations: 487.4 kB / 0.8158 GB, free: 5.77 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002036/0.5247, allocations: 0.8004 MB / 0.8166 GB, free: 4.977 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001458/0.5261, allocations: 1.195 MB / 0.8177 GB, free: 3.773 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000925/0.5271, allocations: 0.61 MB / 0.8183 GB, free: 3.148 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000632/0.5277, allocations: 442.5 kB / 0.8188 GB, free: 2.715 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004749/0.5282, allocations: 453.9 kB / 0.8192 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001263/0.5283, allocations: 104 kB / 0.8193 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000837/0.5292, allocations: 467.6 kB / 0.8197 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002467/0.5294, allocations: 275.1 kB / 0.82 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004009/0.5298, allocations: 0.4934 MB / 0.8205 GB, free: 0.9453 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001569/0.5314, allocations: 1.499 MB / 0.8219 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.5314, allocations: 0 / 0.8219 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5314, allocations: 7.938 kB / 0.8219 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.5314, allocations: 0 / 0.8219 GB, free: 15.43 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002051/0.5335, allocations: 1.364 MB / 0.8233 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.5336, allocations: 8.031 kB / 0.8233 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001387/0.5337, allocations: 131.2 kB / 0.8234 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009048/0.5346, allocations: 184.1 kB / 0.8236 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.5357, allocations: 0.731 MB / 0.8243 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.378e-05/0.5357, allocations: 66 kB / 0.8244 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.5358, allocations: 75.98 kB / 0.8244 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.5372, allocations: 0.8716 MB / 0.8253 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.5373, allocations: 3.938 kB / 0.8253 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-05/0.5373, allocations: 36 kB / 0.8253 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.5374, allocations: 20 kB / 0.8253 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001623/0.539, allocations: 1.065 MB / 0.8264 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003396/0.5424, allocations: 2.356 MB / 0.8287 GB, free: 8.316 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.5437, allocations: 0.7995 MB / 0.8295 GB, free: 7.496 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004827/0.5442, allocations: 282.7 kB / 0.8297 GB, free: 7.219 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.567e-05/0.5443, allocations: 32.69 kB / 0.8298 GB, free: 7.188 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007113/0.545, allocations: 427.5 kB / 0.8302 GB, free: 6.754 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=73): time 1.894e-06/0.545, allocations: 0 / 0.8302 GB, free: 6.754 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73): time 0.002844/0.5479, allocations: 1.089 MB / 0.8312 GB, free: 5.641 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.778e-05/0.548, allocations: 188.6 kB / 0.8314 GB, free: 5.414 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006376/0.5486, allocations: 0.5823 MB / 0.832 GB, free: 4.828 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.401e-05/0.5487, allocations: 41.7 kB / 0.832 GB, free: 4.781 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002584/0.5489, allocations: 388.8 kB / 0.8324 GB, free: 4.395 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/0.5491, allocations: 253.8 kB / 0.8326 GB, free: 4.145 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/0.5493, allocations: 134.2 kB / 0.8328 GB, free: 4.008 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.5495, allocations: 382.7 kB / 0.8331 GB, free: 3.625 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004384/0.5499, allocations: 217.2 kB / 0.8333 GB, free: 3.414 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005412/0.5505, allocations: 331.6 kB / 0.8337 GB, free: 3.059 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009679/0.5514, allocations: 0.5324 MB / 0.8342 GB, free: 2.508 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.5515, allocations: 0 / 0.8342 GB, free: 2.508 MB / 0.6544 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001677/0.5531, allocations: 0.7279 MB / 0.8349 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.5532, allocations: 4 kB / 0.8349 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.5532, allocations: 4 kB / 0.8349 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005904/0.5538, allocations: 88.81 kB / 0.835 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005984/0.5544, allocations: 143.8 kB / 0.8351 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001981/0.5564, allocations: 1.626 MB / 0.8367 GB, free: 15.76 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005295/0.5569, allocations: 75.61 kB / 0.8368 GB, free: 15.69 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.206e-05/0.557, allocations: 32.05 kB / 0.8368 GB, free: 15.66 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (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 (77): * Single equations (assignments): 76 * 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.0003178/0.5573, allocations: 251 kB / 0.837 GB, free: 15.4 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.5575, allocations: 83.42 kB / 0.8371 GB, free: 15.32 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002214/0.5597, allocations: 1.002 MB / 0.8381 GB, free: 14.31 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.5597, allocations: 8 kB / 0.8381 GB, free: 14.3 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.5597, allocations: 3.938 kB / 0.8381 GB, free: 14.3 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.5597, allocations: 3.984 kB / 0.8381 GB, free: 14.29 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003043/0.5628, allocations: 1.866 MB / 0.8399 GB, free: 12.36 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.5628, allocations: 4 kB / 0.8399 GB, free: 12.36 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005797/0.5634, allocations: 155.8 kB / 0.8401 GB, free: 12.21 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004382/0.5638, allocations: 64.8 kB / 0.8402 GB, free: 12.14 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.746e-05/0.5639, allocations: 23.98 kB / 0.8402 GB, free: 12.12 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001781/0.5657, allocations: 1.662 MB / 0.8418 GB, free: 10.3 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.5657, allocations: 0 / 0.8418 GB, free: 10.3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/0.5675, allocations: 0.9243 MB / 0.8427 GB, free: 9.363 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003301/0.5678, allocations: 264.2 kB / 0.843 GB, free: 9.086 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.5679, allocations: 20.06 kB / 0.843 GB, free: 9.066 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005805/0.5685, allocations: 47.95 kB / 0.843 GB, free: 9.02 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.5686, allocations: 64.91 kB / 0.8431 GB, free: 8.953 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-05/0.5687, allocations: 27.98 kB / 0.8431 GB, free: 8.926 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004974/0.5692, allocations: 435 kB / 0.8435 GB, free: 8.508 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5692, allocations: 0 / 0.8435 GB, free: 8.508 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007711/0.57, allocations: 295.1 kB / 0.8438 GB, free: 8.219 MB / 0.67 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 (87): * Single equations (assignments): 84 * 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.003246/0.5732, allocations: 1.973 MB / 0.8457 GB, free: 6.402 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001445/0.5747, allocations: 0.7316 MB / 0.8464 GB, free: 5.66 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5747, allocations: 0 / 0.8464 GB, free: 5.66 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008627/0.5756, allocations: 0.4887 MB / 0.8469 GB, free: 5.16 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.5768, allocations: 280.2 kB / 0.8472 GB, free: 4.906 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009578/0.5864, allocations: 5.912 MB / 0.853 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005674/0.5869, allocations: 1.006 MB / 0.8539 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007223/0.5877, allocations: 250.2 kB / 0.8542 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000489/0.5882, allocations: 355.3 kB / 0.8545 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of SimCode: time 6.31e-07/0.5882, allocations: 4 kB / 0.8545 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3472/0.9354, allocations: 19.94 MB / 0.874 GB, free: 190.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/13.07, allocations: 9.703 kB / 0.874 GB, free: 190.2 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)