Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.568/2.568, allocations: 287.5 MB / 303.2 MB, free: 8.297 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.00134/0.00134, allocations: 174.8 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.052/2.052, allocations: 205.4 MB / 0.6305 GB, free: 10.56 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.0009721/0.0009718, allocations: 96.78 kB / 0.7438 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004981/0.0004983, allocations: 12.69 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2144, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.189/1.404, allocations: 361.9 MB / 1.333 GB, free: 3.328 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000371/1.404, allocations: 94.56 kB / 1.333 GB, free: 3.273 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.05188/1.456, allocations: 13.88 MB / 1.346 GB, free: 8.16 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.384e-06/1.456, allocations: 0 / 1.346 GB, free: 8.16 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.746e-06/1.456, allocations: 0 / 1.346 GB, free: 8.16 MB / 0.8698 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.001126/1.457, allocations: 480.9 kB / 1.347 GB, free: 7.648 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/1.457, allocations: 11.97 kB / 1.347 GB, free: 7.637 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.848e-05/1.458, allocations: 12.84 kB / 1.347 GB, free: 7.625 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/1.458, allocations: 176.2 kB / 1.347 GB, free: 7.414 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/1.458, allocations: 8.25 kB / 1.347 GB, free: 7.41 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.234e-05/1.458, allocations: 11.94 kB / 1.347 GB, free: 7.402 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005041/1.458, allocations: 135.6 kB / 1.347 GB, free: 7.289 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/1.458, allocations: 192 / 1.347 GB, free: 7.289 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/1.458, allocations: 6.938 kB / 1.347 GB, free: 7.285 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/1.458, allocations: 0 / 1.347 GB, free: 7.285 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000722/1.459, allocations: 170.3 kB / 1.347 GB, free: 7.152 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/1.461, allocations: 464.9 kB / 1.348 GB, free: 6.715 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004932/1.461, allocations: 133.8 kB / 1.348 GB, free: 6.605 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003586/1.461, allocations: 85.98 kB / 1.348 GB, free: 6.535 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002002/1.464, allocations: 0.9626 MB / 1.349 GB, free: 5.488 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/1.464, allocations: 34 kB / 1.349 GB, free: 5.449 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=12): time 3.196e-06/1.464, allocations: 0 / 1.349 GB, free: 5.449 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12): time 0.001173/1.465, allocations: 237.7 kB / 1.349 GB, free: 5.246 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/1.465, allocations: 63.34 kB / 1.349 GB, free: 5.172 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/1.465, allocations: 164.3 kB / 1.349 GB, free: 5.02 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/1.465, allocations: 28.58 kB / 1.349 GB, free: 4.988 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.927e-05/1.465, allocations: 105.8 kB / 1.349 GB, free: 4.891 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.234e-05/1.465, allocations: 34.83 kB / 1.35 GB, free: 4.859 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.112e-05/1.465, allocations: 10.62 kB / 1.35 GB, free: 4.855 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001167/1.465, allocations: 318.1 kB / 1.35 GB, free: 4.539 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004105/1.466, allocations: 97.5 kB / 1.35 GB, free: 4.461 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004251/1.466, allocations: 119.9 kB / 1.35 GB, free: 4.355 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007521/1.467, allocations: 187.2 kB / 1.35 GB, free: 4.203 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/1.467, allocations: 3.938 kB / 1.35 GB, free: 4.199 MB / 0.8698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001/1.468, allocations: 266.8 kB / 1.35 GB, free: 3.98 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.421e-05/1.468, allocations: 8 kB / 1.35 GB, free: 3.973 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/1.468, allocations: 4.094 kB / 1.35 GB, free: 3.969 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/1.468, allocations: 0 / 1.35 GB, free: 3.969 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005172/1.469, allocations: 71.08 kB / 1.351 GB, free: 3.902 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/1.469, allocations: 3.938 kB / 1.351 GB, free: 3.898 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002935/1.469, allocations: 34.7 kB / 1.351 GB, free: 3.867 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.256e-05/1.469, allocations: 11.88 kB / 1.351 GB, free: 3.859 MB / 0.8698 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 0.0001411/1.469, allocations: 124 kB / 1.351 GB, free: 3.734 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.289e-05/1.469, allocations: 19.8 kB / 1.351 GB, free: 3.715 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008474/1.47, allocations: 188.2 kB / 1.351 GB, free: 3.566 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/1.47, allocations: 0 / 1.351 GB, free: 3.566 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/1.47, allocations: 3.938 kB / 1.351 GB, free: 3.562 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/1.47, allocations: 3.984 kB / 1.351 GB, free: 3.559 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003198/1.471, allocations: 219 kB / 1.351 GB, free: 3.316 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.471, allocations: 0 / 1.351 GB, free: 3.316 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003044/1.471, allocations: 43.91 kB / 1.351 GB, free: 3.273 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/1.471, allocations: 0 / 1.351 GB, free: 3.273 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/1.471, allocations: 4 kB / 1.351 GB, free: 3.27 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/1.471, allocations: 0 / 1.351 GB, free: 3.27 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/1.471, allocations: 7.875 kB / 1.351 GB, free: 3.262 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008005/1.472, allocations: 278.3 kB / 1.351 GB, free: 3.004 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.385e-05/1.472, allocations: 85.02 kB / 1.352 GB, free: 2.902 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/1.472, allocations: 4 kB / 1.352 GB, free: 2.898 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/1.472, allocations: 23.28 kB / 1.352 GB, free: 2.879 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.193e-05/1.472, allocations: 11.92 kB / 1.352 GB, free: 2.867 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/1.472, allocations: 11.81 kB / 1.352 GB, free: 2.859 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001197/1.472, allocations: 107.9 kB / 1.352 GB, free: 2.762 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.195e-06/1.472, allocations: 4 kB / 1.352 GB, free: 2.758 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005033/1.473, allocations: 70.62 kB / 1.352 GB, free: 2.699 MB / 0.8698 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.0004204/1.473, allocations: 182.1 kB / 1.352 GB, free: 2.512 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0008823/1.474, allocations: 195 kB / 1.352 GB, free: 2.355 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.474, allocations: 0 / 1.352 GB, free: 2.355 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003572/1.475, allocations: 80.08 kB / 1.352 GB, free: 2.289 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004661/1.475, allocations: 20.86 kB / 1.352 GB, free: 2.277 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000719/1.476, allocations: 347.7 kB / 1.353 GB, free: 1.93 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/1.476, allocations: 0.7087 MB / 1.353 GB, free: 1.195 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001945/1.476, allocations: 17.02 kB / 1.353 GB, free: 1.18 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.488e-05/1.476, allocations: 19.44 kB / 1.353 GB, free: 1.16 MB / 0.8698 GB Notification: Performance of SimCode: time 1.222e-06/1.477, allocations: 0 / 1.353 GB, free: 1.16 MB / 0.8698 GB Notification: Performance of Templates: time 0.009226/1.486, allocations: 2.669 MB / 1.356 GB, free: 14.52 MB / 0.8855 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)