Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009671/0.0009671, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 173 kB / 23.49 MB, free: 1.055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9638/0.9638, allocations: 177.1 MB / 203.8 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00169/0.00169, allocations: 225.7 kB / 260.5 MB, free: 12.9 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7505/0.7505, allocations: 138.4 MB / 455.4 MB, free: 1.527 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 0.555 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.718e-05/1.843e-05, allocations: 6.109 kB / 0.555 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004467/0.004485, allocations: 4.693 MB / 0.5596 GB, free: 12.13 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006944/0.00518, allocations: 0.8303 MB / 0.5604 GB, free: 11.3 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.826e-05/0.005228, allocations: 0 / 0.5604 GB, free: 11.3 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001467/0.005375, allocations: 31.78 kB / 0.5605 GB, free: 11.27 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.497e-05/0.00541, allocations: 31.7 kB / 0.5605 GB, free: 11.23 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003986/0.005808, allocations: 187.1 kB / 0.5607 GB, free: 11.05 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.00595, allocations: 179.3 kB / 0.5609 GB, free: 10.88 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.858e-05/0.006029, allocations: 9.297 kB / 0.5609 GB, free: 10.87 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.006176, allocations: 107.8 kB / 0.561 GB, free: 10.76 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.748e-05/0.006243, allocations: 67.84 kB / 0.561 GB, free: 10.7 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.006262, allocations: 12 kB / 0.561 GB, free: 10.68 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001944/0.006456, allocations: 151.6 kB / 0.5612 GB, free: 10.54 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.247e-05/0.006479, allocations: 27.92 kB / 0.5612 GB, free: 10.51 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.327e-05/0.006522, allocations: 47.89 kB / 0.5613 GB, free: 10.46 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.006765, allocations: 219.3 kB / 0.5615 GB, free: 10.25 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.006768, allocations: 0 / 0.5615 GB, free: 10.25 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.006768, allocations: 0 / 0.5615 GB, free: 10.25 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.006772, allocations: 0 / 0.5615 GB, free: 10.25 MB / 490.7 MB 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.0005455/0.007318, allocations: 0.4916 MB / 0.5619 GB, free: 9.719 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.007352, allocations: 8.75 kB / 0.562 GB, free: 9.711 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.029e-05/0.007402, allocations: 16.89 kB / 0.562 GB, free: 9.695 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.57e-05/0.007498, allocations: 128.5 kB / 0.5621 GB, free: 9.543 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.007511, allocations: 8.375 kB / 0.5621 GB, free: 9.535 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.007528, allocations: 12.38 kB / 0.5621 GB, free: 9.523 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.007702, allocations: 110.7 kB / 0.5622 GB, free: 9.406 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.007709, allocations: 192 / 0.5622 GB, free: 9.406 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.00772, allocations: 4.125 kB / 0.5622 GB, free: 9.402 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.007727, allocations: 4 kB / 0.5622 GB, free: 9.398 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.007839, allocations: 59.08 kB / 0.5623 GB, free: 9.344 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008284/0.008667, allocations: 415.5 kB / 0.5627 GB, free: 8.902 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.008792, allocations: 87.02 kB / 0.5628 GB, free: 8.805 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.952e-05/0.008842, allocations: 43.05 kB / 0.5628 GB, free: 8.762 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006106/0.009452, allocations: 0.547 MB / 0.5633 GB, free: 8.195 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.009472, allocations: 33.39 kB / 0.5634 GB, free: 8.152 MB / 490.7 MB Notification: Performance of pre-optimization done (n=12): time 1.352e-06/0.009473, allocations: 0 / 0.5634 GB, free: 8.152 MB / 490.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002231/0.009696, allocations: 117.5 kB / 0.5635 GB, free: 8.031 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.009725, allocations: 59.34 kB / 0.5635 GB, free: 7.961 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.009836, allocations: 222.5 kB / 0.5638 GB, free: 7.727 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.009851, allocations: 33.7 kB / 0.5638 GB, free: 7.688 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.088e-05/0.009912, allocations: 155.3 kB / 0.5639 GB, free: 7.531 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.009933, allocations: 43.58 kB / 0.564 GB, free: 7.488 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.337e-05/0.009986, allocations: 55.36 kB / 0.564 GB, free: 7.426 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.507e-05/0.01008, allocations: 0.4961 MB / 0.5645 GB, free: 6.918 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.625e-05/0.01014, allocations: 31.92 kB / 0.5645 GB, free: 6.887 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.114e-05/0.01022, allocations: 77.98 kB / 0.5646 GB, free: 6.797 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.01034, allocations: 110 kB / 0.5647 GB, free: 6.676 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01034, allocations: 0 / 0.5647 GB, free: 6.676 MB / 490.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001949/0.01053, allocations: 165.4 kB / 0.5649 GB, free: 6.508 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.01054, allocations: 4 kB / 0.5649 GB, free: 6.504 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.01055, allocations: 0 / 0.5649 GB, free: 6.504 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.01056, allocations: 4 kB / 0.5649 GB, free: 6.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.0107, allocations: 51.91 kB / 0.5649 GB, free: 6.449 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.01071, allocations: 4 kB / 0.5649 GB, free: 6.445 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.999e-05/0.01077, allocations: 27.78 kB / 0.565 GB, free: 6.418 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.01078, allocations: 8 kB / 0.565 GB, free: 6.41 MB / 490.7 MB 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 6.882e-05/0.01085, allocations: 168.6 kB / 0.5651 GB, free: 6.234 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.01087, allocations: 19.91 kB / 0.5652 GB, free: 6.215 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001536/0.01103, allocations: 115.4 kB / 0.5653 GB, free: 6.086 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.01103, allocations: 0 / 0.5653 GB, free: 6.086 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.01103, allocations: 0 / 0.5653 GB, free: 6.086 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.01104, allocations: 4 kB / 0.5653 GB, free: 6.082 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.01115, allocations: 168.4 kB / 0.5654 GB, free: 5.883 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.01115, allocations: 4 kB / 0.5654 GB, free: 5.879 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.79e-05/0.01121, allocations: 23.98 kB / 0.5655 GB, free: 5.855 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.01121, allocations: 0 / 0.5655 GB, free: 5.855 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.01122, allocations: 4 kB / 0.5655 GB, free: 5.852 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.01122, allocations: 0 / 0.5655 GB, free: 5.852 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.01122, allocations: 0 / 0.5655 GB, free: 5.852 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.01136, allocations: 255.7 kB / 0.5657 GB, free: 5.582 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.802e-05/0.01139, allocations: 20.02 kB / 0.5657 GB, free: 5.562 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.0114, allocations: 0 / 0.5657 GB, free: 5.562 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.904e-05/0.01145, allocations: 8 kB / 0.5657 GB, free: 5.555 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.01149, allocations: 11.97 kB / 0.5657 GB, free: 5.543 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.01149, allocations: 8 kB / 0.5657 GB, free: 5.535 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.085e-05/0.01154, allocations: 147.9 kB / 0.5659 GB, free: 5.391 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01154, allocations: 0 / 0.5659 GB, free: 5.391 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002107/0.01176, allocations: 71.81 kB / 0.566 GB, free: 5.32 MB / 490.7 MB 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.0001766/0.01193, allocations: 155 kB / 0.5661 GB, free: 5.16 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001639/0.0121, allocations: 111.2 kB / 0.5662 GB, free: 5.051 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.0121, allocations: 3.938 kB / 0.5662 GB, free: 5.047 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.352e-05/0.01214, allocations: 35.67 kB / 0.5662 GB, free: 5.008 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.01235, allocations: 27.92 kB / 0.5663 GB, free: 4.98 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004866/0.01284, allocations: 250.4 kB / 0.5665 GB, free: 4.711 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.564e-05/0.01287, allocations: 71.7 kB / 0.5666 GB, free: 4.621 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.794e-05/0.01293, allocations: 25.5 kB / 0.5666 GB, free: 4.598 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.985e-05/0.01297, allocations: 16.5 kB / 0.5666 GB, free: 4.582 MB / 490.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01297, allocations: 0 / 0.5666 GB, free: 4.582 MB / 490.7 MB Notification: Performance of Templates: time 0.004328/0.0173, allocations: 2.871 MB / 0.5694 GB, free: 1.754 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.635905428091064]