Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.679/1.679, allocations: 297.8 MB / 313.7 MB, free: 164 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.0009519/0.000952, allocations: 183.2 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.381/1.381, allocations: 223.2 MB / 0.6626 GB, free: 4.371 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.0009217/0.0009221, allocations: 96.88 kB / 0.7808 GB, free: 43.57 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000404/0.0004038, allocations: 15.98 kB / 0.9088 GB, free: 0.7227 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6286/0.629, allocations: 120.3 MB / 1.026 GB, free: 56.62 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2017/0.8308, allocations: 143.2 MB / 1.166 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.8311, allocations: 86.53 kB / 1.166 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01577/0.8469, allocations: 5.346 MB / 1.171 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.344e-06/0.8469, allocations: 0 / 1.171 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.387e-05/0.8469, allocations: 4 kB / 1.171 GB, free: 9.762 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005742/0.8475, allocations: 407.1 kB / 1.172 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.8476, allocations: 12.03 kB / 1.172 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.8477, allocations: 8.844 kB / 1.172 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.848, allocations: 196.4 kB / 1.172 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.848, allocations: 384 / 1.172 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.848, allocations: 4.375 kB / 1.172 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.8482, allocations: 62.23 kB / 1.172 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.8482, allocations: 3.938 kB / 1.172 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.8482, allocations: 3.938 kB / 1.172 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.8482, allocations: 0 / 1.172 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.8484, allocations: 59.95 kB / 1.172 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005424/0.849, allocations: 312.7 kB / 1.172 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.8491, allocations: 54.5 kB / 1.173 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.591e-05/0.8492, allocations: 40.95 kB / 1.173 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.8493, allocations: 3.938 kB / 1.173 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.8493, allocations: 34.56 kB / 1.173 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.573e-06/0.8493, allocations: 0 / 1.173 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.0003771/0.8497, allocations: 113.6 kB / 1.173 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.8497, allocations: 55.41 kB / 1.173 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.8498, allocations: 132.2 kB / 1.173 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.8499, allocations: 25.7 kB / 1.173 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.869e-05/0.8499, allocations: 104.1 kB / 1.173 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.85, allocations: 19.75 kB / 1.173 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.85, allocations: 0 / 1.173 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.8501, allocations: 322.8 kB / 1.173 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.879e-05/0.8502, allocations: 27.98 kB / 1.173 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.456e-05/0.8502, allocations: 27.92 kB / 1.173 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.8504, allocations: 60.83 kB / 1.173 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.8504, allocations: 0 / 1.173 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002247/0.8507, allocations: 105.5 kB / 1.174 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.8507, allocations: 7.984 kB / 1.174 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.8507, allocations: 0 / 1.174 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.8507, allocations: 0 / 1.174 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.8508, allocations: 19.98 kB / 1.174 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.8509, allocations: 0 / 1.174 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.142e-05/0.8509, allocations: 15.84 kB / 1.174 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.8509, allocations: 448 / 1.174 GB, free: 7.352 MB / 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 (6): * Single equations (assignments): 6 * 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.786e-05/0.851, allocations: 118.3 kB / 1.174 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.868e-05/0.8511, allocations: 4 kB / 1.174 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002577/0.8514, allocations: 114 kB / 1.174 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.8514, allocations: 4 kB / 1.174 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.8514, allocations: 0 / 1.174 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.8514, allocations: 0 / 1.174 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.8516, allocations: 189.5 kB / 1.174 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.8516, allocations: 0 / 1.174 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.501e-05/0.8517, allocations: 15.94 kB / 1.174 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.8517, allocations: 4 kB / 1.174 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.8517, allocations: 7.984 kB / 1.174 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.8517, allocations: 3.938 kB / 1.174 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.8517, allocations: 0 / 1.174 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.852, allocations: 195.4 kB / 1.174 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.464e-05/0.852, allocations: 85.02 kB / 1.174 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.8521, allocations: 4 kB / 1.174 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.203e-05/0.8522, allocations: 4 kB / 1.174 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.8522, allocations: 11.98 kB / 1.174 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.8522, allocations: 0 / 1.174 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.929e-05/0.8523, allocations: 97.3 kB / 1.174 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8523, allocations: 0 / 1.174 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002412/0.8525, allocations: 27.94 kB / 1.174 GB, free: 6.383 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 (6): * Single equations (assignments): 6 * 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.0002119/0.8527, allocations: 127.2 kB / 1.175 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002102/0.853, allocations: 59.97 kB / 1.175 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.853, allocations: 0 / 1.175 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.21e-05/0.8531, allocations: 31.97 kB / 1.175 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.8534, allocations: 25.14 kB / 1.175 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004377/0.8538, allocations: 214.9 kB / 1.175 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.8541, allocations: 0.6936 MB / 1.176 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.629e-05/0.8542, allocations: 4 kB / 1.176 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.845e-05/0.8542, allocations: 11.44 kB / 1.176 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/0.8542, allocations: 0 / 1.176 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of Templates: time 0.003441/0.8577, allocations: 0.9777 MB / 1.177 GB, free: 4.215 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)