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.001354/0.001354, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 197.4 kB / 16.54 MB, free: 6.672 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.28/1.28, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002087/0.002087, allocations: 282.9 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8987/0.8987, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 94.62 kB / 0.5953 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1347, allocations: 86.97 MB / 0.6803 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005776/0.1405, allocations: 4.38 MB / 0.6846 GB, free: 12.22 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4147/0.5552, allocations: 150.6 MB / 0.8316 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005889/0.5558, allocations: 23.97 kB / 0.8316 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000417/0.5562, allocations: 172.1 kB / 0.8318 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00112/0.5574, allocations: 0.5007 MB / 0.8323 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001379/0.5588, allocations: 0.8355 MB / 0.8331 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008114/0.5596, allocations: 1.313 MB / 0.8344 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007114/0.5603, allocations: 0.6938 MB / 0.835 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004024/0.5607, allocations: 0.4964 MB / 0.8355 GB, free: 452 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004187/0.5612, allocations: 0.5264 MB / 0.836 GB, free: 328 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001531/0.5613, allocations: 125.9 kB / 0.8362 GB, free: 328 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006667/0.562, allocations: 472.5 kB / 0.8366 GB, free: 316 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002023/0.5622, allocations: 319.1 kB / 0.8369 GB, free: 264 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003542/0.5626, allocations: 0.5879 MB / 0.8375 GB, free: 72 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001244/0.5638, allocations: 1.656 MB / 0.8391 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.5638, allocations: 0 / 0.8391 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5638, allocations: 1.125 kB / 0.8391 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.5639, allocations: 0 / 0.8391 GB, free: 15.83 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.002184/0.5661, allocations: 1.488 MB / 0.8406 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.5661, allocations: 9.625 kB / 0.8406 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001375/0.5662, allocations: 146 kB / 0.8407 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009926/0.5672, allocations: 216.9 kB / 0.8409 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008745/0.5681, allocations: 0.7538 MB / 0.8417 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.863e-05/0.5682, allocations: 71.31 kB / 0.8417 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.5683, allocations: 97.2 kB / 0.8418 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.5698, allocations: 1.007 MB / 0.8428 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.5698, allocations: 0 / 0.8428 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.599e-05/0.5699, allocations: 40.41 kB / 0.8428 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/0.5699, allocations: 23.22 kB / 0.8429 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/0.5716, allocations: 1.178 MB / 0.844 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003534/0.5752, allocations: 2.614 MB / 0.8466 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002207/0.5774, allocations: 0.9759 MB / 0.8475 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005243/0.5779, allocations: 311.4 kB / 0.8478 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.433e-05/0.578, allocations: 32.33 kB / 0.8478 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008141/0.5788, allocations: 0.4956 MB / 0.8483 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 1.794e-06/0.5788, allocations: 3.938 kB / 0.8483 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.002868/0.5817, allocations: 1.218 MB / 0.8495 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.693e-05/0.5818, allocations: 198.3 kB / 0.8497 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006446/0.5825, allocations: 0.6381 MB / 0.8503 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.839e-05/0.5825, allocations: 42.48 kB / 0.8504 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002606/0.5828, allocations: 424.7 kB / 0.8508 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/0.583, allocations: 269.2 kB / 0.851 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002067/0.5832, allocations: 153.5 kB / 0.8512 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.5833, allocations: 384.7 kB / 0.8515 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004852/0.5838, allocations: 253.9 kB / 0.8518 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005917/0.5844, allocations: 371.9 kB / 0.8521 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.5855, allocations: 0.597 MB / 0.8527 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5855, allocations: 0 / 0.8527 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001735/0.5872, allocations: 0.817 MB / 0.8535 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.5873, allocations: 11.19 kB / 0.8535 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.5873, allocations: 2.25 kB / 0.8535 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000543/0.5878, allocations: 82.52 kB / 0.8536 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006119/0.5884, allocations: 161.8 kB / 0.8538 GB, free: 7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001807/0.5903, allocations: 1.625 MB / 0.8554 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000613/0.5909, allocations: 88.98 kB / 0.8554 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.737e-05/0.5909, allocations: 41.72 kB / 0.8555 GB, free: 5.328 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.0003076/0.5913, allocations: 265.4 kB / 0.8557 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.5914, allocations: 90.73 kB / 0.8558 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002223/0.5936, allocations: 1.102 MB / 0.8569 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.5937, allocations: 10.12 kB / 0.8569 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.5937, allocations: 0 / 0.8569 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.5937, allocations: 3.984 kB / 0.8569 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00299/0.5967, allocations: 2.019 MB / 0.8589 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.5967, allocations: 0 / 0.8589 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005495/0.5972, allocations: 155.9 kB / 0.859 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004162/0.5977, allocations: 72 kB / 0.8591 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.507e-05/0.5977, allocations: 30.27 kB / 0.8591 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001662/0.5994, allocations: 1.661 MB / 0.8608 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5994, allocations: 0 / 0.8608 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/0.6013, allocations: 1.014 MB / 0.8617 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003191/0.6016, allocations: 277.5 kB / 0.862 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.6018, allocations: 21.81 kB / 0.862 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006602/0.6024, allocations: 68.23 kB / 0.8621 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.6026, allocations: 71.5 kB / 0.8622 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.172e-05/0.6027, allocations: 41.69 kB / 0.8622 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005319/0.6032, allocations: 465.3 kB / 0.8626 GB, free: 248 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6032, allocations: 0 / 0.8626 GB, free: 248 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007907/0.604, allocations: 319.9 kB / 0.8629 GB, free: 148 kB / 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.003361/0.6074, allocations: 2.069 MB / 0.865 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002156/0.6095, allocations: 1.029 MB / 0.866 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.6096, allocations: 0 / 0.866 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008801/0.6104, allocations: 0.5334 MB / 0.8665 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.6116, allocations: 303.4 kB / 0.8668 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/0.6221, allocations: 6.757 MB / 0.8734 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000613/0.6227, allocations: 1.049 MB / 0.8744 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008472/0.6236, allocations: 269.9 kB / 0.8747 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005236/0.6241, allocations: 400.6 kB / 0.875 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of SimCode: time 5.01e-07/0.6241, allocations: 0 / 0.875 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.789/3.413, allocations: 21.62 MB / 0.8962 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.83/17.24, allocations: 7.047 kB / 0.8962 GB, free: 3.34 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)