Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001578/0.001578, allocations: 100.6 kB / 16.27 MB, free: 6.418 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.001653/0.001653, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.593/1.593, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.837/1.837, allocations: 292.3 MB / 0.5495 GB, free: 17.72 MB / 462.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.001625/0.001625, allocations: 71.91 kB / 0.6722 GB, free: 6.582 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2542, allocations: 114.6 MB / 0.784 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003681/0.258, allocations: 1.594 MB / 0.7856 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001676/0.2597, allocations: 0.9131 MB / 0.7865 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.2598, allocations: 4 kB / 0.7865 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.438e-05/0.2599, allocations: 3.938 kB / 0.7865 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002582/0.2602, allocations: 27.78 kB / 0.7865 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004923/0.2607, allocations: 140.6 kB / 0.7867 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.2608, allocations: 75.7 kB / 0.7867 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.261, allocations: 11.98 kB / 0.7867 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.2611, allocations: 31.86 kB / 0.7868 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.2612, allocations: 39.84 kB / 0.7868 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.2612, allocations: 4 kB / 0.7868 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004105/0.2617, allocations: 283.6 kB / 0.7871 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.83e-05/0.2617, allocations: 23.86 kB / 0.7871 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.752e-05/0.2617, allocations: 27.86 kB / 0.7871 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.262, allocations: 143.9 kB / 0.7873 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.262, allocations: 0 / 0.7873 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2621, allocations: 0 / 0.7873 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.2621, allocations: 4 kB / 0.7873 GB, free: 0.5664 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.0006127/0.2627, allocations: 411.1 kB / 0.7877 GB, free: 120 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.2627, allocations: 12.03 kB / 0.7877 GB, free: 108 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.2629, allocations: 12.84 kB / 0.7877 GB, free: 96 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3994/0.6623, allocations: 181.9 kB / 0.7879 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.6623, allocations: 5.656 kB / 0.7879 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.6624, allocations: 5.625 kB / 0.7879 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002409/0.6626, allocations: 61.62 kB / 0.7879 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.6626, allocations: 1.25 kB / 0.7879 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.6626, allocations: 3.656 kB / 0.7879 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.6627, allocations: 1.688 kB / 0.7879 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.6628, allocations: 43.56 kB / 0.788 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004492/0.6633, allocations: 299.5 kB / 0.7883 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.6635, allocations: 51.62 kB / 0.7883 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.957e-05/0.6635, allocations: 31.44 kB / 0.7883 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.6636, allocations: 0 / 0.7883 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.6636, allocations: 43.72 kB / 0.7884 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 9.41e-07/0.6636, allocations: 0 / 0.7884 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5): time 0.0003648/0.664, allocations: 105.6 kB / 0.7885 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.497e-05/0.664, allocations: 51.41 kB / 0.7885 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.824e-05/0.6641, allocations: 129.1 kB / 0.7887 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.6641, allocations: 29.64 kB / 0.7887 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.045e-05/0.6642, allocations: 96.2 kB / 0.7888 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.6642, allocations: 16.83 kB / 0.7888 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.6642, allocations: 20.34 kB / 0.7888 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.189e-05/0.6643, allocations: 323.3 kB / 0.7891 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.588e-05/0.6644, allocations: 17.98 kB / 0.7891 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.741e-05/0.6645, allocations: 25.19 kB / 0.7892 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.6646, allocations: 59.06 kB / 0.7892 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.6646, allocations: 0 / 0.7892 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001885/0.6648, allocations: 97.7 kB / 0.7893 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.6648, allocations: 7.125 kB / 0.7893 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.6648, allocations: 2.781 kB / 0.7893 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.6649, allocations: 2.844 kB / 0.7893 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.665, allocations: 14.8 kB / 0.7893 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.665, allocations: 0 / 0.7893 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.912e-05/0.6651, allocations: 6.531 kB / 0.7893 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.6651, allocations: 3.312 kB / 0.7894 GB, free: 47.82 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 6.241e-05/0.6651, allocations: 126.1 kB / 0.7895 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.937e-05/0.6652, allocations: 6.562 kB / 0.7895 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002364/0.6654, allocations: 101 kB / 0.7896 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.6654, allocations: 2.625 kB / 0.7896 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.6654, allocations: 1.703 kB / 0.7896 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.6655, allocations: 0 / 0.7896 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.6656, allocations: 188 kB / 0.7898 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.6656, allocations: 3.938 kB / 0.7898 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.679e-05/0.6657, allocations: 15.06 kB / 0.7898 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.6657, allocations: 0 / 0.7898 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.6657, allocations: 4.312 kB / 0.7898 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.6657, allocations: 4.375 kB / 0.7898 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.6657, allocations: 0.875 kB / 0.7898 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.6659, allocations: 181.4 kB / 0.79 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.917e-05/0.666, allocations: 88.02 kB / 0.79 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.666, allocations: 6.953 kB / 0.79 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.352e-05/0.6661, allocations: 12.45 kB / 0.7901 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.707e-05/0.6661, allocations: 4.125 kB / 0.7901 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.6662, allocations: 3.844 kB / 0.7901 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.813e-05/0.6662, allocations: 101.9 kB / 0.7902 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6662, allocations: 0.5938 kB / 0.7902 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002424/0.6665, allocations: 21.5 kB / 0.7902 GB, free: 47.16 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.0001888/0.6667, allocations: 124 kB / 0.7903 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002145/0.6669, allocations: 54.75 kB / 0.7904 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.6669, allocations: 0 / 0.7904 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.837e-05/0.667, allocations: 28.33 kB / 0.7904 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.6674, allocations: 17.56 kB / 0.7904 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000401/0.6678, allocations: 223.8 kB / 0.7906 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001374/0.6679, allocations: 0.6956 MB / 0.7913 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.252e-05/0.668, allocations: 10.06 kB / 0.7913 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of SimCode: time 3.11e-07/0.668, allocations: 0 / 0.7913 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of Templates: time 0.003007/0.671, allocations: 1.112 MB / 0.7924 GB, free: 46.19 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)