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.001652/0.001651, allocations: 104.7 kB / 16.4 MB, free: 6.461 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.001976/0.001976, allocations: 197.8 kB / 17.34 MB, free: 5.715 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.287/1.287, 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.7547/0.7547, allocations: 122.9 MB / 414.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 64.41 kB / 0.5679 GB, free: 28.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1269, allocations: 77.93 MB / 0.644 GB, free: 9.547 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006587/0.1335, allocations: 5.116 MB / 0.649 GB, free: 4.41 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4828/0.6163, allocations: 150.7 MB / 0.7962 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008288/0.6172, allocations: 19.62 kB / 0.7962 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005453/0.6177, allocations: 202.7 kB / 0.7964 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001527/0.6193, allocations: 0.5592 MB / 0.7969 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001668/0.621, allocations: 0.8553 MB / 0.7978 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00119/0.6222, allocations: 1.442 MB / 0.7992 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000789/0.623, allocations: 0.6576 MB / 0.7998 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005447/0.6235, allocations: 0.5156 MB / 0.8003 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004922/0.624, allocations: 0.5385 MB / 0.8008 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001585/0.6242, allocations: 125.7 kB / 0.801 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007985/0.625, allocations: 0.4928 MB / 0.8014 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002237/0.6252, allocations: 315.7 kB / 0.8017 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004507/0.6257, allocations: 0.6051 MB / 0.8023 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001663/0.6274, allocations: 1.745 MB / 0.804 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.6274, allocations: 0 / 0.804 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.914e-06/0.6274, allocations: 0 / 0.804 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.855e-05/0.6274, allocations: 0 / 0.804 GB, free: 11.5 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.002534/0.63, allocations: 1.537 MB / 0.8055 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.63, allocations: 10.97 kB / 0.8055 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001521/0.6302, allocations: 151.6 kB / 0.8057 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.6312, allocations: 220.6 kB / 0.8059 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.6324, allocations: 0.7924 MB / 0.8067 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.409e-05/0.6324, allocations: 72.05 kB / 0.8067 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.6325, allocations: 98.58 kB / 0.8068 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/0.6341, allocations: 1.009 MB / 0.8078 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.6341, allocations: 0 / 0.8078 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-05/0.6342, allocations: 41.75 kB / 0.8079 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.6342, allocations: 21.03 kB / 0.8079 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001692/0.6359, allocations: 1.172 MB / 0.809 GB, free: 9.621 MB / 0.5919 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.003866/0.6398, allocations: 2.868 MB / 0.8118 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002225/0.642, allocations: 0.9779 MB / 0.8128 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005169/0.6425, allocations: 310.7 kB / 0.8131 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.549e-05/0.6426, allocations: 32.64 kB / 0.8131 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000805/0.6434, allocations: 0.5042 MB / 0.8136 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 2.134e-06/0.6434, allocations: 0 / 0.8136 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.003169/0.6466, allocations: 1.23 MB / 0.8148 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.6467, allocations: 198.6 kB / 0.815 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007485/0.6475, allocations: 0.6384 MB / 0.8156 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.956e-05/0.6476, allocations: 42.73 kB / 0.8157 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003229/0.6479, allocations: 433.6 kB / 0.8161 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002153/0.6481, allocations: 280.2 kB / 0.8163 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002265/0.6484, allocations: 150.9 kB / 0.8165 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.6485, allocations: 386.9 kB / 0.8169 GB, free: 5.098 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005021/0.649, allocations: 259 kB / 0.8171 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006032/0.6496, allocations: 362.5 kB / 0.8174 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.6507, allocations: 0.6048 MB / 0.818 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.6508, allocations: 0 / 0.818 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001825/0.6526, allocations: 0.8335 MB / 0.8188 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.6526, allocations: 11.22 kB / 0.8189 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.6526, allocations: 0 / 0.8189 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005596/0.6532, allocations: 79.67 kB / 0.8189 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006146/0.6538, allocations: 156.8 kB / 0.8191 GB, free: 3.902 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001937/0.6558, allocations: 1.639 MB / 0.8207 GB, free: 2.297 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006779/0.6564, allocations: 93.53 kB / 0.8208 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.824e-05/0.6565, allocations: 36.09 kB / 0.8208 GB, free: 2.223 MB / 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.00038/0.6569, allocations: 276.4 kB / 0.8211 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.6571, allocations: 87.97 kB / 0.8212 GB, free: 1.957 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002314/0.6594, allocations: 1.101 MB / 0.8222 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.6594, allocations: 13.42 kB / 0.8222 GB, free: 1.328 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.6594, allocations: 3.938 kB / 0.8222 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.6594, allocations: 6.797 kB / 0.8223 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00312/0.6626, allocations: 2.003 MB / 0.8242 GB, free: 16 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.6626, allocations: 2.75 kB / 0.8242 GB, free: 16 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006102/0.6632, allocations: 145.2 kB / 0.8244 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004181/0.6636, allocations: 74.59 kB / 0.8244 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.403e-05/0.6637, allocations: 25.67 kB / 0.8244 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001781/0.6655, allocations: 1.662 MB / 0.8261 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.6655, allocations: 4.062 kB / 0.8261 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001947/0.6674, allocations: 1.023 MB / 0.8271 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000384/0.6678, allocations: 280.1 kB / 0.8273 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.668, allocations: 21.64 kB / 0.8274 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006956/0.6687, allocations: 68.42 kB / 0.8274 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.6688, allocations: 76.17 kB / 0.8275 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.457e-05/0.6689, allocations: 34.17 kB / 0.8275 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005297/0.6694, allocations: 466.4 kB / 0.828 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6.61e-07/0.6694, allocations: 0 / 0.828 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008252/0.6703, allocations: 343.5 kB / 0.8283 GB, free: 13 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.003407/0.6737, allocations: 2.074 MB / 0.8303 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001665/0.6754, allocations: 0.8295 MB / 0.8311 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.6754, allocations: 0 / 0.8311 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009232/0.6763, allocations: 0.5323 MB / 0.8317 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/0.6776, allocations: 310.4 kB / 0.832 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.6877, allocations: 6.46 MB / 0.8383 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005896/0.6883, allocations: 1.043 MB / 0.8393 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008399/0.6891, allocations: 270.8 kB / 0.8395 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005466/0.6897, allocations: 399.3 kB / 0.8399 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of SimCode: time 5.11e-07/0.6897, allocations: 0 / 0.8399 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04983/0.7395, allocations: 22.25 MB / 0.8617 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/13.12, allocations: 16.78 kB / 0.8617 GB, free: 14.07 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)