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.001175/0.001175, allocations: 104.8 kB / 16.27 MB, free: 6.316 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.001251/0.001251, allocations: 188.1 kB / 17.19 MB, free: 5.93 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.206/1.206, 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.6809/0.6809, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 59.91 kB / 0.4912 GB, free: 7.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2677, allocations: 77.93 MB / 0.5673 GB, free: 32.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005063/0.2728, allocations: 5.14 MB / 0.5723 GB, free: 28.92 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1266/0.3994, allocations: 150.7 MB / 0.7195 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009662/0.4004, allocations: 15.94 kB / 0.7195 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006643/0.4011, allocations: 210 kB / 0.7197 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001853/0.403, allocations: 0.5694 MB / 0.7202 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001959/0.405, allocations: 0.8494 MB / 0.7211 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00144/0.4064, allocations: 1.436 MB / 0.7225 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008407/0.4073, allocations: 0.6731 MB / 0.7231 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006326/0.4079, allocations: 0.5139 MB / 0.7236 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006315/0.4086, allocations: 0.5485 MB / 0.7242 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000187/0.4088, allocations: 131.9 kB / 0.7243 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007727/0.4095, allocations: 471.7 kB / 0.7247 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002578/0.4098, allocations: 322.9 kB / 0.725 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005018/0.4103, allocations: 0.6181 MB / 0.7256 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001566/0.4119, allocations: 1.717 MB / 0.7273 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.4119, allocations: 0 / 0.7273 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4119, allocations: 0 / 0.7273 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.106e-05/0.4119, allocations: 0 / 0.7273 GB, free: 6.371 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.002412/0.4144, allocations: 1.502 MB / 0.7288 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.4144, allocations: 12.62 kB / 0.7288 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00015/0.4146, allocations: 152.3 kB / 0.7289 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001584/0.4161, allocations: 307.1 kB / 0.7292 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000938/0.4171, allocations: 0.7692 MB / 0.73 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.486e-05/0.4172, allocations: 74 kB / 0.7301 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.4173, allocations: 92 kB / 0.7301 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00171/0.419, allocations: 1.07 MB / 0.7312 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.419, allocations: 4 kB / 0.7312 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-05/0.4191, allocations: 47.92 kB / 0.7312 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.4191, allocations: 24 kB / 0.7313 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002138/0.4213, allocations: 1.268 MB / 0.7325 GB, free: 0.9258 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.003996/0.4253, allocations: 2.983 MB / 0.7354 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002471/0.4278, allocations: 1.028 MB / 0.7364 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007284/0.4285, allocations: 366.6 kB / 0.7368 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.349e-05/0.4286, allocations: 32.61 kB / 0.7368 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001005/0.4296, allocations: 0.5567 MB / 0.7373 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=84): time 1.914e-06/0.4296, allocations: 0 / 0.7373 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84): time 0.003626/0.4332, allocations: 1.38 MB / 0.7387 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.131e-05/0.4333, allocations: 196.9 kB / 0.7389 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006653/0.434, allocations: 0.6333 MB / 0.7395 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.086e-05/0.4341, allocations: 45.69 kB / 0.7395 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/0.4344, allocations: 440.1 kB / 0.74 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001875/0.4345, allocations: 264.1 kB / 0.7402 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002121/0.4348, allocations: 150.6 kB / 0.7404 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.4349, allocations: 394.7 kB / 0.7407 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007035/0.4356, allocations: 309.7 kB / 0.741 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007767/0.4364, allocations: 422.5 kB / 0.7414 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/0.4379, allocations: 0.6906 MB / 0.7421 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.4379, allocations: 0 / 0.7421 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002183/0.4401, allocations: 0.9189 MB / 0.743 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.4401, allocations: 4 kB / 0.743 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4401, allocations: 3.938 kB / 0.743 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005686/0.4407, allocations: 92.83 kB / 0.7431 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007264/0.4414, allocations: 179.8 kB / 0.7433 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001789/0.4432, allocations: 1.632 MB / 0.7449 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007178/0.4439, allocations: 107.3 kB / 0.745 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.105e-05/0.444, allocations: 31.98 kB / 0.745 GB, free: 3.645 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.000325/0.4443, allocations: 277.7 kB / 0.7453 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/0.4445, allocations: 90.95 kB / 0.7453 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002718/0.4472, allocations: 1.206 MB / 0.7465 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.4472, allocations: 8 kB / 0.7465 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.4472, allocations: 0 / 0.7465 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.4473, allocations: 7.984 kB / 0.7465 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2023/0.6496, allocations: 2.139 MB / 0.7486 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.6496, allocations: 0.9062 kB / 0.7486 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008155/0.6505, allocations: 173.6 kB / 0.7488 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004198/0.6509, allocations: 77.2 kB / 0.7489 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.977e-05/0.651, allocations: 26.78 kB / 0.7489 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001491/0.6525, allocations: 1.662 MB / 0.7505 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.6525, allocations: 0 / 0.7505 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002399/0.6549, allocations: 1.117 MB / 0.7516 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003326/0.6552, allocations: 279.3 kB / 0.7519 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.6554, allocations: 24.09 kB / 0.7519 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007653/0.6561, allocations: 82.58 kB / 0.752 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.6563, allocations: 78.83 kB / 0.752 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.302e-05/0.6564, allocations: 37.44 kB / 0.7521 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005434/0.6569, allocations: 473 kB / 0.7525 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6569, allocations: 0 / 0.7525 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008347/0.6578, allocations: 343 kB / 0.7529 GB, free: 168.5 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.003509/0.6613, allocations: 2.177 MB / 0.755 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002788/0.6641, allocations: 1.126 MB / 0.7561 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.6641, allocations: 0 / 0.7561 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001052/0.6652, allocations: 0.5831 MB / 0.7567 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.6663, allocations: 308.6 kB / 0.757 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009842/0.6761, allocations: 6.978 MB / 0.7638 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004584/0.6766, allocations: 1.048 MB / 0.7648 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008368/0.6774, allocations: 277.4 kB / 0.7651 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004694/0.6779, allocations: 420.6 kB / 0.7655 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of SimCode: time 4.4e-07/0.6779, allocations: 1.281 kB / 0.7655 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.782/5.46, allocations: 22.39 MB / 0.7873 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.77/21.23, allocations: 6.438 kB / 0.7873 GB, free: 147.2 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)