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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4813/0.4813, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.583/1.583, allocations: 222.9 MB / 349.1 MB, free: 2.734 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 102.7 kB / 420 MB, free: 8.508 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 51.92 kB / 0.4891 GB, free: 7.715 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.362, allocations: 70.06 MB / 0.5575 GB, free: 44.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004874/0.3669, allocations: 4.134 MB / 0.5615 GB, free: 41.06 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1349/0.5018, allocations: 148.2 MB / 0.7062 GB, free: 4.34 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007894/0.5026, allocations: 15.94 kB / 0.7063 GB, free: 4.324 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0006959/0.5034, allocations: 127 kB / 0.7064 GB, free: 4.199 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001578/0.505, allocations: 408.6 kB / 0.7068 GB, free: 3.801 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001949/0.507, allocations: 0.6964 MB / 0.7074 GB, free: 3.113 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.00135/0.5083, allocations: 1.117 MB / 0.7085 GB, free: 1.988 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.5094, allocations: 0.6701 MB / 0.7092 GB, free: 1.301 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006121/0.51, allocations: 402.3 kB / 0.7096 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005583/0.5106, allocations: 457.8 kB / 0.71 GB, free: 468 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001695/0.5107, allocations: 63.94 kB / 0.7101 GB, free: 404 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3044/0.8151, allocations: 404.2 kB / 0.7105 GB, free: 3.301 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0007932/0.816, allocations: 234.6 kB / 0.7107 GB, free: 3.301 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001001/0.817, allocations: 488.1 kB / 0.7111 GB, free: 3.301 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002015/0.819, allocations: 1.479 MB / 0.7126 GB, free: 3.27 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.819, allocations: 3.406 kB / 0.7126 GB, free: 3.27 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.92e-07/0.819, allocations: 0.6562 kB / 0.7126 GB, free: 3.27 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.664e-05/0.8191, allocations: 0.9375 kB / 0.7126 GB, free: 3.27 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.002198/0.8213, allocations: 1.377 MB / 0.7139 GB, free: 2.535 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.8213, allocations: 7.219 kB / 0.7139 GB, free: 2.535 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.8224, allocations: 205.3 kB / 0.7141 GB, free: 2.477 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.8235, allocations: 0.7179 MB / 0.7148 GB, free: 2.176 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-05/0.8237, allocations: 73.44 kB / 0.7149 GB, free: 2.172 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/0.8238, allocations: 88.25 kB / 0.715 GB, free: 2.168 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001919/0.8257, allocations: 0.9444 MB / 0.7159 GB, free: 2.023 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.8258, allocations: 0 / 0.7159 GB, free: 2.023 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.8259, allocations: 39.41 kB / 0.716 GB, free: 2.023 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.044e-05/0.8259, allocations: 22.81 kB / 0.716 GB, free: 2.023 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/0.8279, allocations: 1.123 MB / 0.7171 GB, free: 2.02 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003858/0.8318, allocations: 2.482 MB / 0.7195 GB, free: 1.309 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002161/0.8339, allocations: 0.8854 MB / 0.7204 GB, free: 17.17 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000478/0.8344, allocations: 284.1 kB / 0.7206 GB, free: 17.16 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.605e-05/0.8345, allocations: 29.19 kB / 0.7207 GB, free: 17.16 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008112/0.8353, allocations: 442.3 kB / 0.7211 GB, free: 17.09 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=73): time 2.705e-06/0.8353, allocations: 0 / 0.7211 GB, free: 17.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=73): time 0.00289/0.8382, allocations: 1.097 MB / 0.7222 GB, free: 16.88 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.8384, allocations: 192.3 kB / 0.7223 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007689/0.8391, allocations: 0.6004 MB / 0.7229 GB, free: 16.53 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.606e-05/0.8392, allocations: 40.8 kB / 0.723 GB, free: 16.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000272/0.8395, allocations: 392.9 kB / 0.7233 GB, free: 16.31 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/0.8397, allocations: 242.5 kB / 0.7236 GB, free: 16.16 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002107/0.8399, allocations: 156.9 kB / 0.7237 GB, free: 16.13 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.84, allocations: 378.8 kB / 0.7241 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004717/0.8405, allocations: 242.5 kB / 0.7243 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005426/0.8411, allocations: 337.5 kB / 0.7246 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.8422, allocations: 0.5629 MB / 0.7252 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.8422, allocations: 3.938 kB / 0.7252 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001743/0.8439, allocations: 0.7925 MB / 0.726 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.844, allocations: 8.906 kB / 0.726 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.844, allocations: 5.281 kB / 0.726 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005481/0.8445, allocations: 83.28 kB / 0.7261 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005714/0.8451, allocations: 149.6 kB / 0.7262 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001801/0.8469, allocations: 1.518 MB / 0.7277 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006664/0.8476, allocations: 87.3 kB / 0.7278 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.249e-05/0.8477, allocations: 34.66 kB / 0.7278 GB, free: 14.27 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * 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.0004115/0.8481, allocations: 260.6 kB / 0.728 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/0.8483, allocations: 75.03 kB / 0.7281 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002547/0.8508, allocations: 0.9967 MB / 0.7291 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/0.8509, allocations: 9.828 kB / 0.7291 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.8509, allocations: 0.5 kB / 0.7291 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.8509, allocations: 3.453 kB / 0.7291 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003456/0.8543, allocations: 1.898 MB / 0.731 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.136e-06/0.8544, allocations: 4 kB / 0.731 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005473/0.8549, allocations: 149.4 kB / 0.7311 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005035/0.8554, allocations: 81.53 kB / 0.7312 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.401e-05/0.8555, allocations: 29 kB / 0.7312 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001694/0.8572, allocations: 1.55 MB / 0.7327 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.8572, allocations: 0 / 0.7327 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002799/0.86, allocations: 1.934 MB / 0.7346 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003864/0.8604, allocations: 254.2 kB / 0.7349 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.855e-05/0.8605, allocations: 23.62 kB / 0.7349 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000542/0.8611, allocations: 52.22 kB / 0.7349 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.8612, allocations: 62.3 kB / 0.735 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-05/0.8613, allocations: 32.73 kB / 0.735 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005951/0.8619, allocations: 439.9 kB / 0.7354 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8619, allocations: 1.094 kB / 0.7354 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009835/0.8629, allocations: 311.2 kB / 0.7357 GB, free: 11.18 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001206/0.8641, allocations: 0.5869 MB / 0.7363 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001469/0.8656, allocations: 0.7655 MB / 0.7371 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.8656, allocations: 3.375 kB / 0.7371 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008271/0.8665, allocations: 0.489 MB / 0.7375 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.8676, allocations: 254 kB / 0.7378 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004198/0.8719, allocations: 2.581 MB / 0.7403 GB, free: 9.441 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006317/0.8725, allocations: 1.038 MB / 0.7413 GB, free: 8.73 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0009037/0.8734, allocations: 260.5 kB / 0.7416 GB, free: 8.648 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002534/0.8737, allocations: 100.4 kB / 0.7417 GB, free: 8.641 MB / 0.5261 GB Notification: Performance of SimCode: time 1.092e-06/0.8737, allocations: 0 / 0.7417 GB, free: 8.641 MB / 0.5261 GB Notification: Performance of Templates: time 0.02185/0.8955, allocations: 13.91 MB / 0.7552 GB, free: 5.555 MB / 0.5261 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (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 & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)