Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.AltitudeAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IBPSA_latest_IBPSA_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.001305/0.001305, allocations: 102.9 kB / 16.27 MB, free: 5.93 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.001304/0.001304, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.184/1.184, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6967/0.6967, allocations: 122.9 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 67.88 kB / 0.4912 GB, free: 7.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2794, allocations: 77.93 MB / 0.5673 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004997/0.2845, allocations: 4.918 MB / 0.5721 GB, free: 29.19 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1366/0.4211, allocations: 150.6 MB / 0.7192 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009709/0.4221, allocations: 19.88 kB / 0.7192 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000709/0.4228, allocations: 198.1 kB / 0.7194 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001972/0.4249, allocations: 0.5586 MB / 0.72 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002013/0.4269, allocations: 0.8467 MB / 0.7208 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001562/0.4285, allocations: 1.425 MB / 0.7222 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008632/0.4294, allocations: 0.5873 MB / 0.7227 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007624/0.4301, allocations: 0.4944 MB / 0.7232 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007329/0.4309, allocations: 0.5251 MB / 0.7237 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002597/0.4311, allocations: 116 kB / 0.7239 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009385/0.4321, allocations: 463.6 kB / 0.7243 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003369/0.4324, allocations: 307 kB / 0.7246 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006128/0.4331, allocations: 0.5752 MB / 0.7252 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00179/0.4349, allocations: 1.624 MB / 0.7267 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.4349, allocations: 8 kB / 0.7267 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4349, allocations: 0 / 0.7267 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.418e-05/0.4349, allocations: 0 / 0.7267 GB, free: 6.945 MB / 0.5606 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.002883/0.4378, allocations: 1.468 MB / 0.7282 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.4379, allocations: 12.03 kB / 0.7282 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000182/0.438, allocations: 135.6 kB / 0.7283 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009256/0.439, allocations: 199.3 kB / 0.7285 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.44, allocations: 0.7582 MB / 0.7292 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.237e-05/0.4401, allocations: 65.98 kB / 0.7293 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.957e-05/0.4402, allocations: 84 kB / 0.7294 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.4416, allocations: 0.9457 MB / 0.7303 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.4417, allocations: 0 / 0.7303 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.97e-05/0.4418, allocations: 36 kB / 0.7304 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/0.4418, allocations: 28 kB / 0.7304 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001674/0.4435, allocations: 1.124 MB / 0.7315 GB, free: 1.957 MB / 0.5606 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.003744/0.4472, allocations: 2.767 MB / 0.7342 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00152/0.4487, allocations: 0.911 MB / 0.7351 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000522/0.4493, allocations: 314.7 kB / 0.7354 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.248e-05/0.4494, allocations: 36.67 kB / 0.7354 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008247/0.4502, allocations: 0.5159 MB / 0.7359 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=85): time 2.394e-06/0.4502, allocations: 0 / 0.7359 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85): time 0.003082/0.4533, allocations: 1.255 MB / 0.7371 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.372e-05/0.4534, allocations: 196.8 kB / 0.7373 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007448/0.4541, allocations: 0.641 MB / 0.7379 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.037e-05/0.4542, allocations: 45.64 kB / 0.738 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002915/0.4545, allocations: 404.4 kB / 0.7384 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002054/0.4547, allocations: 276.1 kB / 0.7386 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002317/0.455, allocations: 154.5 kB / 0.7388 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.4551, allocations: 386.8 kB / 0.7392 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005028/0.4556, allocations: 253.9 kB / 0.7394 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005955/0.4562, allocations: 383.3 kB / 0.7398 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.4573, allocations: 0.6133 MB / 0.7404 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.4573, allocations: 0 / 0.7404 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001839/0.4592, allocations: 0.837 MB / 0.7412 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.4592, allocations: 7.938 kB / 0.7412 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.4592, allocations: 4 kB / 0.7412 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000567/0.4598, allocations: 76.91 kB / 0.7413 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006133/0.4604, allocations: 163.8 kB / 0.7414 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001946/0.4624, allocations: 1.626 MB / 0.743 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006344/0.463, allocations: 97.58 kB / 0.7431 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.997e-05/0.4631, allocations: 35.91 kB / 0.7431 GB, free: 5.543 MB / 0.5762 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.0003284/0.4634, allocations: 273.4 kB / 0.7434 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.4636, allocations: 86.88 kB / 0.7435 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002374/0.466, allocations: 1.148 MB / 0.7446 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.466, allocations: 11.98 kB / 0.7446 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.466, allocations: 0 / 0.7446 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.466, allocations: 3.984 kB / 0.7446 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003008/0.469, allocations: 2.029 MB / 0.7466 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.469, allocations: 0 / 0.7466 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005686/0.4696, allocations: 155.8 kB / 0.7467 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004346/0.4701, allocations: 80.72 kB / 0.7468 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.612e-05/0.4701, allocations: 27.97 kB / 0.7468 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1878/0.658, allocations: 1.658 MB / 0.7485 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.658, allocations: 0.6094 kB / 0.7485 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002244/0.6603, allocations: 1.046 MB / 0.7495 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003343/0.6606, allocations: 281.8 kB / 0.7498 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.6607, allocations: 22.88 kB / 0.7498 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006858/0.6614, allocations: 69.88 kB / 0.7498 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/0.6616, allocations: 78.06 kB / 0.7499 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.663e-05/0.6617, allocations: 42.36 kB / 0.75 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005501/0.6622, allocations: 469 kB / 0.7504 GB, free: 170 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.91e-07/0.6623, allocations: 0 / 0.7504 GB, free: 170 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007971/0.6631, allocations: 333.4 kB / 0.7507 GB, free: 170 MB / 0.5762 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.003162/0.6662, allocations: 2.103 MB / 0.7528 GB, free: 169 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002262/0.6685, allocations: 1.052 MB / 0.7538 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.6685, allocations: 1.281 kB / 0.7538 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009783/0.6695, allocations: 0.5476 MB / 0.7543 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.6707, allocations: 301.7 kB / 0.7546 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008694/0.6794, allocations: 6.646 MB / 0.7611 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004826/0.6799, allocations: 1.031 MB / 0.7621 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007837/0.6807, allocations: 273 kB / 0.7624 GB, free: 164 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004402/0.6811, allocations: 400.4 kB / 0.7628 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.6811, allocations: 0 / 0.7628 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04/0.7211, allocations: 22.02 MB / 0.7843 GB, free: 150 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/11.16, allocations: 10.36 kB / 0.7843 GB, free: 150 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_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_AltitudeAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)