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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.845/1.845, allocations: 252 MB / 267.6 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 174.3 kB / 327.3 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.909/1.909, allocations: 205.4 MB / 0.5783 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008536/0.0008536, allocations: 90.36 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003651/0.0003651, allocations: 13.53 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.259, allocations: 106.3 MB / 0.9008 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002201/0.2613, allocations: 1.309 MB / 0.9021 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.2627, allocations: 0.8629 MB / 0.9029 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.572e-05/0.2628, allocations: 0 / 0.9029 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.579e-05/0.2629, allocations: 0 / 0.9029 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002308/0.2631, allocations: 23.78 kB / 0.903 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003862/0.2635, allocations: 97.19 kB / 0.9031 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.2637, allocations: 71.66 kB / 0.9031 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.2638, allocations: 11.97 kB / 0.9031 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.2639, allocations: 23.92 kB / 0.9032 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.264, allocations: 35.84 kB / 0.9032 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.2641, allocations: 0 / 0.9032 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003698/0.2645, allocations: 271.7 kB / 0.9035 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.2645, allocations: 15.92 kB / 0.9035 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.781e-05/0.2645, allocations: 37.69 kB / 0.9035 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.2647, allocations: 91.84 kB / 0.9036 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.2647, allocations: 0 / 0.9036 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.178e-06/0.2647, allocations: 0 / 0.9036 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.2647, allocations: 3.938 kB / 0.9036 GB, free: 61.05 MB / 0.6042 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.0005621/0.2653, allocations: 400.3 kB / 0.904 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.2654, allocations: 12.03 kB / 0.904 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/0.2655, allocations: 19.78 kB / 0.904 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.2657, allocations: 186.9 kB / 0.9042 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.2657, allocations: 0 / 0.9042 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.2657, allocations: 4 kB / 0.9042 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.2659, allocations: 65.66 kB / 0.9043 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.2659, allocations: 0 / 0.9043 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.266, allocations: 4 kB / 0.9043 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.266, allocations: 4 kB / 0.9043 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.2661, allocations: 51.92 kB / 0.9043 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004526/0.2666, allocations: 296.8 kB / 0.9046 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.2667, allocations: 54.56 kB / 0.9047 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.728e-05/0.2668, allocations: 32.97 kB / 0.9047 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.2668, allocations: 0 / 0.9047 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.2669, allocations: 34.56 kB / 0.9047 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 9.51e-07/0.2669, allocations: 4 kB / 0.9047 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0003825/0.2673, allocations: 121.6 kB / 0.9048 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.2673, allocations: 59.41 kB / 0.9049 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.268e-05/0.2674, allocations: 136.6 kB / 0.905 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.2674, allocations: 25.7 kB / 0.905 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.372e-05/0.2675, allocations: 96.08 kB / 0.9051 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.2675, allocations: 23.77 kB / 0.9052 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/0.2675, allocations: 0 / 0.9052 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.309e-05/0.2676, allocations: 318.8 kB / 0.9055 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.533e-05/0.2677, allocations: 31.97 kB / 0.9055 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.515e-05/0.2677, allocations: 28.05 kB / 0.9055 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.164e-05/0.2678, allocations: 27.98 kB / 0.9056 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2678, allocations: 0 / 0.9056 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002241/0.2681, allocations: 97.61 kB / 0.9056 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.2681, allocations: 4 kB / 0.9056 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.2681, allocations: 3.938 kB / 0.9057 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.2681, allocations: 7.953 kB / 0.9057 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.2683, allocations: 19.98 kB / 0.9057 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.2683, allocations: 0 / 0.9057 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.912e-05/0.2684, allocations: 15.89 kB / 0.9057 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.2684, allocations: 4 kB / 0.9057 GB, free: 58.69 MB / 0.6042 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.426e-05/0.2685, allocations: 109.8 kB / 0.9058 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.018e-05/0.2685, allocations: 7.906 kB / 0.9058 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002669/0.2688, allocations: 113.9 kB / 0.9059 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.2688, allocations: 4 kB / 0.9059 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.2688, allocations: 3.953 kB / 0.9059 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.2689, allocations: 0 / 0.9059 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.269, allocations: 181.6 kB / 0.9061 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.269, allocations: 0 / 0.9061 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.636e-05/0.2691, allocations: 19.98 kB / 0.9061 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.2691, allocations: 0 / 0.9061 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.2692, allocations: 4 kB / 0.9061 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2692, allocations: 0 / 0.9061 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2692, allocations: 4 kB / 0.9061 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.2694, allocations: 199.6 kB / 0.9063 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.274e-05/0.2695, allocations: 89.06 kB / 0.9064 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.2695, allocations: 7.984 kB / 0.9064 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.423e-05/0.2696, allocations: 8 kB / 0.9064 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.2697, allocations: 7.984 kB / 0.9064 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.2697, allocations: 0 / 0.9064 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.437e-05/0.2697, allocations: 105.9 kB / 0.9065 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2697, allocations: 0 / 0.9065 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002296/0.27, allocations: 24 kB / 0.9065 GB, free: 57.72 MB / 0.6042 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.0002301/0.2702, allocations: 115.2 kB / 0.9067 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002302/0.2704, allocations: 59.97 kB / 0.9067 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2705, allocations: 3.938 kB / 0.9067 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.293e-05/0.2705, allocations: 35.92 kB / 0.9068 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.2709, allocations: 15.98 kB / 0.9068 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004455/0.2713, allocations: 240.1 kB / 0.907 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001715/0.2715, allocations: 0.6926 MB / 0.9077 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.947e-05/0.2716, allocations: 19.42 kB / 0.9077 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/0.2716, allocations: 0 / 0.9077 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of Templates: time 0.002859/0.2744, allocations: 1.096 MB / 0.9088 GB, free: 55.39 MB / 0.6042 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)