Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.75/1.75, allocations: 288.4 MB / 303.4 MB, free: 8.07 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.0009898/0.0009896, allocations: 184.5 kB / 372 MB, free: 10.28 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.617/1.617, allocations: 205.4 MB / 0.6307 GB, free: 10.02 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.0008736/0.0008738, allocations: 90.34 kB / 0.7441 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003895/0.0003896, allocations: 17.59 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2344, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004537/0.2389, allocations: 4.101 MB / 0.9836 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008957/0.2399, allocations: 0.7646 MB / 0.9843 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.24, allocations: 0 / 0.9843 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001662/0.2402, allocations: 19.89 kB / 0.9844 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.829e-05/0.2403, allocations: 31.7 kB / 0.9844 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005575/0.2409, allocations: 131.5 kB / 0.9845 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.2411, allocations: 151.4 kB / 0.9847 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.2412, allocations: 13.11 kB / 0.9847 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00018/0.2414, allocations: 71.75 kB / 0.9847 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.2415, allocations: 75.73 kB / 0.9848 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.543e-05/0.2415, allocations: 8 kB / 0.9848 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003242/0.2419, allocations: 115.8 kB / 0.9849 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.126e-05/0.2419, allocations: 27.89 kB / 0.985 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.78e-05/0.2419, allocations: 49.64 kB / 0.985 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.2422, allocations: 155.8 kB / 0.9852 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2422, allocations: 3.938 kB / 0.9852 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2422, allocations: 0 / 0.9852 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.2422, allocations: 0 / 0.9852 GB, free: 21.95 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008112/0.2431, allocations: 474.8 kB / 0.9856 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.2431, allocations: 12.02 kB / 0.9856 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.95e-05/0.2432, allocations: 19.77 kB / 0.9856 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.2433, allocations: 176.6 kB / 0.9858 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.2433, allocations: 8 kB / 0.9858 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.2433, allocations: 8 kB / 0.9858 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003382/0.2437, allocations: 130.8 kB / 0.9859 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.2437, allocations: 3.938 kB / 0.9859 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.2437, allocations: 8 kB / 0.986 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.2437, allocations: 0 / 0.986 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004036/0.2442, allocations: 163.9 kB / 0.9861 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.2452, allocations: 468.5 kB / 0.9866 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/0.2455, allocations: 142.5 kB / 0.9867 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.2457, allocations: 88.69 kB / 0.9868 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001135/0.2468, allocations: 0.9683 MB / 0.9877 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.2469, allocations: 34.56 kB / 0.9878 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.883e-06/0.2469, allocations: 0 / 0.9878 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0006917/0.2476, allocations: 233.8 kB / 0.988 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.2476, allocations: 63.34 kB / 0.988 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.2477, allocations: 165.1 kB / 0.9882 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.2478, allocations: 29.7 kB / 0.9882 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.855e-05/0.2478, allocations: 112.3 kB / 0.9883 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.2479, allocations: 47.44 kB / 0.9884 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.638e-06/0.2479, allocations: 0 / 0.9884 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.432e-05/0.248, allocations: 326.8 kB / 0.9887 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.2482, allocations: 75.95 kB / 0.9888 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002302/0.2484, allocations: 124.7 kB / 0.9889 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002228/0.2486, allocations: 87.97 kB / 0.989 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.2487, allocations: 7.953 kB / 0.989 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005609/0.2492, allocations: 267.8 kB / 0.9892 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.2493, allocations: 4 kB / 0.9892 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.2493, allocations: 0 / 0.9892 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.2493, allocations: 12.03 kB / 0.9892 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002735/0.2496, allocations: 59.95 kB / 0.9893 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.2496, allocations: 4 kB / 0.9893 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.2498, allocations: 31.77 kB / 0.9893 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.2498, allocations: 8 kB / 0.9893 GB, free: 17.29 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.898e-05/0.2499, allocations: 129.8 kB / 0.9895 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.25, allocations: 15.77 kB / 0.9895 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004726/0.2504, allocations: 202.9 kB / 0.9897 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.2504, allocations: 0 / 0.9897 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.2505, allocations: 4 kB / 0.9897 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2505, allocations: 3.984 kB / 0.9897 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/0.2506, allocations: 213.5 kB / 0.9899 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2507, allocations: 0 / 0.9899 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.2508, allocations: 47.88 kB / 0.9899 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.2508, allocations: 0 / 0.9899 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.2508, allocations: 3.984 kB / 0.9899 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.2509, allocations: 0 / 0.9899 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2509, allocations: 0 / 0.9899 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004182/0.2513, allocations: 275.2 kB / 0.9902 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.105e-05/0.2513, allocations: 100.9 kB / 0.9903 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.2514, allocations: 7.953 kB / 0.9903 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.2515, allocations: 19.98 kB / 0.9903 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.2516, allocations: 11.98 kB / 0.9903 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.2516, allocations: 3.984 kB / 0.9903 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.624e-05/0.2517, allocations: 117.6 kB / 0.9905 GB, free: 16.06 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2517, allocations: 0 / 0.9905 GB, free: 16.06 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003257/0.252, allocations: 64.3 kB / 0.9905 GB, free: 16 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 (12): * Single equations (assignments): 12 * 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.0003099/0.2523, allocations: 163.2 kB / 0.9907 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004943/0.2528, allocations: 191.6 kB / 0.9908 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.2528, allocations: 192 / 0.9909 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002191/0.2531, allocations: 83.89 kB / 0.9909 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.2535, allocations: 15.98 kB / 0.9909 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005096/0.254, allocations: 361.6 kB / 0.9913 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001428/0.2541, allocations: 0.7048 MB / 0.992 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001099/0.2543, allocations: 33.31 kB / 0.992 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.792e-05/0.2543, allocations: 19.44 kB / 0.992 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of SimCode: time 5.91e-07/0.2543, allocations: 0 / 0.992 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of Templates: time 0.005349/0.2597, allocations: 2.47 MB / 0.9944 GB, free: 11.95 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)