Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_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.001287/0.001287, allocations: 108.5 kB / 16.41 MB, free: 6.508 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.001266/0.001267, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.332/1.332, 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.769/0.769, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 67.41 kB / 0.5735 GB, free: 27.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.126, allocations: 78.87 MB / 0.6505 GB, free: 3.645 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006507/0.1325, allocations: 4.916 MB / 0.6553 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4418/0.5743, allocations: 150.6 MB / 0.8024 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008111/0.5752, allocations: 14.66 kB / 0.8025 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000547/0.5758, allocations: 195.5 kB / 0.8026 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001504/0.5773, allocations: 0.5633 MB / 0.8032 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001684/0.579, allocations: 0.8471 MB / 0.804 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001387/0.5804, allocations: 1.425 MB / 0.8054 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007488/0.5812, allocations: 0.5925 MB / 0.806 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000587/0.5817, allocations: 0.4934 MB / 0.8065 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005258/0.5823, allocations: 0.5164 MB / 0.807 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001382/0.5824, allocations: 117.9 kB / 0.8071 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007729/0.5832, allocations: 498.7 kB / 0.8076 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002166/0.5834, allocations: 305.1 kB / 0.8079 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004184/0.5839, allocations: 0.5698 MB / 0.8084 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001524/0.5854, allocations: 1.665 MB / 0.81 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.5854, allocations: 0 / 0.81 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.887e-06/0.5854, allocations: 0 / 0.81 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.509e-05/0.5854, allocations: 3.938 kB / 0.81 GB, free: 10.93 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.00246/0.5879, allocations: 1.501 MB / 0.8115 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.5879, allocations: 14.5 kB / 0.8115 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001463/0.5881, allocations: 142.8 kB / 0.8117 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008707/0.589, allocations: 188.6 kB / 0.8118 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.59, allocations: 0.7842 MB / 0.8126 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.11e-05/0.5901, allocations: 64.25 kB / 0.8127 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.713e-05/0.5902, allocations: 83.44 kB / 0.8127 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001384/0.5916, allocations: 0.9418 MB / 0.8137 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.5916, allocations: 2.531 kB / 0.8137 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-05/0.5917, allocations: 39.08 kB / 0.8137 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.5917, allocations: 20.22 kB / 0.8137 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001567/0.5933, allocations: 1.125 MB / 0.8148 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003649/0.5969, allocations: 2.78 MB / 0.8175 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/0.5984, allocations: 0.9092 MB / 0.8184 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005215/0.599, allocations: 326.6 kB / 0.8187 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.43e-05/0.5991, allocations: 30.27 kB / 0.8188 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008415/0.5999, allocations: 0.5207 MB / 0.8193 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=84): time 2.295e-06/0.5999, allocations: 0 / 0.8193 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84): time 0.003084/0.603, allocations: 1.255 MB / 0.8205 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.6031, allocations: 199.7 kB / 0.8207 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007196/0.6039, allocations: 0.643 MB / 0.8213 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.768e-05/0.604, allocations: 40.14 kB / 0.8214 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003091/0.6043, allocations: 406.8 kB / 0.8217 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002211/0.6045, allocations: 278.3 kB / 0.822 GB, free: 3.887 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/0.6047, allocations: 156 kB / 0.8222 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.6049, allocations: 392 kB / 0.8225 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004828/0.6054, allocations: 254.3 kB / 0.8228 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005921/0.606, allocations: 372.6 kB / 0.8231 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.6071, allocations: 0.6052 MB / 0.8237 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.6071, allocations: 0 / 0.8237 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001792/0.6089, allocations: 0.8333 MB / 0.8245 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.6089, allocations: 7.5 kB / 0.8245 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.6089, allocations: 1.781 kB / 0.8245 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005725/0.6095, allocations: 90.17 kB / 0.8246 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006162/0.6101, allocations: 163 kB / 0.8248 GB, free: 2.215 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/0.6121, allocations: 1.621 MB / 0.8264 GB, free: 0.6211 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006907/0.6129, allocations: 92.08 kB / 0.8265 GB, free: 0.5625 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.025e-05/0.6129, allocations: 36.03 kB / 0.8265 GB, free: 0.5469 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: 18 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * 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.0004031/0.6133, allocations: 277.1 kB / 0.8268 GB, free: 336 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.6135, allocations: 88.31 kB / 0.8268 GB, free: 288 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002379/0.6159, allocations: 1.128 MB / 0.8279 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.6159, allocations: 14.28 kB / 0.8279 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.6159, allocations: 0 / 0.8279 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.6159, allocations: 11.97 kB / 0.828 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003107/0.619, allocations: 2.023 MB / 0.8299 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.6191, allocations: 5.969 kB / 0.8299 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005517/0.6196, allocations: 158.3 kB / 0.8301 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004268/0.6201, allocations: 74.72 kB / 0.8302 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.844e-05/0.6201, allocations: 22.83 kB / 0.8302 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/0.622, allocations: 1.658 MB / 0.8318 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.622, allocations: 0 / 0.8318 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001989/0.624, allocations: 1.057 MB / 0.8328 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003969/0.6244, allocations: 278.2 kB / 0.8331 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/0.6246, allocations: 27.77 kB / 0.8331 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006706/0.6252, allocations: 64.73 kB / 0.8332 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.6254, allocations: 76.17 kB / 0.8333 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-05/0.6255, allocations: 45.16 kB / 0.8333 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005705/0.6261, allocations: 465.8 kB / 0.8338 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6261, allocations: 0 / 0.8338 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008217/0.6269, allocations: 327.1 kB / 0.8341 GB, free: 11.3 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.004031/0.6309, allocations: 2.111 MB / 0.8361 GB, free: 10 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001614/0.6326, allocations: 0.8203 MB / 0.8369 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.6326, allocations: 3.031 kB / 0.8369 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000918/0.6335, allocations: 0.5433 MB / 0.8375 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/0.6348, allocations: 314.2 kB / 0.8378 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/0.6454, allocations: 6.403 MB / 0.844 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007127/0.6461, allocations: 1.028 MB / 0.845 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008654/0.647, allocations: 274.9 kB / 0.8453 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006048/0.6476, allocations: 409.6 kB / 0.8457 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of SimCode: time 6.91e-07/0.6476, allocations: 0 / 0.8457 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05761/0.7052, allocations: 22.22 MB / 0.8674 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/13.14, allocations: 18.08 kB / 0.8674 GB, free: 11.52 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.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_BaseClasses_Examples_ZenithAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)