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.001083/0.001083, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.008978/0.008978, allocations: 169.3 kB / 16.26 MB, free: 6.66 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.517/1.517, allocations: 205.4 MB / 222.4 MB, free: 5.801 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.589/1.589, allocations: 252 MB / 0.5105 GB, free: 4.703 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.0005583/0.0005583, allocations: 16 kB / 0.6249 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5989/0.5995, allocations: 106.3 MB / 0.7287 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005433/0.605, allocations: 4.254 MB / 0.7329 GB, free: 6.973 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.606, allocations: 0.8226 MB / 0.7337 GB, free: 6.148 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.552e-05/0.6061, allocations: 4 kB / 0.7337 GB, free: 6.145 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001785/0.6063, allocations: 23.83 kB / 0.7337 GB, free: 6.121 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.156e-05/0.6063, allocations: 31.77 kB / 0.7337 GB, free: 6.09 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004718/0.6068, allocations: 147.5 kB / 0.7339 GB, free: 5.945 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000167/0.607, allocations: 167.4 kB / 0.734 GB, free: 5.781 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.046e-05/0.6071, allocations: 13.12 kB / 0.7341 GB, free: 5.77 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001635/0.6073, allocations: 71.75 kB / 0.7341 GB, free: 5.699 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.6074, allocations: 71.67 kB / 0.7342 GB, free: 5.629 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.6074, allocations: 8 kB / 0.7342 GB, free: 5.621 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003077/0.6077, allocations: 143.7 kB / 0.7343 GB, free: 5.48 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.615e-05/0.6078, allocations: 23.91 kB / 0.7344 GB, free: 5.457 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.612e-05/0.6079, allocations: 93.34 kB / 0.7344 GB, free: 5.359 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003552/0.6082, allocations: 225.4 kB / 0.7347 GB, free: 5.141 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.6082, allocations: 4 kB / 0.7347 GB, free: 5.137 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.362e-06/0.6083, allocations: 0 / 0.7347 GB, free: 5.137 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.6083, allocations: 0 / 0.7347 GB, free: 5.137 MB / 0.545 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.0009063/0.6092, allocations: 470.9 kB / 0.7351 GB, free: 4.629 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.6092, allocations: 8.031 kB / 0.7351 GB, free: 4.621 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.136e-05/0.6093, allocations: 12.84 kB / 0.7351 GB, free: 4.609 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.6095, allocations: 184.2 kB / 0.7353 GB, free: 4.391 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.6095, allocations: 12.31 kB / 0.7353 GB, free: 4.379 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/0.6095, allocations: 12.38 kB / 0.7353 GB, free: 4.367 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003675/0.6099, allocations: 137.6 kB / 0.7355 GB, free: 4.227 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.6099, allocations: 3.938 kB / 0.7355 GB, free: 4.223 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.6099, allocations: 4 kB / 0.7355 GB, free: 4.219 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.6099, allocations: 0 / 0.7355 GB, free: 4.219 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004496/0.6104, allocations: 163.9 kB / 0.7356 GB, free: 4.059 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009837/0.6114, allocations: 468.5 kB / 0.7361 GB, free: 3.551 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002999/0.6117, allocations: 142.5 kB / 0.7362 GB, free: 3.402 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002085/0.6119, allocations: 84.81 kB / 0.7363 GB, free: 3.316 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00135/0.6133, allocations: 0.9606 MB / 0.7372 GB, free: 2.219 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.6133, allocations: 30.56 kB / 0.7373 GB, free: 2.18 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/0.6133, allocations: 0 / 0.7373 GB, free: 2.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.0007087/0.6141, allocations: 249.3 kB / 0.7375 GB, free: 1.93 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.6141, allocations: 55.41 kB / 0.7376 GB, free: 1.863 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.6143, allocations: 168.7 kB / 0.7377 GB, free: 1.691 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.6143, allocations: 29.7 kB / 0.7377 GB, free: 1.656 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.532e-05/0.6144, allocations: 108.3 kB / 0.7378 GB, free: 1.547 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.6144, allocations: 39.44 kB / 0.7379 GB, free: 1.508 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.554e-05/0.6145, allocations: 29.7 kB / 0.7379 GB, free: 1.473 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.6146, allocations: 322.8 kB / 0.7382 GB, free: 1.148 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002255/0.6148, allocations: 91.94 kB / 0.7383 GB, free: 1.059 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/0.6151, allocations: 119.4 kB / 0.7384 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004276/0.6155, allocations: 194.1 kB / 0.7386 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.6155, allocations: 0 / 0.7386 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005846/0.6161, allocations: 267.4 kB / 0.7389 GB, free: 476 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.6161, allocations: 8 kB / 0.7389 GB, free: 468 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.6161, allocations: 4.094 kB / 0.7389 GB, free: 464 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.6162, allocations: 7.875 kB / 0.7389 GB, free: 456 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002684/0.6164, allocations: 63.95 kB / 0.7389 GB, free: 392 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.6165, allocations: 0 / 0.7389 GB, free: 392 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.6166, allocations: 27.83 kB / 0.739 GB, free: 364 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.724e-05/0.6166, allocations: 12 kB / 0.739 GB, free: 352 kB / 0.545 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 9.871e-05/0.6168, allocations: 129.7 kB / 0.7391 GB, free: 212 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.6168, allocations: 11.81 kB / 0.7391 GB, free: 200 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005378/0.6173, allocations: 206.8 kB / 0.7393 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.6174, allocations: 0 / 0.7393 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.6174, allocations: 0 / 0.7393 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.6174, allocations: 3.984 kB / 0.7393 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.6176, allocations: 217.5 kB / 0.7395 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.6176, allocations: 3.984 kB / 0.7395 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.6178, allocations: 31.98 kB / 0.7396 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.6178, allocations: 7.984 kB / 0.7396 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.6178, allocations: 3.938 kB / 0.7396 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.6178, allocations: 0 / 0.7396 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.6178, allocations: 3.984 kB / 0.7396 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004859/0.6183, allocations: 275.8 kB / 0.7398 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.807e-05/0.6184, allocations: 104.9 kB / 0.7399 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.6184, allocations: 7.938 kB / 0.7399 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.6186, allocations: 23.97 kB / 0.74 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.6186, allocations: 11.98 kB / 0.74 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.6186, allocations: 0 / 0.74 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.038e-05/0.6187, allocations: 120 kB / 0.7401 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6187, allocations: 0 / 0.7401 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003425/0.6191, allocations: 56.28 kB / 0.7401 GB, free: 15.04 MB / 0.5606 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.0003589/0.6195, allocations: 167.1 kB / 0.7403 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000532/0.62, allocations: 192 kB / 0.7405 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.62, allocations: 4 kB / 0.7405 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002133/0.6202, allocations: 80 kB / 0.7406 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.6206, allocations: 15.98 kB / 0.7406 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005131/0.6211, allocations: 301.9 kB / 0.7409 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.6215, allocations: 0.7087 MB / 0.7416 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001102/0.6216, allocations: 20.03 kB / 0.7416 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.56e-05/0.6216, allocations: 23.42 kB / 0.7416 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of SimCode: time 2.11e-07/0.6216, allocations: 0 / 0.7416 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of Templates: time 0.005567/0.6272, allocations: 2.527 MB / 0.7441 GB, free: 11 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: