Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_10_Buildings_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.000856/0.0008561, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004707/0.004707, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.174/1.174, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.232/2.232, allocations: 437.8 MB / 0.7121 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002826/0.0002827, allocations: 15.98 kB / 0.8729 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5004/0.5007, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.00478/0.5055, allocations: 4.531 MB / 1.028 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1325/0.638, allocations: 146.7 MB / 1.171 GB, free: 8.004 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005791/0.6386, allocations: 11.94 kB / 1.171 GB, free: 7.992 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004608/0.6391, allocations: 150.8 kB / 1.171 GB, free: 7.844 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00131/0.6404, allocations: 485.3 kB / 1.171 GB, free: 7.371 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.6419, allocations: 0.7428 MB / 1.172 GB, free: 6.637 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00123/0.6431, allocations: 1.335 MB / 1.173 GB, free: 5.297 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007127/0.6438, allocations: 0.5597 MB / 1.174 GB, free: 4.719 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004946/0.6443, allocations: 378.2 kB / 1.174 GB, free: 4.348 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000466/0.6448, allocations: 405.8 kB / 1.175 GB, free: 3.949 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.972e-05/0.6449, allocations: 28 kB / 1.175 GB, free: 3.922 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006126/0.6455, allocations: 367.6 kB / 1.175 GB, free: 3.562 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001806/0.6457, allocations: 199 kB / 1.175 GB, free: 3.367 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003935/0.6461, allocations: 490.8 kB / 1.176 GB, free: 2.879 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001303/0.6474, allocations: 1.522 MB / 1.177 GB, free: 1.352 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.6474, allocations: 0 / 1.177 GB, free: 1.352 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6474, allocations: 7.938 kB / 1.177 GB, free: 1.344 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.943e-05/0.6475, allocations: 0 / 1.177 GB, free: 1.344 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002105/0.6496, allocations: 1.254 MB / 1.179 GB, free: 36 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.6496, allocations: 8.031 kB / 1.179 GB, free: 28 kB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001627/0.6498, allocations: 135.6 kB / 1.179 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008241/0.6506, allocations: 203.3 kB / 1.179 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009173/0.6515, allocations: 0.7544 MB / 1.18 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.757e-05/0.6516, allocations: 66 kB / 1.18 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.6517, allocations: 84 kB / 1.18 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.6531, allocations: 0.9496 MB / 1.181 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.6532, allocations: 4 kB / 1.181 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.847e-05/0.6532, allocations: 39.98 kB / 1.181 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.6533, allocations: 20 kB / 1.181 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001623/0.6549, allocations: 1.136 MB / 1.182 GB, free: 12.55 MB / 0.9356 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.003507/0.6584, allocations: 2.796 MB / 1.185 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/0.6598, allocations: 0.9202 MB / 1.185 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005078/0.6603, allocations: 326.7 kB / 1.186 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.498e-05/0.6604, allocations: 28.69 kB / 1.186 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007966/0.6612, allocations: 0.5197 MB / 1.186 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=85): time 1.763e-06/0.6612, allocations: 0 / 1.186 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of matching and sorting (n=85): time 0.002885/0.6641, allocations: 1.27 MB / 1.188 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.047e-05/0.6642, allocations: 204.8 kB / 1.188 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006636/0.6649, allocations: 0.6372 MB / 1.188 GB, free: 5.621 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.008e-05/0.6649, allocations: 41.7 kB / 1.188 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002576/0.6652, allocations: 404.4 kB / 1.189 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/0.6654, allocations: 268.1 kB / 1.189 GB, free: 4.906 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.487e-05/0.6655, allocations: 65.69 kB / 1.189 GB, free: 4.836 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.6656, allocations: 386.8 kB / 1.189 GB, free: 4.449 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004967/0.6661, allocations: 265.9 kB / 1.19 GB, free: 4.191 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005617/0.6667, allocations: 379.3 kB / 1.19 GB, free: 3.789 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.6677, allocations: 0.629 MB / 1.191 GB, free: 3.145 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.6677, allocations: 0 / 1.191 GB, free: 3.145 MB / 0.9356 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001688/0.6694, allocations: 0.8486 MB / 1.192 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.6695, allocations: 11.94 kB / 1.192 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.6695, allocations: 0 / 1.192 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005325/0.67, allocations: 84.89 kB / 1.192 GB, free: 2.191 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006069/0.6706, allocations: 171.7 kB / 1.192 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05594/0.7266, allocations: 1.528 MB / 1.193 GB, free: 360 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/0.7276, allocations: 104.7 kB / 1.193 GB, free: 256 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.748e-05/0.7277, allocations: 35.97 kB / 1.193 GB, free: 220 kB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (93): * Single equations (assignments): 92 * 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.0005143/0.7283, allocations: 265.8 kB / 1.194 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001749/0.7284, allocations: 90.95 kB / 1.194 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00314/0.7316, allocations: 1.148 MB / 1.195 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.7316, allocations: 8 kB / 1.195 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.7316, allocations: 3.938 kB / 1.195 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.7316, allocations: 7.969 kB / 1.195 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00289/0.7345, allocations: 2.039 MB / 1.197 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.7346, allocations: 0 / 1.197 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005651/0.7351, allocations: 163.7 kB / 1.197 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004731/0.7356, allocations: 80.78 kB / 1.197 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.626e-05/0.7357, allocations: 27.97 kB / 1.197 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001588/0.7373, allocations: 1.54 MB / 1.199 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.7373, allocations: 4.031 kB / 1.199 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001838/0.7391, allocations: 1.058 MB / 1.2 GB, free: 9.543 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003176/0.7394, allocations: 303.5 kB / 1.2 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.7396, allocations: 16 kB / 1.2 GB, free: 9.211 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006784/0.7402, allocations: 91.92 kB / 1.2 GB, free: 9.121 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.7404, allocations: 76.88 kB / 1.2 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.305e-05/0.7405, allocations: 39.98 kB / 1.2 GB, free: 9.008 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004901/0.741, allocations: 463 kB / 1.201 GB, free: 8.559 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.11e-07/0.741, allocations: 0 / 1.201 GB, free: 8.559 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006867/0.7417, allocations: 331.2 kB / 1.201 GB, free: 8.234 MB / 0.9512 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 (100): * Single equations (assignments): 93 * 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.00318/0.7448, allocations: 2.124 MB / 1.203 GB, free: 6.262 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001441/0.7463, allocations: 0.8471 MB / 1.204 GB, free: 5.406 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.7463, allocations: 3.984 kB / 1.204 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008644/0.7472, allocations: 0.547 MB / 1.204 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.7483, allocations: 280.5 kB / 1.205 GB, free: 4.578 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/0.7588, allocations: 7.094 MB / 1.212 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005396/0.7593, allocations: 1.039 MB / 1.213 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007334/0.7601, allocations: 270.9 kB / 1.213 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005185/0.7606, allocations: 403.2 kB / 1.213 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of SimCode: time 3e-07/0.7606, allocations: 0 / 1.213 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7739/1.534, allocations: 20.89 MB / 1.234 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002629/1.535, allocations: 318.2 kB / 1.234 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.221/3.756, allocations: 3.938 kB / 1.234 GB, free: 6.723 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)