Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.000984/0.0009841, allocations: 111.3 kB / 16.41 MB, free: 6.488 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.0009556/0.0009555, allocations: 191.2 kB / 17.34 MB, free: 5.762 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.218/1.218, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7114/0.7114, allocations: 122.9 MB / 414.1 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001108, allocations: 62.08 kB / 0.5679 GB, free: 28.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1218, allocations: 77.93 MB / 0.644 GB, free: 9.566 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005494/0.1273, allocations: 4.771 MB / 0.6487 GB, free: 4.773 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4303/0.5577, allocations: 150.6 MB / 0.7958 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007169/0.5584, allocations: 15.88 kB / 0.7958 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005202/0.5589, allocations: 188.5 kB / 0.796 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001377/0.5604, allocations: 0.5422 MB / 0.7965 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001524/0.5619, allocations: 0.8274 MB / 0.7973 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009534/0.5629, allocations: 1.377 MB / 0.7986 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006524/0.5635, allocations: 0.5712 MB / 0.7992 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004292/0.564, allocations: 481.2 kB / 0.7997 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004053/0.5644, allocations: 0.4892 MB / 0.8001 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.5645, allocations: 113.7 kB / 0.8002 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006554/0.5651, allocations: 488.3 kB / 0.8007 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002108/0.5654, allocations: 294.5 kB / 0.801 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003691/0.5657, allocations: 0.5475 MB / 0.8015 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001368/0.5671, allocations: 1.62 MB / 0.8031 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.5671, allocations: 0 / 0.8031 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5671, allocations: 0 / 0.8031 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.195e-05/0.5672, allocations: 0 / 0.8031 GB, free: 11.62 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002094/0.5693, allocations: 1.452 MB / 0.8045 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.5693, allocations: 13.94 kB / 0.8045 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001323/0.5694, allocations: 138.1 kB / 0.8047 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000827/0.5703, allocations: 185.8 kB / 0.8048 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009721/0.5713, allocations: 0.766 MB / 0.8056 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.25e-05/0.5713, allocations: 58.78 kB / 0.8056 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.858e-05/0.5714, allocations: 81.78 kB / 0.8057 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.5727, allocations: 0.901 MB / 0.8066 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.5727, allocations: 4 kB / 0.8066 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.17e-05/0.5728, allocations: 35.84 kB / 0.8066 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.5728, allocations: 21.66 kB / 0.8067 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/0.5742, allocations: 1.097 MB / 0.8077 GB, free: 9.938 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00324/0.5775, allocations: 2.663 MB / 0.8103 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/0.5788, allocations: 0.8682 MB / 0.8112 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004678/0.5792, allocations: 301.5 kB / 0.8115 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.383e-05/0.5793, allocations: 28.08 kB / 0.8115 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007038/0.58, allocations: 498.5 kB / 0.812 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=79): time 1.964e-06/0.58, allocations: 0 / 0.812 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of matching and sorting (n=79): time 0.002762/0.5828, allocations: 1.184 MB / 0.8131 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.304e-05/0.5829, allocations: 190.7 kB / 0.8133 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006111/0.5835, allocations: 0.6199 MB / 0.8139 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.832e-05/0.5836, allocations: 43.64 kB / 0.814 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002504/0.5838, allocations: 400.7 kB / 0.8143 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001718/0.584, allocations: 269.6 kB / 0.8146 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001961/0.5842, allocations: 146.9 kB / 0.8147 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.5844, allocations: 387.7 kB / 0.8151 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004357/0.5848, allocations: 239.1 kB / 0.8153 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005252/0.5853, allocations: 361.3 kB / 0.8157 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009316/0.5863, allocations: 0.5711 MB / 0.8162 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.5863, allocations: 3.938 kB / 0.8162 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001636/0.5879, allocations: 0.7895 MB / 0.817 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.588, allocations: 7.469 kB / 0.817 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.588, allocations: 0 / 0.817 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005469/0.5885, allocations: 79.55 kB / 0.8171 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005572/0.5891, allocations: 150.3 kB / 0.8172 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/0.5909, allocations: 1.648 MB / 0.8188 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005899/0.5915, allocations: 89.28 kB / 0.8189 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.065e-05/0.5916, allocations: 25.58 kB / 0.819 GB, free: 3.16 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.0003084/0.5919, allocations: 266.1 kB / 0.8192 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.5921, allocations: 91.41 kB / 0.8193 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002092/0.5942, allocations: 1.055 MB / 0.8203 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.5942, allocations: 10.06 kB / 0.8203 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.5942, allocations: 1.969 kB / 0.8203 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.5942, allocations: 3.984 kB / 0.8203 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002776/0.597, allocations: 1.916 MB / 0.8222 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.597, allocations: 0 / 0.8222 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005129/0.5975, allocations: 139.8 kB / 0.8223 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000402/0.5979, allocations: 74.03 kB / 0.8224 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.868e-05/0.598, allocations: 24.08 kB / 0.8224 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001675/0.5997, allocations: 1.66 MB / 0.8241 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.5997, allocations: 7.156 kB / 0.8241 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/0.6014, allocations: 0.9794 MB / 0.825 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003297/0.6018, allocations: 279.9 kB / 0.8253 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.6019, allocations: 23.14 kB / 0.8253 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006208/0.6025, allocations: 62.81 kB / 0.8254 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.6026, allocations: 69.53 kB / 0.8254 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.114e-05/0.6027, allocations: 34.27 kB / 0.8255 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004779/0.6032, allocations: 454.5 kB / 0.8259 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6032, allocations: 0 / 0.8259 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000766/0.604, allocations: 314.8 kB / 0.8262 GB, free: 14.1 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003129/0.6071, allocations: 2.053 MB / 0.8282 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001441/0.6086, allocations: 0.7855 MB / 0.829 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.6086, allocations: 3.094 kB / 0.829 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008136/0.6094, allocations: 0.5138 MB / 0.8295 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.6105, allocations: 302.3 kB / 0.8298 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008548/0.6191, allocations: 6.153 MB / 0.8358 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005342/0.6196, allocations: 1.023 MB / 0.8368 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006868/0.6203, allocations: 254.6 kB / 0.837 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004982/0.6208, allocations: 379.2 kB / 0.8374 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of SimCode: time 4.21e-07/0.6209, allocations: 0 / 0.8374 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04501/0.6659, allocations: 21.31 MB / 0.8582 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.32, allocations: 3.859 kB / 0.8582 GB, free: 1.406 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)