Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008812/0.0008812, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005435/0.005435, allocations: 170 kB / 16.26 MB, free: 6.613 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.222/1.222, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.446/2.446, allocations: 473.4 MB / 0.7469 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002853/0.0002854, allocations: 11.2 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.24, allocations: 162.2 MB / 1.074 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001439/0.2415, allocations: 1.258 MB / 1.075 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 8.395e-05/0.2416, allocations: 27.91 kB / 1.075 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.872e-05/0.2417, allocations: 7.938 kB / 1.075 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.499e-05/0.2418, allocations: 3.938 kB / 1.075 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.564e-05/0.2418, allocations: 0 / 1.075 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 8.004e-05/0.2419, allocations: 23.97 kB / 1.075 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.314e-05/0.242, allocations: 47.8 kB / 1.075 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.2421, allocations: 31.91 kB / 1.076 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.675e-05/0.2421, allocations: 15.92 kB / 1.076 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.565e-05/0.2422, allocations: 23.86 kB / 1.076 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.2422, allocations: 4 kB / 1.076 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.873e-06/0.2422, allocations: 0 / 1.076 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.179e-05/0.2422, allocations: 11.98 kB / 1.076 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.085e-05/0.2423, allocations: 49.52 kB / 1.076 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.355e-05/0.2424, allocations: 60 kB / 1.076 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.2424, allocations: 0 / 1.076 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2424, allocations: 0 / 1.076 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.2424, allocations: 0 / 1.076 GB, free: 5.996 MB / 0.8262 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.0002932/0.2427, allocations: 347.4 kB / 1.076 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.2427, allocations: 12.03 kB / 1.076 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.57e-05/0.2427, allocations: 8.844 kB / 1.076 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.2429, allocations: 188.2 kB / 1.076 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.2429, allocations: 8.312 kB / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.2429, allocations: 8.375 kB / 1.076 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.2431, allocations: 96.8 kB / 1.076 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.2431, allocations: 192 / 1.076 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.2431, allocations: 7.938 kB / 1.076 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.2431, allocations: 8 kB / 1.076 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.552e-05/0.2432, allocations: 39.91 kB / 1.076 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004734/0.2437, allocations: 0.6401 MB / 1.077 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.882e-05/0.2437, allocations: 173.1 kB / 1.077 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.168e-05/0.2438, allocations: 84.08 kB / 1.077 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.2438, allocations: 75.28 kB / 1.077 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.2438, allocations: 105.8 kB / 1.077 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.2438, allocations: 0 / 1.077 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 6.5e-05/0.2439, allocations: 41.55 kB / 1.077 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.244, allocations: 130.7 kB / 1.078 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.2441, allocations: 169.2 kB / 1.078 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.2441, allocations: 25.7 kB / 1.078 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.229e-05/0.2442, allocations: 108 kB / 1.078 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.2442, allocations: 0 / 1.078 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/0.2442, allocations: 13.72 kB / 1.078 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.861e-05/0.2443, allocations: 318.8 kB / 1.078 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.195e-05/0.2443, allocations: 8 kB / 1.078 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.084e-05/0.2444, allocations: 26.5 kB / 1.078 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.401e-05/0.2444, allocations: 26.56 kB / 1.078 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.2444, allocations: 4 kB / 1.078 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001075/0.2445, allocations: 61.55 kB / 1.078 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.2445, allocations: 5.406 kB / 1.078 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.2445, allocations: 3.938 kB / 1.078 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.2446, allocations: 3.938 kB / 1.078 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.877e-05/0.2446, allocations: 15.92 kB / 1.078 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.2446, allocations: 0 / 1.078 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.278e-05/0.2447, allocations: 11.84 kB / 1.078 GB, free: 3 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-06/0.2447, allocations: 0 / 1.078 GB, free: 3 MB / 0.8262 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.567e-05/0.2448, allocations: 195 kB / 1.079 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.184e-05/0.2448, allocations: 112.8 kB / 1.079 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.708e-05/0.2449, allocations: 124.5 kB / 1.079 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.615e-05/0.2449, allocations: 176.3 kB / 1.079 GB, free: 2.371 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.665e-05/0.245, allocations: 188.2 kB / 1.079 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.116e-05/0.2451, allocations: 176.3 kB / 1.079 GB, free: 2 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.2453, allocations: 429.2 kB / 1.08 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-05/0.2453, allocations: 109.1 kB / 1.08 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.499e-05/0.2453, allocations: 109 kB / 1.08 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.054e-05/0.2454, allocations: 180.2 kB / 1.08 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.89e-05/0.2454, allocations: 180.2 kB / 1.08 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.241e-05/0.2455, allocations: 188.3 kB / 1.08 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.132e-05/0.2456, allocations: 180.2 kB / 1.081 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.2457, allocations: 307.7 kB / 1.081 GB, free: 236 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.602e-05/0.2457, allocations: 186.1 kB / 1.081 GB, free: 24 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.954e-05/0.2458, allocations: 180.2 kB / 1.081 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.231e-05/0.2459, allocations: 116.9 kB / 1.081 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.25e-05/0.246, allocations: 176.3 kB / 1.081 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.322e-05/0.246, allocations: 104.9 kB / 1.082 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.011e-05/0.2461, allocations: 127.2 kB / 1.082 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2461, allocations: 0 / 1.082 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001997/0.2463, allocations: 4 kB / 1.082 GB, free: 15.3 MB / 0.8419 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001019/0.2464, allocations: 178.5 kB / 1.082 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 4.849e-05/0.2464, allocations: 11.98 kB / 1.082 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2465, allocations: 0 / 1.082 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.655e-06/0.2465, allocations: 3.938 kB / 1.082 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.2468, allocations: 0.5224 MB / 1.082 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002668/0.2471, allocations: 250 kB / 1.083 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/0.2473, allocations: 0.6946 MB / 1.083 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.772e-05/0.2473, allocations: 7.984 kB / 1.083 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.738e-05/0.2473, allocations: 11.44 kB / 1.083 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.2473, allocations: 4 kB / 1.083 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of Templates: time 0.001932/0.2493, allocations: 412.5 kB / 1.084 GB, free: 13.16 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)