Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007131/0.007131, allocations: 101.4 kB / 15.73 MB, free: 6.047 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.002353/0.002353, allocations: 182.3 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.615/1.615, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.564/1.564, allocations: 251.7 MB / 0.5094 GB, free: 3.066 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 83.81 kB / 0.7258 GB, free: 9.008 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2568, allocations: 104.7 MB / 0.8281 GB, free: 208 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003041/0.2599, allocations: 1.599 MB / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001572/0.2615, allocations: 0.9092 MB / 0.8305 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.849e-05/0.2616, allocations: 0 / 0.8305 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.401e-05/0.2616, allocations: 11.86 kB / 0.8305 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002481/0.2619, allocations: 27.73 kB / 0.8306 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003455/0.2623, allocations: 143.5 kB / 0.8307 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.2624, allocations: 75.7 kB / 0.8308 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.2625, allocations: 8 kB / 0.8308 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.2627, allocations: 43.84 kB / 0.8308 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.2628, allocations: 31.84 kB / 0.8308 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.2628, allocations: 4 kB / 0.8309 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003784/0.2632, allocations: 291.6 kB / 0.8311 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.09e-05/0.2632, allocations: 7.938 kB / 0.8311 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.424e-05/0.2633, allocations: 35.78 kB / 0.8312 GB, free: 13 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.2636, allocations: 147.7 kB / 0.8313 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.2636, allocations: 3.984 kB / 0.8313 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2636, allocations: 0 / 0.8313 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.2636, allocations: 0 / 0.8313 GB, free: 12.86 MB / 0.6544 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.0006738/0.2643, allocations: 407.1 kB / 0.8317 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.2643, allocations: 8.031 kB / 0.8317 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.2645, allocations: 12.84 kB / 0.8317 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.2647, allocations: 196 kB / 0.8319 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.2648, allocations: 384 / 0.8319 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.2648, allocations: 4.375 kB / 0.8319 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.265, allocations: 65.98 kB / 0.832 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.265, allocations: 0 / 0.832 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.265, allocations: 3.984 kB / 0.832 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.265, allocations: 0 / 0.832 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001504/0.2652, allocations: 39.97 kB / 0.832 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005068/0.2657, allocations: 304.8 kB / 0.8323 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.2658, allocations: 50.55 kB / 0.8324 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.242e-05/0.2659, allocations: 32.97 kB / 0.8324 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.266, allocations: 3.938 kB / 0.8324 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.266, allocations: 30.56 kB / 0.8324 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.266, allocations: 0 / 0.8324 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5): time 0.0004041/0.2664, allocations: 117.5 kB / 0.8325 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.2665, allocations: 51.41 kB / 0.8326 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.2666, allocations: 132.6 kB / 0.8327 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.2666, allocations: 25.7 kB / 0.8327 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.47e-05/0.2667, allocations: 96.05 kB / 0.8328 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.2667, allocations: 19.73 kB / 0.8328 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.635e-05/0.2668, allocations: 21.72 kB / 0.8329 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.2669, allocations: 326.8 kB / 0.8332 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.721e-05/0.267, allocations: 19.98 kB / 0.8332 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.613e-05/0.2671, allocations: 19.98 kB / 0.8332 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.2672, allocations: 57.14 kB / 0.8333 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2672, allocations: 4 kB / 0.8333 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000208/0.2674, allocations: 101.5 kB / 0.8334 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.2675, allocations: 8 kB / 0.8334 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2675, allocations: 0 / 0.8334 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.2675, allocations: 0 / 0.8334 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.2676, allocations: 15.98 kB / 0.8334 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.2676, allocations: 0 / 0.8334 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.94e-05/0.2677, allocations: 4 kB / 0.8334 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.433e-06/0.2677, allocations: 0 / 0.8334 GB, free: 10.5 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.969e-05/0.2678, allocations: 117.8 kB / 0.8335 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.599e-05/0.2679, allocations: 15.89 kB / 0.8335 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002493/0.2681, allocations: 97.91 kB / 0.8336 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2681, allocations: 0 / 0.8336 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2681, allocations: 0 / 0.8336 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.2681, allocations: 4 kB / 0.8336 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.2683, allocations: 181.6 kB / 0.8338 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2683, allocations: 0 / 0.8338 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.202e-05/0.2684, allocations: 16 kB / 0.8338 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.2684, allocations: 7.984 kB / 0.8338 GB, free: 10 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.2685, allocations: 0 / 0.8338 GB, free: 10 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2685, allocations: 0 / 0.8338 GB, free: 10 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2685, allocations: 0 / 0.8338 GB, free: 10 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.2687, allocations: 199.2 kB / 0.834 GB, free: 9.789 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.926e-05/0.2688, allocations: 88.94 kB / 0.8341 GB, free: 9.684 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.2688, allocations: 192 / 0.8341 GB, free: 9.684 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.202e-05/0.2689, allocations: 12 kB / 0.8341 GB, free: 9.672 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.697e-05/0.2689, allocations: 7.984 kB / 0.8341 GB, free: 9.664 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.269, allocations: 0 / 0.8341 GB, free: 9.664 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.717e-05/0.269, allocations: 101.6 kB / 0.8342 GB, free: 9.566 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.269, allocations: 4 kB / 0.8342 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002374/0.2693, allocations: 16 kB / 0.8342 GB, free: 9.547 MB / 0.6544 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 (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.000206/0.2695, allocations: 123.2 kB / 0.8343 GB, free: 9.418 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002259/0.2697, allocations: 59.91 kB / 0.8344 GB, free: 9.359 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.217e-06/0.2697, allocations: 0 / 0.8344 GB, free: 9.359 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.466e-05/0.2698, allocations: 35.91 kB / 0.8344 GB, free: 9.324 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.2701, allocations: 14.39 kB / 0.8345 GB, free: 9.312 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004649/0.2706, allocations: 180.3 kB / 0.8346 GB, free: 9.109 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.2709, allocations: 0.7039 MB / 0.8353 GB, free: 8.379 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.884e-05/0.2709, allocations: 11.73 kB / 0.8353 GB, free: 8.367 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.066e-05/0.271, allocations: 11.44 kB / 0.8353 GB, free: 8.355 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.271, allocations: 0 / 0.8353 GB, free: 8.355 MB / 0.6544 GB Notification: Performance of Templates: time 0.003862/0.2748, allocations: 1.091 MB / 0.8364 GB, free: 7.277 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)