Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",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.0009255/0.0009255, allocations: 105.9 kB / 16.27 MB, free: 5.953 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.000969/0.000969, allocations: 189.3 kB / 17.19 MB, free: 5.59 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.199/1.199, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6803/0.6803, allocations: 122.8 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.91 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2808, allocations: 77.92 MB / 0.5673 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005272/0.2861, allocations: 5.134 MB / 0.5723 GB, free: 29.03 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.131/0.4171, allocations: 150.7 MB / 0.7195 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009457/0.418, allocations: 15.94 kB / 0.7195 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006615/0.4187, allocations: 214 kB / 0.7197 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001918/0.4207, allocations: 0.5567 MB / 0.7202 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001907/0.4226, allocations: 0.8554 MB / 0.721 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001446/0.424, allocations: 1.448 MB / 0.7225 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000849/0.4249, allocations: 0.6614 MB / 0.7231 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006045/0.4255, allocations: 0.5139 MB / 0.7236 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006019/0.4261, allocations: 0.5524 MB / 0.7241 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.00019/0.4263, allocations: 131.9 kB / 0.7243 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007614/0.4271, allocations: 467.7 kB / 0.7247 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002507/0.4274, allocations: 322.9 kB / 0.725 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005057/0.4279, allocations: 0.6142 MB / 0.7256 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001521/0.4294, allocations: 1.721 MB / 0.7273 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.4294, allocations: 0 / 0.7273 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4294, allocations: 0 / 0.7273 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.54e-05/0.4295, allocations: 0 / 0.7273 GB, free: 6.293 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002441/0.4319, allocations: 1.506 MB / 0.7288 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.4319, allocations: 8.625 kB / 0.7288 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001482/0.4321, allocations: 148.3 kB / 0.7289 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001569/0.4337, allocations: 315.1 kB / 0.7292 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008954/0.4346, allocations: 0.7692 MB / 0.73 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.381e-05/0.4346, allocations: 70 kB / 0.73 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.4348, allocations: 92 kB / 0.7301 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/0.4365, allocations: 1.074 MB / 0.7312 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.4365, allocations: 4 kB / 0.7312 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-05/0.4366, allocations: 43.94 kB / 0.7312 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.4366, allocations: 24 kB / 0.7313 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002117/0.4387, allocations: 1.268 MB / 0.7325 GB, free: 0.8477 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.003898/0.4426, allocations: 2.99 MB / 0.7354 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002396/0.445, allocations: 1.024 MB / 0.7364 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007296/0.4458, allocations: 366.6 kB / 0.7368 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.387e-05/0.4459, allocations: 34.48 kB / 0.7368 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009902/0.4469, allocations: 0.5549 MB / 0.7373 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=84): time 1.944e-06/0.4469, allocations: 0 / 0.7373 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84): time 0.00361/0.4505, allocations: 1.391 MB / 0.7387 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.484e-05/0.4506, allocations: 196.9 kB / 0.7389 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006567/0.4512, allocations: 0.6333 MB / 0.7395 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.788e-05/0.4513, allocations: 41.7 kB / 0.7395 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002582/0.4516, allocations: 436.1 kB / 0.74 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001733/0.4517, allocations: 264.1 kB / 0.7402 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/0.452, allocations: 154.6 kB / 0.7404 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.4521, allocations: 394.8 kB / 0.7407 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007048/0.4528, allocations: 305.7 kB / 0.741 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007994/0.4536, allocations: 418.5 kB / 0.7414 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.4551, allocations: 0.6906 MB / 0.7421 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4551, allocations: 0 / 0.7421 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00218/0.4573, allocations: 0.9228 MB / 0.743 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.4573, allocations: 8.094 kB / 0.743 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4573, allocations: 3.938 kB / 0.743 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005565/0.4579, allocations: 84.77 kB / 0.7431 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007325/0.4586, allocations: 175.8 kB / 0.7433 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0018/0.4604, allocations: 1.627 MB / 0.7448 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007369/0.4612, allocations: 113.4 kB / 0.745 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-05/0.4613, allocations: 31.98 kB / 0.745 GB, free: 3.57 MB / 0.5762 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 (90): * Single equations (assignments): 89 * 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.0003351/0.4616, allocations: 281.7 kB / 0.7453 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.4617, allocations: 86.97 kB / 0.7453 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002791/0.4645, allocations: 1.206 MB / 0.7465 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.4646, allocations: 8 kB / 0.7465 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.4646, allocations: 4 kB / 0.7465 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.4646, allocations: 3.984 kB / 0.7465 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2047/0.6693, allocations: 2.143 MB / 0.7486 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.6693, allocations: 2.5 kB / 0.7486 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007936/0.6701, allocations: 170.4 kB / 0.7488 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004325/0.6705, allocations: 74.53 kB / 0.7489 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.631e-05/0.6706, allocations: 29.02 kB / 0.7489 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001526/0.6721, allocations: 1.661 MB / 0.7505 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6722, allocations: 0.75 kB / 0.7505 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002419/0.6746, allocations: 1.118 MB / 0.7516 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003425/0.6749, allocations: 280.9 kB / 0.7519 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.6751, allocations: 23.7 kB / 0.7519 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007874/0.6759, allocations: 82.81 kB / 0.752 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.676, allocations: 79.77 kB / 0.752 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.229e-05/0.6761, allocations: 36.66 kB / 0.7521 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005511/0.6767, allocations: 474 kB / 0.7525 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6767, allocations: 0.75 kB / 0.7525 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008124/0.6775, allocations: 340.8 kB / 0.7529 GB, free: 168.6 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: 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 (97): * Single equations (assignments): 91 * 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.003598/0.6811, allocations: 2.181 MB / 0.755 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002833/0.6839, allocations: 1.125 MB / 0.7561 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.6839, allocations: 0 / 0.7561 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.685, allocations: 0.5844 MB / 0.7567 GB, free: 167 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.6862, allocations: 304.4 kB / 0.7569 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/0.6964, allocations: 6.976 MB / 0.7638 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005093/0.6969, allocations: 1.049 MB / 0.7648 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008955/0.6978, allocations: 279.6 kB / 0.7651 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004804/0.6983, allocations: 420.6 kB / 0.7655 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of SimCode: time 5.21e-07/0.6983, allocations: 0 / 0.7655 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03892/0.7372, allocations: 22.41 MB / 0.7873 GB, free: 147 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.42/11.15, allocations: 7.375 kB / 0.7873 GB, free: 147 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)