Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.668/1.668, allocations: 297.8 MB / 313.7 MB, free: 144 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.0008662/0.0008662, allocations: 184.5 kB / 384.6 MB, free: 10.87 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.312/1.312, allocations: 223.2 MB / 0.6626 GB, free: 4.348 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.0007892/0.0007892, allocations: 94.2 kB / 0.7808 GB, free: 50.34 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004729/0.000473, allocations: 15.94 kB / 0.9088 GB, free: 2.891 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6843/0.6848, allocations: 120.3 MB / 1.026 GB, free: 55.73 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1739/0.8587, allocations: 144.1 MB / 1.167 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/0.859, allocations: 87.38 kB / 1.167 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02478/0.8838, allocations: 10.04 MB / 1.177 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.898e-06/0.8838, allocations: 0 / 1.177 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.531e-05/0.8838, allocations: 11.06 kB / 1.177 GB, free: 7.594 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001465/0.8853, allocations: 0.8953 MB / 1.178 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.8854, allocations: 8.031 kB / 1.178 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005664/0.8859, allocations: 115.8 kB / 1.178 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008235/0.8868, allocations: 0.5584 MB / 1.178 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.8868, allocations: 18.62 kB / 1.179 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.974e-05/0.8869, allocations: 9.406 kB / 1.179 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004863/0.8874, allocations: 238.6 kB / 1.179 GB, free: 5.664 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.8874, allocations: 192 / 1.179 GB, free: 5.664 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.8874, allocations: 13.06 kB / 1.179 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.8874, allocations: 0 / 1.179 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006012/0.888, allocations: 307.8 kB / 1.179 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001544/0.8896, allocations: 0.9702 MB / 1.18 GB, free: 4.332 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007843/0.8904, allocations: 394.3 kB / 1.18 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002905/0.8907, allocations: 145.8 kB / 1.181 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006679/0.8914, allocations: 336.8 kB / 1.181 GB, free: 3.445 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.8914, allocations: 42.5 kB / 1.181 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.764e-06/0.8914, allocations: 0 / 1.181 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.001131/0.8925, allocations: 0.513 MB / 1.181 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.8926, allocations: 57.7 kB / 1.181 GB, free: 2.809 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/0.8941, allocations: 1.005 MB / 1.182 GB, free: 1.789 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.8941, allocations: 30.55 kB / 1.182 GB, free: 1.754 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003255/0.8944, allocations: 345.2 kB / 1.183 GB, free: 1.414 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.524e-05/0.8945, allocations: 31.55 kB / 1.183 GB, free: 1.383 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.079e-05/0.8945, allocations: 0 / 1.183 GB, free: 1.383 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.8946, allocations: 306 kB / 1.183 GB, free: 1.078 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002907/0.8949, allocations: 139.9 kB / 1.183 GB, free: 0.9414 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000272/0.8952, allocations: 140.8 kB / 1.183 GB, free: 0.8047 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005398/0.8958, allocations: 281.3 kB / 1.184 GB, free: 0.5273 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.8958, allocations: 0 / 1.184 GB, free: 0.5273 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007157/0.8965, allocations: 393.9 kB / 1.184 GB, free: 140 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.8965, allocations: 4 kB / 1.184 GB, free: 136 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.8965, allocations: 0 / 1.184 GB, free: 136 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.8966, allocations: 0 / 1.184 GB, free: 136 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.8968, allocations: 31.92 kB / 1.184 GB, free: 104 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.8968, allocations: 0.9375 kB / 1.184 GB, free: 104 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.897, allocations: 27.83 kB / 1.184 GB, free: 76 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.733e-05/0.897, allocations: 11.98 kB / 1.184 GB, free: 64 kB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (9): * Single equations (assignments): 9 * 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.0003282/0.8974, allocations: 246.3 kB / 1.184 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.812e-05/0.8975, allocations: 79 kB / 1.184 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009205/0.8984, allocations: 460.4 kB / 1.185 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.8984, allocations: 0 / 1.185 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.8984, allocations: 0 / 1.185 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.8984, allocations: 0 / 1.185 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005925/0.899, allocations: 0.5542 MB / 1.185 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.899, allocations: 7.922 kB / 1.185 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.8992, allocations: 27.98 kB / 1.185 GB, free: 14.65 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.8992, allocations: 0 / 1.185 GB, free: 14.65 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.8992, allocations: 11.98 kB / 1.185 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.8993, allocations: 3.938 kB / 1.185 GB, free: 14.63 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.8993, allocations: 0 / 1.185 GB, free: 14.63 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007068/0.9, allocations: 486.4 kB / 1.186 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002343/0.9002, allocations: 200 kB / 1.186 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.26e-05/0.9003, allocations: 8 kB / 1.186 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/0.9005, allocations: 19.86 kB / 1.186 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.9005, allocations: 14.48 kB / 1.186 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.367e-05/0.9006, allocations: 12 kB / 1.186 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0009186/0.9015, allocations: 0.7293 MB / 1.187 GB, free: 13.15 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9015, allocations: 0 / 1.187 GB, free: 13.15 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004226/0.9019, allocations: 67.91 kB / 1.187 GB, free: 13.09 MB / 0.7605 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 (9): * Single equations (assignments): 9 * 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.0002886/0.9022, allocations: 152.9 kB / 1.187 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0005223/0.9028, allocations: 245.2 kB / 1.187 GB, free: 12.69 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.9028, allocations: 0 / 1.187 GB, free: 12.69 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002374/0.903, allocations: 127.9 kB / 1.187 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.9035, allocations: 58.38 kB / 1.187 GB, free: 12.51 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.9053, allocations: 1.271 MB / 1.189 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000578/0.9059, allocations: 0.9412 MB / 1.19 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002119/0.9061, allocations: 83.09 kB / 1.19 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.085e-05/0.9062, allocations: 35.44 kB / 1.19 GB, free: 10.12 MB / 0.7605 GB Notification: Performance of SimCode: time 3.51e-07/0.9062, allocations: 0 / 1.19 GB, free: 10.12 MB / 0.7605 GB Notification: Performance of Templates: time 0.01033/0.9165, allocations: 4.921 MB / 1.195 GB, free: 5.328 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1)