Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.736/1.736, allocations: 297.8 MB / 313.8 MB, free: 44 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009904/0.0009904, allocations: 179 kB / 384.6 MB, free: 10.81 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 223.2 MB / 0.6626 GB, free: 4.344 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001172, allocations: 97.98 kB / 0.7808 GB, free: 43.64 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000474/0.0004741, allocations: 16 kB / 0.9088 GB, free: 0.6797 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8697/0.8702, allocations: 120.3 MB / 1.026 GB, free: 56.74 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2191/1.089, allocations: 141.5 MB / 1.165 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/1.09, allocations: 77.41 kB / 1.165 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002419/1.092, allocations: 0.9212 MB / 1.165 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.497e-06/1.092, allocations: 0.5 kB / 1.165 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.13e-05/1.092, allocations: 4 kB / 1.165 GB, free: 15.71 MB / 0.7448 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.0003517/1.092, allocations: 349.9 kB / 1.166 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/1.093, allocations: 12.03 kB / 1.166 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/1.093, allocations: 4.844 kB / 1.166 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/1.093, allocations: 192.2 kB / 1.166 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/1.093, allocations: 4.375 kB / 1.166 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/1.093, allocations: 9.031 kB / 1.166 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/1.093, allocations: 101.7 kB / 1.166 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/1.093, allocations: 192 / 1.166 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/1.093, allocations: 7.938 kB / 1.166 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/1.093, allocations: 4 kB / 1.166 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.67e-05/1.093, allocations: 47.91 kB / 1.166 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006181/1.094, allocations: 0.6393 MB / 1.167 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.679e-05/1.094, allocations: 169.8 kB / 1.167 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.356e-05/1.094, allocations: 80.14 kB / 1.167 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/1.094, allocations: 75.28 kB / 1.167 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.095e-05/1.094, allocations: 117.8 kB / 1.167 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.894e-06/1.094, allocations: 0.8906 kB / 1.167 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 7.993e-05/1.094, allocations: 33.64 kB / 1.167 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.79e-05/1.094, allocations: 134.7 kB / 1.167 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/1.094, allocations: 173.6 kB / 1.168 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/1.094, allocations: 25.7 kB / 1.168 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.322e-05/1.094, allocations: 100 kB / 1.168 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.935e-06/1.094, allocations: 0 / 1.168 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-06/1.094, allocations: 0 / 1.168 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001221/1.095, allocations: 322.8 kB / 1.168 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.202e-05/1.095, allocations: 0 / 1.168 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.141e-05/1.095, allocations: 30.56 kB / 1.168 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.269e-05/1.095, allocations: 34.45 kB / 1.168 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.095, allocations: 0 / 1.168 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001237/1.095, allocations: 53.55 kB / 1.168 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/1.095, allocations: 4 kB / 1.168 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/1.095, allocations: 4.094 kB / 1.168 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/1.095, allocations: 11.92 kB / 1.168 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.715e-05/1.095, allocations: 4 kB / 1.168 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/1.095, allocations: 3.938 kB / 1.168 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.157e-05/1.095, allocations: 7.906 kB / 1.168 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/1.095, allocations: 0 / 1.168 GB, free: 12.75 MB / 0.7448 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001103/1.095, allocations: 197.5 kB / 1.168 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.341e-05/1.095, allocations: 110.1 kB / 1.168 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.244e-05/1.095, allocations: 124.7 kB / 1.169 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.501e-05/1.095, allocations: 176.3 kB / 1.169 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.918e-05/1.095, allocations: 180.3 kB / 1.169 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.591e-05/1.096, allocations: 184.2 kB / 1.169 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002601/1.096, allocations: 417.2 kB / 1.169 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.623e-05/1.096, allocations: 113.4 kB / 1.17 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-05/1.096, allocations: 105 kB / 1.17 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-05/1.096, allocations: 184.3 kB / 1.17 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.959e-05/1.096, allocations: 184.1 kB / 1.17 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.772e-05/1.096, allocations: 180.3 kB / 1.17 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.005e-05/1.096, allocations: 180.2 kB / 1.17 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/1.096, allocations: 311.7 kB / 1.171 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.265e-05/1.096, allocations: 189.9 kB / 1.171 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.083e-05/1.097, allocations: 184.2 kB / 1.171 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.722e-05/1.097, allocations: 109.9 kB / 1.171 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.659e-05/1.097, allocations: 184.3 kB / 1.171 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.43e-05/1.097, allocations: 101 kB / 1.171 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.62e-05/1.097, allocations: 127.2 kB / 1.172 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.21e-07/1.097, allocations: 3.938 kB / 1.172 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000219/1.097, allocations: 4 kB / 1.172 GB, free: 9.059 MB / 0.7448 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 (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.0001571/1.097, allocations: 174.5 kB / 1.172 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.266e-05/1.097, allocations: 13 kB / 1.172 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.097, allocations: 0 / 1.172 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.975e-06/1.097, allocations: 0 / 1.172 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004266/1.098, allocations: 0.5324 MB / 1.172 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000366/1.098, allocations: 244.8 kB / 1.172 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/1.098, allocations: 0.6926 MB / 1.173 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.56e-05/1.098, allocations: 4 kB / 1.173 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.135e-05/1.098, allocations: 7.438 kB / 1.173 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of SimCode: time 6.01e-07/1.098, allocations: 4 kB / 1.173 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of Templates: time 0.00221/1.101, allocations: 402.7 kB / 1.174 GB, free: 6.953 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)