Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.722/1.722, allocations: 288.4 MB / 303.7 MB, free: 7.977 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009657/0.0009657, allocations: 182.6 kB / 372.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.654/1.654, allocations: 205.4 MB / 0.631 GB, free: 9.938 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008104/0.0008107, allocations: 86.3 kB / 0.7444 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005396/0.0005398, allocations: 13.44 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2447, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001696/0.2465, allocations: 1.313 MB / 0.9814 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.2477, allocations: 0.8445 MB / 0.9822 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.861e-05/0.2478, allocations: 0 / 0.9822 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.187e-05/0.2478, allocations: 3.984 kB / 0.9823 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002089/0.248, allocations: 23.78 kB / 0.9823 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002648/0.2483, allocations: 93.45 kB / 0.9824 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.2484, allocations: 63.72 kB / 0.9824 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.2486, allocations: 19.88 kB / 0.9824 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.494e-05/0.2487, allocations: 31.91 kB / 0.9825 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.2488, allocations: 35.78 kB / 0.9825 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.2489, allocations: 4 kB / 0.9825 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002981/0.2492, allocations: 263.7 kB / 0.9828 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.84e-05/0.2492, allocations: 15.92 kB / 0.9828 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.896e-05/0.2492, allocations: 53.56 kB / 0.9828 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.2494, allocations: 100 kB / 0.9829 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2494, allocations: 0 / 0.9829 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.013e-06/0.2494, allocations: 0 / 0.9829 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.2494, allocations: 0 / 0.9829 GB, free: 24.48 MB / 0.6198 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.0005013/0.2499, allocations: 399.2 kB / 0.9833 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.25, allocations: 12.03 kB / 0.9833 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.2501, allocations: 12.84 kB / 0.9833 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.2503, allocations: 193.8 kB / 0.9835 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.2503, allocations: 384 / 0.9835 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.2503, allocations: 8.125 kB / 0.9835 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.2505, allocations: 69.59 kB / 0.9836 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/0.2505, allocations: 0 / 0.9836 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.2505, allocations: 4 kB / 0.9836 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.2506, allocations: 4 kB / 0.9836 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.2507, allocations: 47.97 kB / 0.9836 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004137/0.2511, allocations: 300.8 kB / 0.9839 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.2513, allocations: 58.48 kB / 0.984 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.565e-05/0.2514, allocations: 32.97 kB / 0.984 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.2514, allocations: 4 kB / 0.984 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.2514, allocations: 38.55 kB / 0.9841 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 2.074e-06/0.2514, allocations: 0 / 0.9841 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0003585/0.2518, allocations: 117.5 kB / 0.9842 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.2518, allocations: 55.41 kB / 0.9842 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.165e-05/0.2519, allocations: 133.8 kB / 0.9843 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.2519, allocations: 25.7 kB / 0.9844 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.211e-05/0.252, allocations: 100 kB / 0.9845 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.252, allocations: 23.81 kB / 0.9845 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-06/0.252, allocations: 0 / 0.9845 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.246e-05/0.2521, allocations: 322.8 kB / 0.9848 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.188e-05/0.2522, allocations: 27.98 kB / 0.9848 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.946e-05/0.2522, allocations: 23.98 kB / 0.9848 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.2524, allocations: 64.83 kB / 0.9849 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2524, allocations: 0 / 0.9849 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002144/0.2526, allocations: 97.58 kB / 0.985 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.2526, allocations: 5.094 kB / 0.985 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.2526, allocations: 3.984 kB / 0.985 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.2527, allocations: 3.938 kB / 0.985 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.2528, allocations: 15.94 kB / 0.985 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.2528, allocations: 11.98 kB / 0.985 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.685e-05/0.2529, allocations: 8 kB / 0.9851 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.2529, allocations: 3.938 kB / 0.9851 GB, free: 22.08 MB / 0.6198 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 6.61e-05/0.253, allocations: 113.8 kB / 0.9852 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.519e-05/0.253, allocations: 7.906 kB / 0.9852 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002279/0.2532, allocations: 106 kB / 0.9853 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.2532, allocations: 7.938 kB / 0.9853 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2532, allocations: 0 / 0.9853 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2533, allocations: 0 / 0.9853 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.2534, allocations: 182.1 kB / 0.9855 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2534, allocations: 0 / 0.9855 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.821e-05/0.2535, allocations: 19.98 kB / 0.9855 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2535, allocations: 0 / 0.9855 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.2535, allocations: 11.98 kB / 0.9855 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2535, allocations: 0 / 0.9855 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.2535, allocations: 0 / 0.9855 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.2537, allocations: 191.4 kB / 0.9857 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.239e-05/0.2538, allocations: 89 kB / 0.9858 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.2538, allocations: 8 kB / 0.9858 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.116e-05/0.2539, allocations: 7.938 kB / 0.9858 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.2539, allocations: 11.92 kB / 0.9858 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.254, allocations: 0 / 0.9858 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.046e-05/0.254, allocations: 104.6 kB / 0.9859 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.254, allocations: 0 / 0.9859 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002216/0.2542, allocations: 20 kB / 0.9859 GB, free: 21.12 MB / 0.6198 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.0001887/0.2544, allocations: 119.2 kB / 0.986 GB, free: 21 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002069/0.2546, allocations: 59.97 kB / 0.9861 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2547, allocations: 0 / 0.9861 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.712e-05/0.2547, allocations: 35.92 kB / 0.9861 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.2551, allocations: 11.98 kB / 0.9861 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003724/0.2554, allocations: 214.5 kB / 0.9863 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/0.2556, allocations: 0.6979 MB / 0.987 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.052e-05/0.2557, allocations: 4 kB / 0.987 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.826e-05/0.2557, allocations: 7.438 kB / 0.987 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2557, allocations: 0 / 0.987 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of Templates: time 0.003277/0.259, allocations: 1.005 MB / 0.988 GB, free: 18.93 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)