Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="BuildingSystems_BuildingSystems_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.0009981/0.0009981, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001106/0.001106, allocations: 197.4 kB / 16.26 MB, free: 6.621 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.254/1.254, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002088/0.002088, allocations: 286.8 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8753/0.8753, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 93.89 kB / 0.5948 GB, free: 28.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1288, allocations: 86.98 MB / 0.6797 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.00527/0.1341, allocations: 4.389 MB / 0.684 GB, free: 12.58 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.395/0.5291, allocations: 148.3 MB / 0.8289 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006825/0.5298, allocations: 19.53 kB / 0.8289 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005617/0.5304, allocations: 134.7 kB / 0.829 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001426/0.5319, allocations: 456.7 kB / 0.8295 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001627/0.5335, allocations: 0.7457 MB / 0.8302 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001281/0.5348, allocations: 1.319 MB / 0.8315 GB, free: 408 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008054/0.5356, allocations: 0.6933 MB / 0.8322 GB, free: 260 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005025/0.5361, allocations: 0.4939 MB / 0.8326 GB, free: 160 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004386/0.5366, allocations: 0.5253 MB / 0.8332 GB, free: 36 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001477/0.5368, allocations: 126.3 kB / 0.8333 GB, free: 36 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007006/0.5375, allocations: 468.6 kB / 0.8337 GB, free: 20 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002367/0.5377, allocations: 325.4 kB / 0.834 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004275/0.5381, allocations: 0.5836 MB / 0.8346 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.5394, allocations: 1.654 MB / 0.8362 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.5395, allocations: 1.156 kB / 0.8362 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5395, allocations: 0 / 0.8362 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.203e-05/0.5395, allocations: 0 / 0.8362 GB, free: 15.54 MB / 0.5762 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.0025/0.542, allocations: 1.489 MB / 0.8377 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.542, allocations: 8.594 kB / 0.8377 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001521/0.5422, allocations: 149.3 kB / 0.8378 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/0.5433, allocations: 213.1 kB / 0.838 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008968/0.5442, allocations: 0.7634 MB / 0.8388 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.045e-05/0.5443, allocations: 71.31 kB / 0.8388 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.5444, allocations: 89.19 kB / 0.8389 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/0.546, allocations: 1.008 MB / 0.8399 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.546, allocations: 0 / 0.8399 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.838e-05/0.5461, allocations: 41.03 kB / 0.84 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/0.5461, allocations: 22.06 kB / 0.84 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001782/0.5479, allocations: 1.18 MB / 0.8411 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003763/0.5517, allocations: 2.628 MB / 0.8437 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002331/0.554, allocations: 0.9671 MB / 0.8446 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005447/0.5546, allocations: 313.7 kB / 0.8449 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.512e-05/0.5547, allocations: 38.73 kB / 0.845 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008695/0.5555, allocations: 497.9 kB / 0.8454 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 2.024e-06/0.5556, allocations: 0 / 0.8454 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.003067/0.5586, allocations: 1.222 MB / 0.8466 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.413e-05/0.5587, allocations: 205.9 kB / 0.8468 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006742/0.5594, allocations: 0.6362 MB / 0.8475 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.525e-05/0.5595, allocations: 42.14 kB / 0.8475 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002757/0.5598, allocations: 422.1 kB / 0.8479 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001896/0.56, allocations: 267.6 kB / 0.8482 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002218/0.5602, allocations: 147.6 kB / 0.8483 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.5604, allocations: 386.5 kB / 0.8487 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000513/0.5609, allocations: 257.9 kB / 0.8489 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006041/0.5615, allocations: 370.2 kB / 0.8493 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.5626, allocations: 0.5975 MB / 0.8498 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.5626, allocations: 0 / 0.8498 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001862/0.5645, allocations: 0.8217 MB / 0.8506 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.5645, allocations: 9.281 kB / 0.8507 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.5645, allocations: 0 / 0.8507 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006083/0.5651, allocations: 88.64 kB / 0.8507 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006727/0.5658, allocations: 159.2 kB / 0.8509 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002017/0.5679, allocations: 1.624 MB / 0.8525 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006446/0.5685, allocations: 91.02 kB / 0.8526 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.391e-05/0.5686, allocations: 41.69 kB / 0.8526 GB, free: 5.859 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.00034/0.5689, allocations: 265 kB / 0.8529 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/0.5691, allocations: 83.31 kB / 0.8529 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002427/0.5715, allocations: 1.11 MB / 0.854 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.5715, allocations: 13.38 kB / 0.854 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.604e-06/0.5716, allocations: 0 / 0.854 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.5716, allocations: 3.984 kB / 0.854 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003137/0.5747, allocations: 2.014 MB / 0.856 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.5747, allocations: 0.875 kB / 0.856 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006076/0.5753, allocations: 152.9 kB / 0.8562 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004312/0.5758, allocations: 69.89 kB / 0.8562 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.828e-05/0.5759, allocations: 30.09 kB / 0.8562 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001785/0.5776, allocations: 1.667 MB / 0.8579 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5777, allocations: 0 / 0.8579 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001952/0.5796, allocations: 1.02 MB / 0.8589 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003081/0.5799, allocations: 275.6 kB / 0.8591 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.5801, allocations: 21.62 kB / 0.8592 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006853/0.5808, allocations: 68.42 kB / 0.8592 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.5809, allocations: 72.19 kB / 0.8593 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.791e-05/0.581, allocations: 38.16 kB / 0.8593 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004853/0.5815, allocations: 466.7 kB / 0.8598 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5815, allocations: 0 / 0.8598 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007582/0.5822, allocations: 324.1 kB / 0.8601 GB, free: 0.668 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.5856, allocations: 2.067 MB / 0.8621 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002222/0.5879, allocations: 1.025 MB / 0.8631 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5879, allocations: 0 / 0.8631 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009276/0.5888, allocations: 0.5359 MB / 0.8636 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.59, allocations: 298.5 kB / 0.8639 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.012/0.602, allocations: 7.18 MB / 0.8709 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005385/0.6026, allocations: 1.045 MB / 0.8719 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008207/0.6034, allocations: 267.2 kB / 0.8722 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005409/0.6039, allocations: 404.1 kB / 0.8726 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of SimCode: time 3.81e-07/0.6039, allocations: 0 / 0.8726 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04004/0.644, allocations: 21.42 MB / 0.8935 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/0.6442, allocations: 336.4 kB / 0.8938 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.437/3.081, allocations: 6.094 kB / 0.8938 GB, free: 3.805 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)