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.01036/0.01036, allocations: 105.6 kB / 15.74 MB, free: 6.008 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.001674/0.001675, allocations: 196.9 kB / 16.68 MB, free: 5.93 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.539/1.539, allocations: 205.1 MB / 222.6 MB, free: 4.254 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.604/1.604, allocations: 251.7 MB / 0.5094 GB, free: 3.145 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.0014/0.0014, allocations: 67.91 kB / 0.7258 GB, free: 8.953 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2398, allocations: 104.7 MB / 0.8281 GB, free: 156 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005978/0.2459, allocations: 4.594 MB / 0.8326 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.247, allocations: 0.8109 MB / 0.8333 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.695e-05/0.2471, allocations: 0 / 0.8333 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002114/0.2473, allocations: 35.75 kB / 0.8334 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.632e-05/0.2474, allocations: 31.72 kB / 0.8334 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005341/0.2479, allocations: 171.3 kB / 0.8336 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000195/0.2481, allocations: 175.4 kB / 0.8337 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.2483, allocations: 21.11 kB / 0.8338 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.2484, allocations: 75.77 kB / 0.8338 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.2486, allocations: 79.66 kB / 0.8339 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.926e-05/0.2486, allocations: 16 kB / 0.8339 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003371/0.2489, allocations: 155.8 kB / 0.8341 GB, free: 9.969 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.194e-05/0.249, allocations: 27.91 kB / 0.8341 GB, free: 9.941 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.734e-05/0.2491, allocations: 67.61 kB / 0.8342 GB, free: 9.875 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003651/0.2494, allocations: 239.3 kB / 0.8344 GB, free: 9.641 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.2494, allocations: 11.94 kB / 0.8344 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.492e-06/0.2495, allocations: 0 / 0.8344 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.2495, allocations: 0 / 0.8344 GB, free: 9.629 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.0008932/0.2504, allocations: 478.9 kB / 0.8349 GB, free: 9.113 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.2504, allocations: 8.031 kB / 0.8349 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.973e-05/0.2505, allocations: 20.75 kB / 0.8349 GB, free: 9.086 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.2506, allocations: 180.2 kB / 0.8351 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.2507, allocations: 16.31 kB / 0.8351 GB, free: 8.855 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.2507, allocations: 12.38 kB / 0.8351 GB, free: 8.844 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003308/0.251, allocations: 116.7 kB / 0.8352 GB, free: 8.727 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.251, allocations: 3.984 kB / 0.8352 GB, free: 8.723 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.2511, allocations: 4 kB / 0.8352 GB, free: 8.719 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.2511, allocations: 0 / 0.8352 GB, free: 8.719 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004164/0.2515, allocations: 143.9 kB / 0.8353 GB, free: 8.578 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009991/0.2525, allocations: 468.4 kB / 0.8358 GB, free: 8.07 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002952/0.2528, allocations: 126.5 kB / 0.8359 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/0.253, allocations: 68.81 kB / 0.836 GB, free: 7.867 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001381/0.2544, allocations: 0.9686 MB / 0.8369 GB, free: 6.762 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.2545, allocations: 34.56 kB / 0.837 GB, free: 6.719 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 1.473e-06/0.2545, allocations: 0 / 0.837 GB, free: 6.719 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12): time 0.000704/0.2552, allocations: 213.3 kB / 0.8372 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.2552, allocations: 59.39 kB / 0.8372 GB, free: 6.434 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.2554, allocations: 159.3 kB / 0.8374 GB, free: 6.27 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.2554, allocations: 33.7 kB / 0.8374 GB, free: 6.23 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.728e-05/0.2555, allocations: 104.4 kB / 0.8375 GB, free: 6.125 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/0.2556, allocations: 43.39 kB / 0.8375 GB, free: 6.082 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.465e-05/0.2557, allocations: 53.61 kB / 0.8376 GB, free: 6.023 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.2558, allocations: 322.8 kB / 0.8379 GB, free: 5.699 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002317/0.256, allocations: 75.94 kB / 0.838 GB, free: 5.625 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002498/0.2563, allocations: 111.9 kB / 0.8381 GB, free: 5.504 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004222/0.2567, allocations: 180 kB / 0.8383 GB, free: 5.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2567, allocations: 0 / 0.8383 GB, free: 5.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005791/0.2573, allocations: 241.3 kB / 0.8385 GB, free: 5.078 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.2573, allocations: 4 kB / 0.8385 GB, free: 5.074 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.2574, allocations: 0 / 0.8385 GB, free: 5.074 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.2574, allocations: 7.938 kB / 0.8385 GB, free: 5.066 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/0.2576, allocations: 55.89 kB / 0.8385 GB, free: 5.012 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.2577, allocations: 4 kB / 0.8385 GB, free: 5.008 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.2578, allocations: 27.73 kB / 0.8386 GB, free: 4.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.2579, allocations: 12.09 kB / 0.8386 GB, free: 4.969 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.0001056/0.258, allocations: 130.6 kB / 0.8387 GB, free: 4.832 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.538e-05/0.258, allocations: 11.91 kB / 0.8387 GB, free: 4.82 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004902/0.2585, allocations: 175.2 kB / 0.8389 GB, free: 4.648 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.2585, allocations: 7.922 kB / 0.8389 GB, free: 4.641 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.2586, allocations: 8 kB / 0.8389 GB, free: 4.633 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.2586, allocations: 0 / 0.8389 GB, free: 4.633 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.2588, allocations: 217.4 kB / 0.8391 GB, free: 4.371 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2588, allocations: 0 / 0.8391 GB, free: 4.371 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.259, allocations: 27.97 kB / 0.8391 GB, free: 4.344 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.259, allocations: 0 / 0.8391 GB, free: 4.344 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.259, allocations: 11.94 kB / 0.8392 GB, free: 4.332 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.259, allocations: 0 / 0.8392 GB, free: 4.332 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.259, allocations: 0 / 0.8392 GB, free: 4.332 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004587/0.2595, allocations: 263.3 kB / 0.8394 GB, free: 4.059 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.503e-05/0.2595, allocations: 97 kB / 0.8395 GB, free: 3.945 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.2596, allocations: 3.938 kB / 0.8395 GB, free: 3.941 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.2597, allocations: 19.97 kB / 0.8395 GB, free: 3.922 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.109e-05/0.2598, allocations: 11.92 kB / 0.8395 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.2598, allocations: 8 kB / 0.8395 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.516e-05/0.2599, allocations: 112 kB / 0.8396 GB, free: 3.793 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2599, allocations: 4 kB / 0.8396 GB, free: 3.789 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000368/0.2603, allocations: 64.06 kB / 0.8397 GB, free: 3.727 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.0003046/0.2606, allocations: 155.2 kB / 0.8399 GB, free: 3.562 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005471/0.2611, allocations: 167.8 kB / 0.84 GB, free: 3.398 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2611, allocations: 0 / 0.84 GB, free: 3.398 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002014/0.2614, allocations: 68.14 kB / 0.8401 GB, free: 3.332 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003922/0.2618, allocations: 23.92 kB / 0.8401 GB, free: 3.309 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004949/0.2623, allocations: 268.9 kB / 0.8404 GB, free: 3.02 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.2625, allocations: 0.7084 MB / 0.8411 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.958e-05/0.2626, allocations: 17.08 kB / 0.8411 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.841e-05/0.2627, allocations: 19.44 kB / 0.8411 GB, free: 2.246 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.2627, allocations: 0 / 0.8411 GB, free: 2.246 MB / 0.6544 GB Notification: Performance of Templates: time 0.006034/0.2687, allocations: 2.734 MB / 0.8438 GB, free: 15.55 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)