Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.001256/0.001257, allocations: 108.5 kB / 16.4 MB, free: 6.457 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.001162/0.001162, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7773/0.7773, allocations: 126.7 MB / 417.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 64.17 kB / 0.5735 GB, free: 27.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1319, allocations: 78.86 MB / 0.6505 GB, free: 3.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.00614/0.138, allocations: 4.811 MB / 0.6552 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4594/0.5974, allocations: 150.6 MB / 0.8023 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007376/0.5982, allocations: 18.5 kB / 0.8023 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000508/0.5988, allocations: 185.6 kB / 0.8025 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001405/0.6002, allocations: 0.5404 MB / 0.803 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001544/0.6017, allocations: 0.8364 MB / 0.8038 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001147/0.6029, allocations: 1.388 MB / 0.8052 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007404/0.6036, allocations: 0.5937 MB / 0.8058 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004708/0.6041, allocations: 478 kB / 0.8062 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004781/0.6046, allocations: 0.5008 MB / 0.8067 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001262/0.6047, allocations: 117.2 kB / 0.8068 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007145/0.6055, allocations: 496.4 kB / 0.8073 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002132/0.6057, allocations: 293.8 kB / 0.8076 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000388/0.6061, allocations: 0.5566 MB / 0.8081 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001469/0.6076, allocations: 1.654 MB / 0.8097 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.6076, allocations: 0 / 0.8097 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6076, allocations: 0 / 0.8097 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.258e-05/0.6076, allocations: 0 / 0.8097 GB, free: 10.97 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002305/0.6099, allocations: 1.467 MB / 0.8112 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.61, allocations: 9.969 kB / 0.8112 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001412/0.6101, allocations: 135.9 kB / 0.8113 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008557/0.611, allocations: 190.3 kB / 0.8115 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.612, allocations: 0.7677 MB / 0.8122 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.321e-05/0.6121, allocations: 63.69 kB / 0.8123 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.617e-05/0.6122, allocations: 81.11 kB / 0.8124 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.6135, allocations: 0.9196 MB / 0.8133 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.6136, allocations: 0 / 0.8133 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.31e-05/0.6137, allocations: 40.69 kB / 0.8133 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.6137, allocations: 20.03 kB / 0.8133 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/0.6152, allocations: 1.108 MB / 0.8144 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003641/0.6189, allocations: 2.761 MB / 0.8171 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/0.6205, allocations: 0.8921 MB / 0.818 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000526/0.621, allocations: 306 kB / 0.8183 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.762e-05/0.6211, allocations: 36.02 kB / 0.8183 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008198/0.6219, allocations: 0.4907 MB / 0.8188 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=79): time 2.094e-06/0.6219, allocations: 0 / 0.8188 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of matching and sorting (n=79): time 0.002993/0.6249, allocations: 1.194 MB / 0.8199 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.6251, allocations: 190 kB / 0.8201 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007711/0.6258, allocations: 0.6221 MB / 0.8207 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.57e-05/0.6259, allocations: 46.52 kB / 0.8208 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003317/0.6263, allocations: 401.3 kB / 0.8212 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002182/0.6265, allocations: 273.5 kB / 0.8214 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/0.6267, allocations: 147 kB / 0.8216 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.6269, allocations: 388 kB / 0.8219 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004718/0.6274, allocations: 245.6 kB / 0.8222 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005808/0.628, allocations: 356.9 kB / 0.8225 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.629, allocations: 0.5798 MB / 0.8231 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.629, allocations: 0.75 kB / 0.8231 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001781/0.6308, allocations: 0.8037 MB / 0.8239 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.6308, allocations: 10.78 kB / 0.8239 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.6308, allocations: 2.812 kB / 0.8239 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005754/0.6314, allocations: 79.34 kB / 0.8239 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005751/0.632, allocations: 153.9 kB / 0.8241 GB, free: 2.543 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00208/0.6341, allocations: 1.651 MB / 0.8257 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006648/0.6348, allocations: 91.11 kB / 0.8258 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.638e-05/0.6348, allocations: 32.09 kB / 0.8258 GB, free: 0.8516 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.0004337/0.6353, allocations: 262.7 kB / 0.8261 GB, free: 0.6445 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.6354, allocations: 87.77 kB / 0.8262 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002231/0.6377, allocations: 1.066 MB / 0.8272 GB, free: 16 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.6377, allocations: 10 kB / 0.8272 GB, free: 16 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.6377, allocations: 3.938 kB / 0.8272 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.6377, allocations: 3.984 kB / 0.8272 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003047/0.6408, allocations: 1.956 MB / 0.8291 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.6408, allocations: 0 / 0.8291 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000521/0.6413, allocations: 147.2 kB / 0.8293 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004277/0.6418, allocations: 71.84 kB / 0.8293 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.229e-05/0.6418, allocations: 26.36 kB / 0.8294 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001885/0.6437, allocations: 1.677 MB / 0.831 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.6437, allocations: 64 / 0.831 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001936/0.6457, allocations: 0.9991 MB / 0.832 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003725/0.646, allocations: 280.1 kB / 0.8322 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.6462, allocations: 24.62 kB / 0.8323 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000616/0.6468, allocations: 68.58 kB / 0.8323 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.6469, allocations: 65.72 kB / 0.8324 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.587e-05/0.647, allocations: 38.97 kB / 0.8324 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005381/0.6476, allocations: 450 kB / 0.8329 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6476, allocations: 1.125 kB / 0.8329 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008048/0.6484, allocations: 318.9 kB / 0.8332 GB, free: 11.72 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.003826/0.6522, allocations: 2.05 MB / 0.8352 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001563/0.6538, allocations: 0.7965 MB / 0.8359 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.6538, allocations: 0 / 0.8359 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008498/0.6547, allocations: 0.5184 MB / 0.8364 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.6559, allocations: 296.5 kB / 0.8367 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009641/0.6655, allocations: 6.209 MB / 0.8428 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006454/0.6662, allocations: 1.015 MB / 0.8438 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007918/0.667, allocations: 270.6 kB / 0.844 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005206/0.6675, allocations: 371.2 kB / 0.8444 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of SimCode: time 3.9e-07/0.6675, allocations: 0 / 0.8444 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0534/0.721, allocations: 21.57 MB / 0.8655 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/13.07, allocations: 8.047 kB / 0.8655 GB, free: 13.35 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.csv --start-time 100000 --stop-time 300000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 80 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)