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: translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001043, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001231/0.001231, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001745/0.001745, allocations: 270.9 kB / 291.4 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9716/0.9716, allocations: 169.5 MB / 0.5 GB, free: 14.25 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004672/0.0004672, allocations: 16.8 kB / 0.598 GB, free: 28.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1923, allocations: 88.55 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004542/0.1969, allocations: 3.752 MB / 0.6881 GB, free: 11.69 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5436/0.7405, allocations: 136.8 MB / 0.8217 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007228/0.7413, allocations: 15.22 kB / 0.8217 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005566/0.7419, allocations: 134.2 kB / 0.8219 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001373/0.7433, allocations: 423.4 kB / 0.8223 GB, free: 364 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001976/0.7453, allocations: 0.639 MB / 0.8229 GB, free: 212 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001444/0.7467, allocations: 1.129 MB / 0.824 GB, free: 16 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/0.7477, allocations: 0.5451 MB / 0.8245 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006189/0.7484, allocations: 337 kB / 0.8249 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005626/0.7489, allocations: 369.9 kB / 0.8252 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.507e-05/0.749, allocations: 30.12 kB / 0.8252 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008713/0.7499, allocations: 340.2 kB / 0.8256 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002642/0.7502, allocations: 186 kB / 0.8257 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002307/0.7504, allocations: 200.2 kB / 0.8259 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.7519, allocations: 1.224 MB / 0.8271 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.7519, allocations: 1.375 kB / 0.8271 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.883e-06/0.7519, allocations: 0 / 0.8271 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.515e-05/0.752, allocations: 0 / 0.8271 GB, free: 14.82 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.002582/0.7545, allocations: 1.262 MB / 0.8284 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.7546, allocations: 9.031 kB / 0.8284 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.7558, allocations: 226 kB / 0.8286 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.7571, allocations: 0.7345 MB / 0.8293 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.539e-05/0.7571, allocations: 73.75 kB / 0.8294 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/0.7573, allocations: 89.41 kB / 0.8295 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/0.7591, allocations: 1.003 MB / 0.8304 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.7591, allocations: 3.375 kB / 0.8304 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.44e-05/0.7592, allocations: 37.34 kB / 0.8305 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.385e-05/0.7593, allocations: 29.8 kB / 0.8305 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001877/0.7611, allocations: 1.181 MB / 0.8317 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004192/0.7654, allocations: 2.652 MB / 0.8342 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002087/0.7675, allocations: 0.9679 MB / 0.8352 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004891/0.768, allocations: 315.4 kB / 0.8355 GB, free: 11 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.944e-05/0.768, allocations: 33.12 kB / 0.8355 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008569/0.7689, allocations: 0.5022 MB / 0.836 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 2.555e-06/0.7689, allocations: 0 / 0.836 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.002696/0.7716, allocations: 1.226 MB / 0.8372 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.7717, allocations: 195 kB / 0.8374 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006784/0.7724, allocations: 0.6308 MB / 0.838 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.231e-05/0.7725, allocations: 41.89 kB / 0.838 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002889/0.7728, allocations: 424.8 kB / 0.8385 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/0.773, allocations: 269.6 kB / 0.8387 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.773, allocations: 15 kB / 0.8387 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.7732, allocations: 395.7 kB / 0.8391 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000492/0.7737, allocations: 280.4 kB / 0.8394 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005597/0.7743, allocations: 370.1 kB / 0.8397 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005215/0.7748, allocations: 309.6 kB / 0.84 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.7748, allocations: 0 / 0.84 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001707/0.7765, allocations: 0.8772 MB / 0.8409 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.7766, allocations: 2.906 kB / 0.8409 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.7766, allocations: 2.875 kB / 0.8409 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005157/0.7771, allocations: 80.39 kB / 0.841 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006254/0.7777, allocations: 169.9 kB / 0.8411 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001816/0.7796, allocations: 1.526 MB / 0.8426 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006584/0.7802, allocations: 105.6 kB / 0.8427 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-05/0.7803, allocations: 40.69 kB / 0.8427 GB, free: 7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003938/0.7807, allocations: 271 kB / 0.843 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.7808, allocations: 77.47 kB / 0.8431 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002225/0.7831, allocations: 1.117 MB / 0.8442 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.7831, allocations: 10.69 kB / 0.8442 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.7831, allocations: 3.938 kB / 0.8442 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.7831, allocations: 3.984 kB / 0.8442 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003016/0.7861, allocations: 2.029 MB / 0.8462 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.7861, allocations: 0 / 0.8462 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005603/0.7867, allocations: 153.1 kB / 0.8463 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000424/0.7871, allocations: 85 kB / 0.8464 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.418e-05/0.7872, allocations: 27.94 kB / 0.8464 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001625/0.7888, allocations: 1.543 MB / 0.8479 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.7888, allocations: 2.844 kB / 0.8479 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/0.7906, allocations: 1.016 MB / 0.8489 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003471/0.791, allocations: 298.8 kB / 0.8492 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.7911, allocations: 17.94 kB / 0.8492 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006043/0.7917, allocations: 82.39 kB / 0.8493 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.7919, allocations: 76.33 kB / 0.8494 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.716e-05/0.7919, allocations: 38.09 kB / 0.8494 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005053/0.7924, allocations: 459 kB / 0.8499 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7924, allocations: 0 / 0.8499 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008251/0.7933, allocations: 322 kB / 0.8502 GB, free: 1.879 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001248/0.7945, allocations: 0.6051 MB / 0.8508 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001472/0.796, allocations: 0.846 MB / 0.8516 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.796, allocations: 3.25 kB / 0.8516 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000831/0.7969, allocations: 0.5338 MB / 0.8521 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.7979, allocations: 254.6 kB / 0.8523 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003622/0.8015, allocations: 2.291 MB / 0.8546 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005499/0.8021, allocations: 1.043 MB / 0.8556 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007965/0.8029, allocations: 265.5 kB / 0.8559 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/0.8032, allocations: 112.6 kB / 0.856 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of SimCode: time 2.6e-07/0.8032, allocations: 0 / 0.856 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of Templates: time 0.02156/0.8247, allocations: 14.02 MB / 0.8697 GB, free: 2.215 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (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 & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)