Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.161/2.161, allocations: 391.2 MB / 407 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001135, allocations: 191.4 kB / 499.1 MB, free: 4.641 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 0.7948 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001179, allocations: 102.8 kB / 0.9329 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001169, allocations: 51.48 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2883, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005591/0.2939, allocations: 4.605 MB / 1.223 GB, free: 112.6 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0008561/0.2948, allocations: 0.8343 MB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.661e-05/0.2949, allocations: 0 / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001978/0.2951, allocations: 23.83 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 4.697e-05/0.2952, allocations: 27.77 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004246/0.2956, allocations: 151.5 kB / 1.224 GB, free: 111.6 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.2958, allocations: 167.4 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.958e-05/0.2959, allocations: 17.12 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.296, allocations: 75.69 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.421e-05/0.2961, allocations: 75.72 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.2962, allocations: 7.938 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002817/0.2965, allocations: 139.8 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.686e-05/0.2965, allocations: 27.89 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.744e-05/0.2966, allocations: 67.66 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.2968, allocations: 233.4 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2968, allocations: 0 / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of FrontEnd: time 9.01e-07/0.2968, allocations: 4 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.2969, allocations: 4 kB / 1.224 GB, free: 110.8 MB / 0.823 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.0007295/0.2976, allocations: 478.9 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.2976, allocations: 11.98 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.876e-05/0.2977, allocations: 20.75 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.99e-05/0.2978, allocations: 180.2 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.2978, allocations: 12.38 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.2978, allocations: 19.88 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002825/0.2981, allocations: 123 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.2981, allocations: 0 / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.2982, allocations: 0 / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.2982, allocations: 4 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003651/0.2985, allocations: 147.9 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008578/0.2994, allocations: 460.4 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/0.2997, allocations: 130.4 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.2998, allocations: 68.81 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001067/0.3009, allocations: 0.9646 MB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.3009, allocations: 34.5 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=12): time 1.633e-06/0.301, allocations: 3.984 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=12): time 0.0005944/0.3016, allocations: 209.4 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.104e-05/0.3016, allocations: 59.34 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.3017, allocations: 162.1 kB / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.3017, allocations: 29.7 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.827e-05/0.3018, allocations: 112.3 kB / 1.227 GB, free: 107.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.3018, allocations: 35.45 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.138e-05/0.3019, allocations: 53.69 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.093e-05/0.3019, allocations: 322.8 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.3021, allocations: 71.95 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.3023, allocations: 117 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000354/0.3027, allocations: 173.2 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3027, allocations: 0 / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005037/0.3032, allocations: 251.2 kB / 1.228 GB, free: 106.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3032, allocations: 7.938 kB / 1.228 GB, free: 106.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3033, allocations: 0 / 1.228 GB, free: 106.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.3033, allocations: 4 kB / 1.228 GB, free: 106.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.3035, allocations: 51.91 kB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.3035, allocations: 0 / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.3037, allocations: 35.91 kB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/0.3037, allocations: 12 kB / 1.229 GB, free: 106.1 MB / 0.823 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 6.884e-05/0.3038, allocations: 130.3 kB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.127e-05/0.3038, allocations: 15.75 kB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004204/0.3043, allocations: 174.9 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.3043, allocations: 4 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3043, allocations: 0 / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.3043, allocations: 7.938 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.3044, allocations: 213.5 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3045, allocations: 0 / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.3046, allocations: 31.97 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3046, allocations: 3.938 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.3046, allocations: 4 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3046, allocations: 0 / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3046, allocations: 0 / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006518/0.3053, allocations: 0.8805 MB / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.805e-05/0.3053, allocations: 108.8 kB / 1.23 GB, free: 104.4 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.3054, allocations: 4 kB / 1.23 GB, free: 104.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.3055, allocations: 11.98 kB / 1.23 GB, free: 104.4 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/0.3055, allocations: 11.98 kB / 1.23 GB, free: 104.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.3056, allocations: 4 kB / 1.23 GB, free: 104.4 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.138e-05/0.3056, allocations: 112.9 kB / 1.23 GB, free: 104.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3056, allocations: 0 / 1.23 GB, free: 104.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003881/0.306, allocations: 60.36 kB / 1.23 GB, free: 104.2 MB / 0.823 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.0002528/0.3063, allocations: 175 kB / 1.23 GB, free: 104 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004399/0.3067, allocations: 171.8 kB / 1.231 GB, free: 103.8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3067, allocations: 0 / 1.231 GB, free: 103.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.000168/0.3069, allocations: 67.89 kB / 1.231 GB, free: 103.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.3073, allocations: 19.92 kB / 1.231 GB, free: 103.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004551/0.3078, allocations: 418 kB / 1.231 GB, free: 103.3 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.3079, allocations: 0.7087 MB / 1.232 GB, free: 102.6 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 9.414e-05/0.308, allocations: 25.05 kB / 1.232 GB, free: 102.5 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.552e-05/0.3081, allocations: 15.44 kB / 1.232 GB, free: 102.5 MB / 0.823 GB Notification: Performance of SimCode: time 2.31e-07/0.3081, allocations: 0 / 1.232 GB, free: 102.5 MB / 0.823 GB Notification: Performance of Templates: time 0.004622/0.3127, allocations: 2.598 MB / 1.234 GB, free: 99.96 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)