Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001935/0.001935, allocations: 97.14 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.002064/0.002064, allocations: 190.3 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.45/1.45, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.832/1.832, allocations: 292.3 MB / 0.5495 GB, free: 17.68 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.001462/0.001462, allocations: 71.91 kB / 0.6722 GB, free: 6.512 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2628, allocations: 114.6 MB / 0.784 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.4962/0.759, allocations: 4.562 MB / 0.7885 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.7601, allocations: 0.8164 MB / 0.7893 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.894e-05/0.7602, allocations: 0 / 0.7893 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001977/0.7604, allocations: 38.5 kB / 0.7893 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.501e-05/0.7605, allocations: 30.28 kB / 0.7894 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005045/0.761, allocations: 170.2 kB / 0.7895 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.7612, allocations: 181.2 kB / 0.7897 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.7613, allocations: 20.34 kB / 0.7897 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.7615, allocations: 77.67 kB / 0.7898 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.806e-05/0.7616, allocations: 77.39 kB / 0.7899 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.7616, allocations: 13.12 kB / 0.7899 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003314/0.7619, allocations: 157.3 kB / 0.79 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.869e-05/0.762, allocations: 37.17 kB / 0.7901 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.225e-05/0.7621, allocations: 61.41 kB / 0.7901 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003827/0.7624, allocations: 239.5 kB / 0.7903 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.7625, allocations: 0 / 0.7903 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7625, allocations: 0 / 0.7903 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.263e-06/0.7625, allocations: 0 / 0.7903 GB, free: 46.47 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008614/0.7633, allocations: 482.1 kB / 0.7908 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.7634, allocations: 10.34 kB / 0.7908 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.726e-05/0.7635, allocations: 15.97 kB / 0.7908 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.7636, allocations: 187.7 kB / 0.791 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.7636, allocations: 11.84 kB / 0.791 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/0.7637, allocations: 15.97 kB / 0.791 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00031/0.764, allocations: 120 kB / 0.7912 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.764, allocations: 0 / 0.7912 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.764, allocations: 3.062 kB / 0.7912 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.764, allocations: 2.5 kB / 0.7912 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004068/0.7644, allocations: 142.4 kB / 0.7913 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009475/0.7654, allocations: 470.4 kB / 0.7917 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/0.7657, allocations: 126.2 kB / 0.7919 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.7659, allocations: 66.72 kB / 0.7919 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00115/0.767, allocations: 0.9664 MB / 0.7929 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/0.7671, allocations: 37 kB / 0.7929 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 1.423e-06/0.7671, allocations: 0 / 0.7929 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12): time 0.0006398/0.7677, allocations: 209.9 kB / 0.7931 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/0.7678, allocations: 58.03 kB / 0.7932 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.7679, allocations: 163.3 kB / 0.7933 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.7679, allocations: 31.89 kB / 0.7933 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.216e-05/0.768, allocations: 110 kB / 0.7935 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.768, allocations: 38.45 kB / 0.7935 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.942e-05/0.7681, allocations: 48.81 kB / 0.7935 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.86e-05/0.7681, allocations: 324.2 kB / 0.7938 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.7684, allocations: 80.62 kB / 0.7939 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/0.7686, allocations: 110.6 kB / 0.794 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003744/0.769, allocations: 170.7 kB / 0.7942 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.769, allocations: 0 / 0.7942 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005023/0.7695, allocations: 247.5 kB / 0.7944 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.7695, allocations: 16.03 kB / 0.7944 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.7695, allocations: 0.5 kB / 0.7944 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.7696, allocations: 4.812 kB / 0.7944 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002559/0.7698, allocations: 47.34 kB / 0.7945 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.7698, allocations: 6.781 kB / 0.7945 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.77, allocations: 30.92 kB / 0.7945 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.77, allocations: 10.5 kB / 0.7945 GB, free: 43.81 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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.901e-05/0.7701, allocations: 123.9 kB / 0.7947 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.7701, allocations: 18.14 kB / 0.7947 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004415/0.7706, allocations: 178.7 kB / 0.7948 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.7706, allocations: 0 / 0.7948 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.7706, allocations: 2.953 kB / 0.7948 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.7706, allocations: 3.375 kB / 0.7948 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.7708, allocations: 218.7 kB / 0.7951 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.7708, allocations: 0 / 0.7951 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.7709, allocations: 30.5 kB / 0.7951 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.771, allocations: 3.938 kB / 0.7951 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.771, allocations: 4.594 kB / 0.7951 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.771, allocations: 3.281 kB / 0.7951 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.771, allocations: 0 / 0.7951 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004157/0.7714, allocations: 257.3 kB / 0.7953 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.277e-05/0.7715, allocations: 105.1 kB / 0.7954 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.7715, allocations: 7.875 kB / 0.7954 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.7716, allocations: 11.77 kB / 0.7955 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.937e-05/0.7717, allocations: 12.8 kB / 0.7955 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.7717, allocations: 2.625 kB / 0.7955 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.987e-05/0.7718, allocations: 122.1 kB / 0.7956 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7718, allocations: 0 / 0.7956 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003318/0.7721, allocations: 60 kB / 0.7956 GB, free: 43.11 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 (12): * Single equations (assignments): 12 * 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.0002808/0.7724, allocations: 164.3 kB / 0.7958 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005182/0.7729, allocations: 183.5 kB / 0.796 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.773, allocations: 0 / 0.796 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001865/0.7731, allocations: 71.42 kB / 0.796 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.7735, allocations: 23.94 kB / 0.7961 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004402/0.774, allocations: 271.1 kB / 0.7963 GB, free: 42.81 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/0.7741, allocations: 0.701 MB / 0.797 GB, free: 42.11 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.828e-05/0.7742, allocations: 21.22 kB / 0.797 GB, free: 42.11 MB / 0.6544 GB Notification: Performance of SimCode: time 3.61e-07/0.7742, allocations: 0 / 0.797 GB, free: 42.11 MB / 0.6544 GB Notification: Performance of Templates: time 0.004884/0.7791, allocations: 2.555 MB / 0.7995 GB, free: 41.9 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)