Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.53/1.53, allocations: 289.9 MB / 297.4 MB, free: 6.434 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.001052/0.001052, allocations: 184.8 kB / 366.7 MB, free: 1.684 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.491/1.491, allocations: 205.2 MB / 0.626 GB, free: 7.176 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.0007975/0.0007975, allocations: 81.3 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.779e-05/1.782e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5919/0.592, allocations: 116.3 MB / 0.9733 GB, free: 76.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1744/0.7664, allocations: 138.5 MB / 1.109 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000187/0.7666, allocations: 79.94 kB / 1.109 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.002038/0.7687, allocations: 0.9184 MB / 1.109 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.825e-06/0.7687, allocations: 4.688 kB / 1.109 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.7687, allocations: 0 / 1.109 GB, free: 10.72 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0002703/0.769, allocations: 339.6 kB / 1.11 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.769, allocations: 9.031 kB / 1.11 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.128e-05/0.7691, allocations: 11.89 kB / 1.11 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.7692, allocations: 183 kB / 1.11 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-06/0.7693, allocations: 4.531 kB / 1.11 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.7693, allocations: 7.938 kB / 1.11 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.885e-05/0.7694, allocations: 36.67 kB / 1.11 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.7695, allocations: 85.34 kB / 1.11 GB, free: 9.965 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.7695, allocations: 0.5312 kB / 1.11 GB, free: 9.965 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.7695, allocations: 0.5938 kB / 1.11 GB, free: 9.965 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.7695, allocations: 4 kB / 1.11 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004932/0.77, allocations: 0.6095 MB / 1.111 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.674e-05/0.7701, allocations: 166.9 kB / 1.111 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.606e-05/0.7702, allocations: 80.14 kB / 1.111 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.7702, allocations: 79.73 kB / 1.111 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.827e-05/0.7703, allocations: 109.7 kB / 1.111 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.763e-06/0.7703, allocations: 3.953 kB / 1.111 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 6.299e-05/0.7703, allocations: 32.27 kB / 1.111 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.7704, allocations: 55.34 kB / 1.111 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.979e-05/0.7705, allocations: 114.1 kB / 1.111 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.7705, allocations: 25.7 kB / 1.111 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.13e-05/0.7705, allocations: 116.8 kB / 1.111 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.7705, allocations: 0 / 1.111 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.7706, allocations: 0 / 1.111 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.488e-05/0.7707, allocations: 310.8 kB / 1.112 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.264e-05/0.7707, allocations: 8 kB / 1.112 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.625e-05/0.7707, allocations: 18.58 kB / 1.112 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.272e-05/0.7707, allocations: 16.42 kB / 1.112 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.7707, allocations: 0 / 1.112 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.714e-05/0.7708, allocations: 45.55 kB / 1.112 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.7709, allocations: 8 kB / 1.112 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.7709, allocations: 3.953 kB / 1.112 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.7709, allocations: 0 / 1.112 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.967e-05/0.7709, allocations: 7.984 kB / 1.112 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.771, allocations: 0 / 1.112 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.833e-05/0.771, allocations: 4.594 kB / 1.112 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.771, allocations: 4 kB / 1.112 GB, free: 8.062 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.725e-05/0.7711, allocations: 182.8 kB / 1.112 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.042e-05/0.7711, allocations: 104.9 kB / 1.112 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.148e-05/0.7712, allocations: 112.1 kB / 1.112 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.423e-05/0.7713, allocations: 194.6 kB / 1.112 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.733e-05/0.7713, allocations: 180.2 kB / 1.113 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-05/0.7714, allocations: 176.3 kB / 1.113 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002132/0.7716, allocations: 405.9 kB / 1.113 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.629e-05/0.7717, allocations: 104.9 kB / 1.113 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.226e-05/0.7717, allocations: 101 kB / 1.113 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-05/0.7718, allocations: 176.7 kB / 1.114 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.299e-05/0.7718, allocations: 192.2 kB / 1.114 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.853e-05/0.7719, allocations: 180.3 kB / 1.114 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.255e-05/0.772, allocations: 184.1 kB / 1.114 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.7721, allocations: 307.6 kB / 1.114 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.469e-05/0.7722, allocations: 190.1 kB / 1.115 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.841e-05/0.7722, allocations: 180.2 kB / 1.115 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.682e-05/0.7723, allocations: 105 kB / 1.115 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.289e-05/0.7724, allocations: 176.3 kB / 1.115 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.049e-05/0.7724, allocations: 108.9 kB / 1.115 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.052e-05/0.7725, allocations: 101.6 kB / 1.115 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7725, allocations: 0 / 1.115 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002025/0.7727, allocations: 15.84 kB / 1.115 GB, free: 4.465 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001228/0.7728, allocations: 174.5 kB / 1.115 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.76e-05/0.7729, allocations: 4 kB / 1.115 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.7729, allocations: 0 / 1.115 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.747e-06/0.7729, allocations: 8.844 kB / 1.115 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.7732, allocations: 0.5199 MB / 1.116 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002139/0.7734, allocations: 171.3 kB / 1.116 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.7737, allocations: 0.6924 MB / 1.117 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.227e-05/0.7737, allocations: 4 kB / 1.117 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.701e-05/0.7737, allocations: 7.438 kB / 1.117 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/0.7737, allocations: 0 / 1.117 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of Templates: time 0.001627/0.7754, allocations: 238.8 kB / 1.117 GB, free: 2.625 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)