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.001675/0.001675, allocations: 102.2 kB / 16.4 MB, free: 6.5 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.001787/0.001787, allocations: 192 kB / 17.34 MB, free: 5.738 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.691/1.691, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8178/0.8178, allocations: 126.7 MB / 417.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 74.34 kB / 0.5735 GB, free: 27.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1399, allocations: 78.87 MB / 0.6505 GB, free: 3.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006912/0.1469, allocations: 5.118 MB / 0.6555 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4765/0.6234, allocations: 150.7 MB / 0.8027 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000945/0.6244, allocations: 20.16 kB / 0.8027 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007955/0.6252, allocations: 198.9 kB / 0.8029 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001893/0.6271, allocations: 0.5618 MB / 0.8034 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001802/0.6289, allocations: 0.8531 MB / 0.8043 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001454/0.6304, allocations: 1.442 MB / 0.8057 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008085/0.6312, allocations: 0.6595 MB / 0.8063 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004947/0.6317, allocations: 0.5122 MB / 0.8068 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005067/0.6322, allocations: 0.5362 MB / 0.8073 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001433/0.6324, allocations: 126.6 kB / 0.8075 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007968/0.6332, allocations: 498.3 kB / 0.8079 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002463/0.6334, allocations: 312.4 kB / 0.8082 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004597/0.6339, allocations: 0.6096 MB / 0.8088 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001652/0.6356, allocations: 1.745 MB / 0.8105 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.6356, allocations: 0 / 0.8105 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6356, allocations: 0 / 0.8105 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.527e-05/0.6356, allocations: 0 / 0.8105 GB, free: 11.25 MB / 0.5919 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.002524/0.6381, allocations: 1.54 MB / 0.812 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.6382, allocations: 9.125 kB / 0.812 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001482/0.6383, allocations: 150.4 kB / 0.8122 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.6394, allocations: 225 kB / 0.8124 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.6406, allocations: 0.7831 MB / 0.8132 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.399e-05/0.6406, allocations: 69.31 kB / 0.8132 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.998e-05/0.6407, allocations: 94.66 kB / 0.8133 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.6423, allocations: 1.014 MB / 0.8143 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.6423, allocations: 2.125 kB / 0.8143 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.924e-05/0.6424, allocations: 35.5 kB / 0.8143 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.6424, allocations: 24.94 kB / 0.8144 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001839/0.6443, allocations: 1.172 MB / 0.8155 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004159/0.6484, allocations: 2.972 MB / 0.8184 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002425/0.6509, allocations: 0.9794 MB / 0.8194 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005853/0.6515, allocations: 319.1 kB / 0.8197 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.912e-05/0.6515, allocations: 28.66 kB / 0.8197 GB, free: 5.723 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008902/0.6524, allocations: 0.4973 MB / 0.8202 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 2.094e-06/0.6525, allocations: 2.125 kB / 0.8202 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.003273/0.6557, allocations: 1.231 MB / 0.8214 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/0.6559, allocations: 195.8 kB / 0.8216 GB, free: 4.512 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007497/0.6566, allocations: 0.6466 MB / 0.8222 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.626e-05/0.6567, allocations: 38.77 kB / 0.8222 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003363/0.657, allocations: 437.6 kB / 0.8227 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002288/0.6573, allocations: 277.3 kB / 0.8229 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002335/0.6575, allocations: 147 kB / 0.8231 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.6577, allocations: 386.7 kB / 0.8234 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005402/0.6583, allocations: 257.7 kB / 0.8237 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006431/0.6589, allocations: 374.9 kB / 0.824 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.6601, allocations: 0.6032 MB / 0.8246 GB, free: 2.324 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.6601, allocations: 0 / 0.8246 GB, free: 2.324 MB / 0.5919 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00191/0.662, allocations: 0.8181 MB / 0.8254 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.662, allocations: 19.55 kB / 0.8254 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.662, allocations: 0 / 0.8254 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005766/0.6626, allocations: 79.53 kB / 0.8255 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006358/0.6633, allocations: 159.6 kB / 0.8257 GB, free: 1.816 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00222/0.6655, allocations: 1.625 MB / 0.8273 GB, free: 224 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000683/0.6662, allocations: 95.89 kB / 0.8274 GB, free: 160 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.147e-05/0.6663, allocations: 31.67 kB / 0.8274 GB, free: 148 kB / 0.5919 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.0004289/0.6667, allocations: 273.4 kB / 0.8276 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.6669, allocations: 87.75 kB / 0.8277 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002452/0.6693, allocations: 1.107 MB / 0.8288 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.6693, allocations: 11.59 kB / 0.8288 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.604e-06/0.6694, allocations: 0 / 0.8288 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.6694, allocations: 6.516 kB / 0.8288 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003267/0.6726, allocations: 2.008 MB / 0.8308 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.6727, allocations: 0 / 0.8308 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005889/0.6733, allocations: 149.8 kB / 0.8309 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000437/0.6737, allocations: 75.97 kB / 0.831 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.374e-05/0.6738, allocations: 30.06 kB / 0.831 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001968/0.6757, allocations: 1.653 MB / 0.8326 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.6758, allocations: 4.062 kB / 0.8326 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002122/0.6779, allocations: 1.025 MB / 0.8337 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003898/0.6783, allocations: 278.1 kB / 0.8339 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/0.6784, allocations: 24.27 kB / 0.8339 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000679/0.6791, allocations: 65.41 kB / 0.834 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.6793, allocations: 69.48 kB / 0.8341 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.341e-05/0.6794, allocations: 44.94 kB / 0.8341 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005786/0.6799, allocations: 465.8 kB / 0.8346 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6799, allocations: 0 / 0.8346 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008255/0.6808, allocations: 341.9 kB / 0.8349 GB, free: 10.94 MB / 0.6075 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.004056/0.6848, allocations: 2.081 MB / 0.8369 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001663/0.6865, allocations: 0.8292 MB / 0.8377 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6865, allocations: 0 / 0.8377 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009639/0.6875, allocations: 0.5327 MB / 0.8382 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/0.6887, allocations: 304.2 kB / 0.8385 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/0.6994, allocations: 6.447 MB / 0.8448 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007056/0.7001, allocations: 1.039 MB / 0.8458 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008453/0.701, allocations: 278.8 kB / 0.8461 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006139/0.7016, allocations: 403.3 kB / 0.8465 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of SimCode: time 2.405e-06/0.7016, allocations: 0 / 0.8465 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05633/0.758, allocations: 22.26 MB / 0.8682 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/13.36, allocations: 12.98 kB / 0.8682 GB, free: 10.91 MB / 0.6387 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)