Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.RelativeAirMass,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",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.001195/0.001195, allocations: 103.8 kB / 16.27 MB, free: 6.41 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.00119/0.00119, allocations: 184.6 kB / 17.2 MB, free: 5.953 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.18/1.18, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6819/0.6819, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 63.88 kB / 0.4912 GB, free: 7.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.273, allocations: 77.92 MB / 0.5673 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005087/0.2781, allocations: 5.1 MB / 0.5723 GB, free: 29.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.136/0.4141, allocations: 150.7 MB / 0.7194 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009146/0.415, allocations: 19.88 kB / 0.7194 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006563/0.4157, allocations: 202.1 kB / 0.7196 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001859/0.4176, allocations: 0.5632 MB / 0.7202 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001941/0.4196, allocations: 0.8443 MB / 0.721 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00139/0.421, allocations: 1.425 MB / 0.7224 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008426/0.4218, allocations: 0.6521 MB / 0.723 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006098/0.4225, allocations: 0.5139 MB / 0.7235 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006201/0.4231, allocations: 0.5446 MB / 0.7241 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000198/0.4233, allocations: 124 kB / 0.7242 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007857/0.4241, allocations: 467.6 kB / 0.7246 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002746/0.4244, allocations: 323 kB / 0.7249 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005292/0.4249, allocations: 0.6064 MB / 0.7255 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001626/0.4265, allocations: 1.694 MB / 0.7272 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.4265, allocations: 0 / 0.7272 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.302e-06/0.4266, allocations: 0 / 0.7272 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.201e-05/0.4266, allocations: 4 kB / 0.7272 GB, free: 6.488 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.00251/0.4291, allocations: 1.5 MB / 0.7286 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.4292, allocations: 12.62 kB / 0.7287 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001815/0.4293, allocations: 152.1 kB / 0.7288 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/0.4304, allocations: 215.3 kB / 0.729 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.4315, allocations: 0.7653 MB / 0.7298 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.948e-05/0.4315, allocations: 70 kB / 0.7298 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.4317, allocations: 92 kB / 0.7299 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001576/0.4332, allocations: 1.003 MB / 0.7309 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.4333, allocations: 7.922 kB / 0.7309 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.527e-05/0.4334, allocations: 44 kB / 0.7309 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.025e-05/0.4334, allocations: 24 kB / 0.731 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001801/0.4352, allocations: 1.163 MB / 0.7321 GB, free: 1.312 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.003934/0.4391, allocations: 2.887 MB / 0.7349 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002235/0.4414, allocations: 0.9747 MB / 0.7359 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005407/0.4419, allocations: 314.7 kB / 0.7362 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.602e-05/0.442, allocations: 28.61 kB / 0.7362 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000831/0.4429, allocations: 0.5069 MB / 0.7367 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 1.914e-06/0.4429, allocations: 0 / 0.7367 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.003082/0.446, allocations: 1.233 MB / 0.7379 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.622e-05/0.4461, allocations: 192.6 kB / 0.7381 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007009/0.4468, allocations: 0.6449 MB / 0.7387 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.859e-05/0.4468, allocations: 41.7 kB / 0.7387 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002776/0.4471, allocations: 424.2 kB / 0.7391 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/0.4473, allocations: 260.2 kB / 0.7394 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002196/0.4475, allocations: 154.5 kB / 0.7395 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.4477, allocations: 386.8 kB / 0.7399 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005061/0.4482, allocations: 253.9 kB / 0.7402 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005891/0.4488, allocations: 366.5 kB / 0.7405 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.4499, allocations: 0.6033 MB / 0.7411 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.4499, allocations: 4 kB / 0.7411 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001808/0.4517, allocations: 0.8291 MB / 0.7419 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.4518, allocations: 8.094 kB / 0.7419 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4518, allocations: 0 / 0.7419 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005581/0.4523, allocations: 84.77 kB / 0.742 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006019/0.4529, allocations: 155.8 kB / 0.7421 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/0.4548, allocations: 1.631 MB / 0.7437 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006361/0.4555, allocations: 109.3 kB / 0.7438 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.406e-05/0.4556, allocations: 31.98 kB / 0.7439 GB, free: 4.77 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 (88): * Single equations (assignments): 87 * 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.0003398/0.4559, allocations: 277.9 kB / 0.7441 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.4561, allocations: 82.97 kB / 0.7442 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002349/0.4584, allocations: 1.097 MB / 0.7453 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.4584, allocations: 8 kB / 0.7453 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.4584, allocations: 0 / 0.7453 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.4585, allocations: 11.98 kB / 0.7453 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003038/0.4615, allocations: 2 MB / 0.7473 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.4615, allocations: 0 / 0.7473 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005797/0.4621, allocations: 151.8 kB / 0.7474 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004229/0.4625, allocations: 72.78 kB / 0.7475 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.597e-05/0.4626, allocations: 27.97 kB / 0.7475 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1982/0.6608, allocations: 1.652 MB / 0.7491 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.6609, allocations: 2.844 kB / 0.7491 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002422/0.6633, allocations: 1.022 MB / 0.7501 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004182/0.6637, allocations: 274.1 kB / 0.7504 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/0.6639, allocations: 21.56 kB / 0.7504 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007203/0.6646, allocations: 66.56 kB / 0.7505 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.6648, allocations: 78.03 kB / 0.7505 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.592e-05/0.6649, allocations: 37.58 kB / 0.7506 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006302/0.6655, allocations: 468.9 kB / 0.751 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6655, allocations: 0 / 0.751 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008907/0.6664, allocations: 337.6 kB / 0.7513 GB, free: 169.3 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 (94): * Single equations (assignments): 88 * 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.00339/0.6698, allocations: 2.073 MB / 0.7534 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002309/0.6721, allocations: 1.035 MB / 0.7544 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.6722, allocations: 1.094 kB / 0.7544 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.6732, allocations: 0.539 MB / 0.7549 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.6744, allocations: 295.7 kB / 0.7552 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009219/0.6837, allocations: 6.659 MB / 0.7617 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004889/0.6842, allocations: 1.054 MB / 0.7627 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00081/0.685, allocations: 268.4 kB / 0.763 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004823/0.6855, allocations: 404.7 kB / 0.7634 GB, free: 163 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.6855, allocations: 0 / 0.7634 GB, free: 163 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.876/6.561, allocations: 22.01 MB / 0.7848 GB, free: 149.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.52/20.08, allocations: 6.359 kB / 0.7849 GB, free: 149.3 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)