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 10.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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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 10.0.0-master/package.mo): time 2.194/2.194, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 189.5 kB / 499.1 MB, free: 4.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 222.9 MB / 0.7948 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 111.5 kB / 0.9329 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001048/0.001048, allocations: 52.39 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2579, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002977/0.2609, allocations: 1.66 MB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.2622, allocations: 0.929 MB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.594e-05/0.2623, allocations: 0 / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.348e-05/0.2624, allocations: 3.938 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001886/0.2626, allocations: 19.84 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.2628, allocations: 103.8 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.263, allocations: 67.73 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.73e-05/0.2631, allocations: 15.98 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.157e-05/0.2631, allocations: 35.84 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.2633, allocations: 35.84 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.2633, allocations: 4 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002928/0.2636, allocations: 279.7 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.474e-05/0.2636, allocations: 7.922 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.185e-05/0.2637, allocations: 31.8 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.2639, allocations: 145.8 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.2639, allocations: 7.875 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of FrontEnd: time 7.81e-07/0.2639, allocations: 0 / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.2639, allocations: 0 / 1.221 GB, free: 113.8 MB / 0.823 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.0004686/0.2644, allocations: 419.1 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.2644, allocations: 11.98 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.2645, allocations: 12.84 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.2647, allocations: 185.3 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.923e-06/0.2647, allocations: 4.375 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.2647, allocations: 8.125 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.2649, allocations: 61.66 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.2649, allocations: 0 / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.2649, allocations: 4 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.2649, allocations: 0 / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.265, allocations: 43.91 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003604/0.2654, allocations: 304.7 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.2655, allocations: 54.55 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.241e-05/0.2656, allocations: 32.97 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.2657, allocations: 7.984 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.2657, allocations: 34.56 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of pre-optimization done (n=5): time 1.673e-06/0.2657, allocations: 0 / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=5): time 0.0003241/0.266, allocations: 113.5 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/0.266, allocations: 51.41 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.208e-05/0.2661, allocations: 131.4 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.298e-06/0.2661, allocations: 25.7 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.523e-05/0.2662, allocations: 100.1 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.404e-05/0.2662, allocations: 11.81 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.2662, allocations: 21.7 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.729e-05/0.2663, allocations: 326.8 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.43e-05/0.2664, allocations: 23.98 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.067e-05/0.2664, allocations: 19.98 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.2666, allocations: 56.77 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2666, allocations: 0 / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001874/0.2668, allocations: 89.52 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.2668, allocations: 12 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2668, allocations: 0 / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.2668, allocations: 0 / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.267, allocations: 15.98 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.267, allocations: 4 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.648e-05/0.267, allocations: 11.89 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.267, allocations: 3.938 kB / 1.223 GB, free: 111.5 MB / 0.823 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 5.873e-05/0.2671, allocations: 122.4 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/0.2672, allocations: 4 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002209/0.2674, allocations: 101.9 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.2674, allocations: 0 / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2674, allocations: 0.5 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2674, allocations: 4 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.2675, allocations: 185.5 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2676, allocations: 4 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.759e-05/0.2676, allocations: 15.98 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2676, allocations: 0 / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.2677, allocations: 8 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.2677, allocations: 0 / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2677, allocations: 0 / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004171/0.2681, allocations: 0.7629 MB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.493e-05/0.2681, allocations: 93 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.2682, allocations: 3.938 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.107e-05/0.2682, allocations: 8 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/0.2683, allocations: 7.984 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.2683, allocations: 0 / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.279e-05/0.2683, allocations: 100.2 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2684, allocations: 0 / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003559/0.2687, allocations: 24 kB / 1.225 GB, free: 109.9 MB / 0.823 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.0002006/0.2689, allocations: 119.3 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002013/0.2691, allocations: 51.97 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2691, allocations: 0 / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 7.83e-05/0.2692, allocations: 35.92 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.2696, allocations: 15.5 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000421/0.27, allocations: 324.9 kB / 1.225 GB, free: 109.3 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.2701, allocations: 0.6926 MB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 4.9e-05/0.2702, allocations: 11.94 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.916e-05/0.2702, allocations: 11.42 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of SimCode: time 5.01e-07/0.2702, allocations: 3.938 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of Templates: time 0.00313/0.2734, allocations: 1.055 MB / 1.227 GB, free: 107.5 MB / 0.823 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)