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.001068/0.001068, allocations: 109.8 kB / 16.41 MB, free: 6.492 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.0009714/0.0009714, allocations: 189.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.245/1.245, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7155/0.7155, allocations: 122.9 MB / 414.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 58.97 kB / 0.5679 GB, free: 28.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1162, allocations: 77.94 MB / 0.644 GB, free: 9.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005622/0.1219, allocations: 4.898 MB / 0.6488 GB, free: 4.625 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4158/0.5378, allocations: 150.6 MB / 0.7959 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007034/0.5385, allocations: 19.28 kB / 0.796 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005184/0.5391, allocations: 192.8 kB / 0.7961 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001376/0.5405, allocations: 0.5565 MB / 0.7967 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.542, allocations: 0.8552 MB / 0.7975 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009933/0.543, allocations: 1.437 MB / 0.7989 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006772/0.5437, allocations: 0.5839 MB / 0.7995 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004451/0.5442, allocations: 0.5025 MB / 0.8 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004471/0.5446, allocations: 0.5193 MB / 0.8005 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001363/0.5448, allocations: 118.8 kB / 0.8006 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006362/0.5454, allocations: 487.1 kB / 0.8011 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002133/0.5456, allocations: 296.7 kB / 0.8014 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004038/0.546, allocations: 0.5825 MB / 0.8019 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001399/0.5474, allocations: 1.676 MB / 0.8036 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5475, allocations: 1.781 kB / 0.8036 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5475, allocations: 0 / 0.8036 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.336e-05/0.5475, allocations: 3.75 kB / 0.8036 GB, free: 11.59 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.002307/0.5498, allocations: 1.502 MB / 0.805 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.5498, allocations: 10.75 kB / 0.805 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000137/0.55, allocations: 136.2 kB / 0.8052 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008489/0.5508, allocations: 197.5 kB / 0.8054 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00099/0.5518, allocations: 0.7842 MB / 0.8061 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.13e-05/0.5519, allocations: 63.25 kB / 0.8062 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.965e-05/0.552, allocations: 79.81 kB / 0.8063 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.5533, allocations: 0.9496 MB / 0.8072 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.5534, allocations: 0 / 0.8072 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.378e-05/0.5535, allocations: 35.34 kB / 0.8072 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.5535, allocations: 20.75 kB / 0.8072 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001525/0.555, allocations: 1.129 MB / 0.8083 GB, free: 9.781 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.003371/0.5584, allocations: 2.726 MB / 0.811 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/0.5597, allocations: 0.9071 MB / 0.8119 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004733/0.5602, allocations: 319.5 kB / 0.8122 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.604e-05/0.5603, allocations: 31.09 kB / 0.8122 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007691/0.5611, allocations: 0.519 MB / 0.8127 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=84): time 2.114e-06/0.5611, allocations: 3.938 kB / 0.8127 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84): time 0.002909/0.564, allocations: 1.261 MB / 0.814 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.469e-05/0.5641, allocations: 192.4 kB / 0.8142 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006451/0.5647, allocations: 0.6374 MB / 0.8148 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.541e-05/0.5648, allocations: 42.58 kB / 0.8148 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002528/0.5651, allocations: 404.5 kB / 0.8152 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/0.5653, allocations: 285.4 kB / 0.8155 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002177/0.5655, allocations: 153.8 kB / 0.8156 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.5656, allocations: 390.7 kB / 0.816 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000468/0.5661, allocations: 258.3 kB / 0.8162 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005609/0.5667, allocations: 366.5 kB / 0.8166 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009946/0.5677, allocations: 0.6049 MB / 0.8172 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5677, allocations: 4 kB / 0.8172 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001732/0.5694, allocations: 0.8359 MB / 0.818 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.5695, allocations: 5.281 kB / 0.818 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.5695, allocations: 0 / 0.818 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005493/0.57, allocations: 89.42 kB / 0.8181 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006014/0.5706, allocations: 158.5 kB / 0.8182 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/0.5725, allocations: 1.635 MB / 0.8198 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006279/0.5731, allocations: 91.59 kB / 0.8199 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.619e-05/0.5732, allocations: 32.52 kB / 0.82 GB, free: 2.645 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.0003306/0.5736, allocations: 280.3 kB / 0.8202 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/0.5737, allocations: 88.41 kB / 0.8203 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002261/0.576, allocations: 1.135 MB / 0.8214 GB, free: 1.738 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.576, allocations: 15.56 kB / 0.8214 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.576, allocations: 2.438 kB / 0.8214 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.576, allocations: 3.984 kB / 0.8214 GB, free: 1.727 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002928/0.579, allocations: 2.018 MB / 0.8234 GB, free: 436 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.579, allocations: 0 / 0.8234 GB, free: 436 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005685/0.5795, allocations: 157.3 kB / 0.8236 GB, free: 396 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004183/0.58, allocations: 71.16 kB / 0.8236 GB, free: 360 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.456e-05/0.58, allocations: 23.48 kB / 0.8236 GB, free: 344 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00168/0.5817, allocations: 1.666 MB / 0.8253 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.5817, allocations: 2.781 kB / 0.8253 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001851/0.5836, allocations: 1.049 MB / 0.8263 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003473/0.584, allocations: 286.2 kB / 0.8266 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.5841, allocations: 24.75 kB / 0.8266 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006863/0.5848, allocations: 65.73 kB / 0.8267 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.5849, allocations: 76.05 kB / 0.8267 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.526e-05/0.585, allocations: 40.52 kB / 0.8268 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004889/0.5855, allocations: 466.8 kB / 0.8272 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5855, allocations: 0 / 0.8272 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007602/0.5863, allocations: 333.1 kB / 0.8275 GB, free: 13.4 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.003227/0.5895, allocations: 2.108 MB / 0.8296 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001476/0.591, allocations: 0.8296 MB / 0.8304 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.591, allocations: 0 / 0.8304 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008675/0.5919, allocations: 0.5482 MB / 0.8309 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.5931, allocations: 310.8 kB / 0.8312 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009015/0.6021, allocations: 6.397 MB / 0.8375 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005308/0.6026, allocations: 1.039 MB / 0.8385 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007474/0.6034, allocations: 270.9 kB / 0.8388 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005236/0.6039, allocations: 411.3 kB / 0.8391 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of SimCode: time 4.8e-07/0.6039, allocations: 3.938 kB / 0.8392 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04261/0.6465, allocations: 22.21 MB / 0.8608 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.27, allocations: 11.59 kB / 0.8609 GB, free: 14.78 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)