Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.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.7.0.x_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.009861/0.009861, allocations: 102.3 kB / 15.73 MB, free: 6.059 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.001959/0.001959, allocations: 191 kB / 16.67 MB, free: 5.969 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.446/1.446, allocations: 205.1 MB / 222.6 MB, free: 4.367 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.606/1.606, allocations: 251.7 MB / 0.5094 GB, free: 3.062 MB / 414.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.001395/0.001395, allocations: 75.91 kB / 0.7258 GB, free: 8.992 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.24, allocations: 104.7 MB / 0.8281 GB, free: 184 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007185/0.2473, allocations: 4.578 MB / 0.8325 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.2485, allocations: 0.8224 MB / 0.8333 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.902e-05/0.2485, allocations: 0 / 0.8333 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002015/0.2487, allocations: 31.77 kB / 0.8334 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.712e-05/0.2489, allocations: 39.7 kB / 0.8334 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006043/0.2495, allocations: 175.3 kB / 0.8336 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.2497, allocations: 167.4 kB / 0.8337 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.2498, allocations: 25.09 kB / 0.8338 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002006/0.25, allocations: 79.75 kB / 0.8338 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.2502, allocations: 83.66 kB / 0.8339 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.2502, allocations: 12 kB / 0.8339 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003365/0.2505, allocations: 151.8 kB / 0.8341 GB, free: 9.996 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.914e-05/0.2506, allocations: 35.89 kB / 0.8341 GB, free: 9.961 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.925e-05/0.2507, allocations: 67.66 kB / 0.8342 GB, free: 9.895 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003851/0.2511, allocations: 235.3 kB / 0.8344 GB, free: 9.664 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2511, allocations: 0 / 0.8344 GB, free: 9.664 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.775e-06/0.2511, allocations: 0 / 0.8344 GB, free: 9.664 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.2511, allocations: 0 / 0.8344 GB, free: 9.664 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.0009639/0.2521, allocations: 486.9 kB / 0.8349 GB, free: 9.141 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.2521, allocations: 8.031 kB / 0.8349 GB, free: 9.133 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.419e-05/0.2522, allocations: 20.73 kB / 0.8349 GB, free: 9.113 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.2524, allocations: 179.1 kB / 0.8351 GB, free: 8.902 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.2524, allocations: 8.375 kB / 0.8351 GB, free: 8.895 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.2524, allocations: 16.31 kB / 0.8351 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003541/0.2528, allocations: 124.7 kB / 0.8352 GB, free: 8.754 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.2528, allocations: 4 kB / 0.8352 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.2528, allocations: 4 kB / 0.8352 GB, free: 8.746 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.2529, allocations: 8 kB / 0.8352 GB, free: 8.738 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004208/0.2533, allocations: 135.9 kB / 0.8353 GB, free: 8.605 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.2543, allocations: 468.4 kB / 0.8358 GB, free: 8.098 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002923/0.2546, allocations: 126.4 kB / 0.8359 GB, free: 7.965 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/0.2548, allocations: 80.75 kB / 0.836 GB, free: 7.883 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001314/0.2562, allocations: 0.9531 MB / 0.8369 GB, free: 6.793 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.2562, allocations: 38.5 kB / 0.837 GB, free: 6.746 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 1.273e-06/0.2562, allocations: 0 / 0.837 GB, free: 6.746 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12): time 0.0006783/0.2569, allocations: 217.2 kB / 0.8372 GB, free: 6.527 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.2569, allocations: 51.41 kB / 0.8372 GB, free: 6.465 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.2571, allocations: 167.3 kB / 0.8374 GB, free: 6.293 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.2571, allocations: 29.7 kB / 0.8374 GB, free: 6.258 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.485e-05/0.2572, allocations: 104.4 kB / 0.8375 GB, free: 6.152 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.143e-05/0.2573, allocations: 43.39 kB / 0.8375 GB, free: 6.109 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.98e-05/0.2574, allocations: 53.61 kB / 0.8376 GB, free: 6.051 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.2575, allocations: 326.8 kB / 0.8379 GB, free: 5.723 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/0.2577, allocations: 71.94 kB / 0.838 GB, free: 5.652 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.258, allocations: 112.2 kB / 0.8381 GB, free: 5.531 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000429/0.2584, allocations: 179.2 kB / 0.8383 GB, free: 5.344 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2584, allocations: 0 / 0.8383 GB, free: 5.344 MB / 0.6544 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005719/0.259, allocations: 236.5 kB / 0.8385 GB, free: 5.109 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.259, allocations: 8 kB / 0.8385 GB, free: 5.102 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.259, allocations: 0 / 0.8385 GB, free: 5.102 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.2591, allocations: 3.938 kB / 0.8385 GB, free: 5.098 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002782/0.2593, allocations: 63.89 kB / 0.8386 GB, free: 5.035 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.2594, allocations: 0 / 0.8386 GB, free: 5.035 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.2595, allocations: 35.83 kB / 0.8386 GB, free: 5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/0.2596, allocations: 7.984 kB / 0.8386 GB, free: 4.992 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 0.0001007/0.2597, allocations: 125.8 kB / 0.8387 GB, free: 4.859 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.456e-05/0.2597, allocations: 7.906 kB / 0.8387 GB, free: 4.852 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004856/0.2602, allocations: 182.9 kB / 0.8389 GB, free: 4.672 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.2602, allocations: 0 / 0.8389 GB, free: 4.672 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.2602, allocations: 0 / 0.8389 GB, free: 4.672 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.2602, allocations: 3.938 kB / 0.8389 GB, free: 4.668 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.2605, allocations: 221.4 kB / 0.8391 GB, free: 4.402 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2605, allocations: 0 / 0.8391 GB, free: 4.402 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.2606, allocations: 35.91 kB / 0.8391 GB, free: 4.367 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.2607, allocations: 0 / 0.8391 GB, free: 4.367 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.2607, allocations: 3.938 kB / 0.8392 GB, free: 4.363 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.2607, allocations: 7.984 kB / 0.8392 GB, free: 4.355 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2607, allocations: 4 kB / 0.8392 GB, free: 4.352 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004512/0.2611, allocations: 259.7 kB / 0.8394 GB, free: 4.082 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.003e-05/0.2612, allocations: 96.98 kB / 0.8395 GB, free: 3.969 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.2613, allocations: 7.938 kB / 0.8395 GB, free: 3.961 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.2614, allocations: 19.98 kB / 0.8395 GB, free: 3.941 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.384e-05/0.2615, allocations: 7.984 kB / 0.8395 GB, free: 3.934 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.2615, allocations: 4 kB / 0.8395 GB, free: 3.93 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.417e-05/0.2616, allocations: 119.9 kB / 0.8397 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2616, allocations: 0 / 0.8397 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003423/0.2619, allocations: 64.06 kB / 0.8397 GB, free: 3.75 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.0003019/0.2622, allocations: 155.2 kB / 0.8399 GB, free: 3.586 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005113/0.2628, allocations: 167.8 kB / 0.84 GB, free: 3.422 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2628, allocations: 8.125 kB / 0.84 GB, free: 3.414 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.263, allocations: 63.95 kB / 0.8401 GB, free: 3.352 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.2634, allocations: 16 kB / 0.8401 GB, free: 3.336 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005121/0.2639, allocations: 268.9 kB / 0.8404 GB, free: 3.047 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.2642, allocations: 0.7045 MB / 0.8411 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 9.545e-05/0.2643, allocations: 21.02 kB / 0.8411 GB, free: 2.293 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.199e-05/0.2643, allocations: 15.44 kB / 0.8411 GB, free: 2.277 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.2643, allocations: 0 / 0.8411 GB, free: 2.277 MB / 0.6544 GB Notification: Performance of Templates: time 0.005984/0.2703, allocations: 2.737 MB / 0.8438 GB, free: 15.57 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)