Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.6/1.6, allocations: 289.9 MB / 297.4 MB, free: 6.367 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001275/0.001275, allocations: 184.8 kB / 366.7 MB, free: 1.645 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.947/1.947, allocations: 205.3 MB / 0.626 GB, free: 7.188 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009299/0.0009299, allocations: 88.83 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.647e-05/1.648e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8105/0.8105, allocations: 116.3 MB / 0.9733 GB, free: 76.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.201/6.012, allocations: 2.072 GB / 3.046 GB, free: 57.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/6.012, allocations: 95.94 kB / 3.046 GB, free: 57.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.5785/6.59, allocations: 61.94 MB / 3.106 GB, free: 318.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.823e-06/6.59, allocations: 0 / 3.106 GB, free: 318.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.239e-05/6.59, allocations: 26.92 kB / 3.106 GB, free: 318.6 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.001631/6.592, allocations: 1.035 MB / 3.107 GB, free: 318 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/6.592, allocations: 8.969 kB / 3.107 GB, free: 318 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/6.593, allocations: 203.1 kB / 3.107 GB, free: 318 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000956/6.594, allocations: 0.6143 MB / 3.108 GB, free: 317.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.044e-05/6.594, allocations: 28.03 kB / 3.108 GB, free: 317.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-05/6.594, allocations: 46.14 kB / 3.108 GB, free: 317.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001666/6.596, allocations: 0.9811 MB / 3.109 GB, free: 317.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/6.597, allocations: 0.7204 MB / 3.11 GB, free: 317.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/6.597, allocations: 0.75 kB / 3.11 GB, free: 317.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.413e-05/6.597, allocations: 1.562 kB / 3.11 GB, free: 317.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.81e-05/6.598, allocations: 19.62 kB / 3.11 GB, free: 317.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003884/6.601, allocations: 2.269 MB / 3.112 GB, free: 316.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001635/6.603, allocations: 0.736 MB / 3.113 GB, free: 316.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003394/6.603, allocations: 245.5 kB / 3.113 GB, free: 316.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.101e-05/6.604, allocations: 34.52 kB / 3.113 GB, free: 316.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005767/6.604, allocations: 404.9 kB / 3.113 GB, free: 316.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 2.916e-06/6.604, allocations: 0 / 3.113 GB, free: 316.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.001529/6.606, allocations: 0.6681 MB / 3.114 GB, free: 316.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.623e-05/6.606, allocations: 242.8 kB / 3.114 GB, free: 316.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006211/6.606, allocations: 496.1 kB / 3.115 GB, free: 316.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.357e-05/6.606, allocations: 25.7 kB / 3.115 GB, free: 316.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002533/6.607, allocations: 373.8 kB / 3.115 GB, free: 316.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/6.607, allocations: 230.5 kB / 3.115 GB, free: 316 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.183e-05/6.607, allocations: 5.812 kB / 3.115 GB, free: 316 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001011/6.607, allocations: 375.2 kB / 3.116 GB, free: 315.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002893/6.607, allocations: 193.8 kB / 3.116 GB, free: 315.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003635/6.608, allocations: 303 kB / 3.116 GB, free: 315.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003859/6.608, allocations: 241.3 kB / 3.116 GB, free: 315.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/6.608, allocations: 1.906 kB / 3.116 GB, free: 315.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001414/6.609, allocations: 0.6568 MB / 3.117 GB, free: 315.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/6.61, allocations: 7.953 kB / 3.117 GB, free: 315.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/6.61, allocations: 1.438 kB / 3.117 GB, free: 315.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005707/6.61, allocations: 85.72 kB / 3.117 GB, free: 315.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005985/6.611, allocations: 142.5 kB / 3.117 GB, free: 315.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00152/6.612, allocations: 1.466 MB / 3.119 GB, free: 314.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005797/6.613, allocations: 66.52 kB / 3.119 GB, free: 314.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-05/6.613, allocations: 29.31 kB / 3.119 GB, free: 314.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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.0001608/6.613, allocations: 120.8 kB / 3.119 GB, free: 314.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/6.613, allocations: 70.75 kB / 3.119 GB, free: 314.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00205/6.615, allocations: 0.9264 MB / 3.12 GB, free: 314 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/6.615, allocations: 9.281 kB / 3.12 GB, free: 314 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/6.615, allocations: 0.6094 kB / 3.12 GB, free: 314 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/6.615, allocations: 7.438 kB / 3.12 GB, free: 314 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009566/6.616, allocations: 0.7569 MB / 3.121 GB, free: 313.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/6.616, allocations: 0 / 3.121 GB, free: 313.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006035/6.617, allocations: 148.3 kB / 3.121 GB, free: 313.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004913/6.617, allocations: 82.36 kB / 3.121 GB, free: 313.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.277e-05/6.617, allocations: 18.59 kB / 3.121 GB, free: 313.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00139/6.619, allocations: 1.499 MB / 3.122 GB, free: 312.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/6.619, allocations: 1.75 kB / 3.122 GB, free: 312.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/6.62, allocations: 0.7702 MB / 3.123 GB, free: 312.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003674/6.621, allocations: 282.5 kB / 3.123 GB, free: 312.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/6.621, allocations: 1.031 kB / 3.123 GB, free: 312.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000529/6.621, allocations: 54.75 kB / 3.123 GB, free: 312.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/6.621, allocations: 58.98 kB / 3.123 GB, free: 312.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.288e-05/6.622, allocations: 36.14 kB / 3.123 GB, free: 312.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004826/6.622, allocations: 405.3 kB / 3.124 GB, free: 312.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/6.622, allocations: 0 / 3.124 GB, free: 312.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009839/6.623, allocations: 293.3 kB / 3.124 GB, free: 312.1 MB / 0.948 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.conTimMin.tNext,weaDat.conTim.tNext) * 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 (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.00167/6.625, allocations: 1.04 MB / 3.125 GB, free: 311.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00118/6.626, allocations: 0.6594 MB / 3.126 GB, free: 311.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/6.626, allocations: 1.219 kB / 3.126 GB, free: 311.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006783/6.627, allocations: 454.8 kB / 3.126 GB, free: 311.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/6.628, allocations: 222.5 kB / 3.126 GB, free: 311.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003277/6.631, allocations: 1.283 MB / 3.128 GB, free: 311.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005312/6.632, allocations: 1.014 MB / 3.129 GB, free: 310.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0009802/6.633, allocations: 253 kB / 3.129 GB, free: 310.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/6.633, allocations: 95.2 kB / 3.129 GB, free: 310.7 MB / 0.948 GB Notification: Performance of SimCode: time 5.31e-07/6.633, allocations: 0 / 3.129 GB, free: 310.7 MB / 0.948 GB Notification: Performance of Templates: time 0.02948/6.662, allocations: 15.48 MB / 3.144 GB, free: 309.4 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)