Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0009772/0.0009772, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00832/0.00832, allocations: 170.8 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.99/2.99, allocations: 473.4 MB / 0.7469 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003945/0.0003946, allocations: 10.19 kB / 0.9158 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3504, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005413/0.3558, allocations: 4.239 MB / 1.078 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.3569, allocations: 0.818 MB / 1.079 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.179e-05/0.357, allocations: 3.938 kB / 1.079 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001579/0.3571, allocations: 27.83 kB / 1.079 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.652e-05/0.3572, allocations: 31.77 kB / 1.079 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004344/0.3577, allocations: 147.5 kB / 1.079 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.3578, allocations: 163.4 kB / 1.079 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.988e-05/0.3579, allocations: 20.91 kB / 1.079 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.3581, allocations: 71.75 kB / 1.08 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.466e-05/0.3582, allocations: 75.66 kB / 1.08 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.3582, allocations: 8 kB / 1.08 GB, free: 1.926 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003146/0.3585, allocations: 143.8 kB / 1.08 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.018e-05/0.3586, allocations: 27.89 kB / 1.08 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.639e-05/0.3587, allocations: 85.36 kB / 1.08 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003246/0.359, allocations: 223.6 kB / 1.08 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.359, allocations: 8 kB / 1.08 GB, free: 1.441 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.314e-06/0.359, allocations: 0 / 1.08 GB, free: 1.441 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.359, allocations: 3.938 kB / 1.08 GB, free: 1.438 MB / 0.8262 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.0008223/0.3599, allocations: 467 kB / 1.081 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.3599, allocations: 12.03 kB / 1.081 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.282e-05/0.36, allocations: 12.75 kB / 1.081 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.3601, allocations: 180.2 kB / 1.081 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.3601, allocations: 12.31 kB / 1.081 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.3602, allocations: 12.38 kB / 1.081 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003367/0.3605, allocations: 135.3 kB / 1.081 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.3605, allocations: 0 / 1.081 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.3605, allocations: 0 / 1.081 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.3606, allocations: 4 kB / 1.081 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004385/0.361, allocations: 163.9 kB / 1.081 GB, free: 380 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.362, allocations: 468.4 kB / 1.081 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003475/0.3624, allocations: 150.5 kB / 1.082 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002131/0.3626, allocations: 80.81 kB / 1.082 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001325/0.3639, allocations: 0.9608 MB / 1.083 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.364, allocations: 38.56 kB / 1.083 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.523e-06/0.364, allocations: 0 / 1.083 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0007116/0.3647, allocations: 249.2 kB / 1.083 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.3647, allocations: 59.41 kB / 1.083 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.3649, allocations: 159.3 kB / 1.083 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.3649, allocations: 25.7 kB / 1.083 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.505e-05/0.365, allocations: 116.3 kB / 1.083 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.365, allocations: 39.45 kB / 1.083 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.534e-05/0.3651, allocations: 29.7 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.3652, allocations: 322.8 kB / 1.084 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002425/0.3655, allocations: 91.88 kB / 1.084 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002554/0.3657, allocations: 121.1 kB / 1.084 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004536/0.3662, allocations: 194.1 kB / 1.084 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3662, allocations: 0 / 1.084 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005957/0.3668, allocations: 271.2 kB / 1.084 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.3668, allocations: 4 kB / 1.084 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.3668, allocations: 96 / 1.084 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.3669, allocations: 15.88 kB / 1.084 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002863/0.3672, allocations: 55.95 kB / 1.084 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.3672, allocations: 4 kB / 1.084 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.3674, allocations: 39.67 kB / 1.084 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.99e-05/0.3674, allocations: 8 kB / 1.084 GB, free: 12.63 MB / 0.8419 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.0001062/0.3675, allocations: 129.8 kB / 1.085 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.305e-05/0.3676, allocations: 7.906 kB / 1.085 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005341/0.3681, allocations: 202.8 kB / 1.085 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.3681, allocations: 4 kB / 1.085 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.3681, allocations: 3.984 kB / 1.085 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.3681, allocations: 3.984 kB / 1.085 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002352/0.3684, allocations: 213.5 kB / 1.085 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.3684, allocations: 0 / 1.085 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.3685, allocations: 35.98 kB / 1.085 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.3686, allocations: 3.984 kB / 1.085 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.3686, allocations: 7.938 kB / 1.085 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3686, allocations: 0 / 1.085 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3686, allocations: 0 / 1.085 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000465/0.3691, allocations: 279.2 kB / 1.085 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.359e-05/0.3691, allocations: 96.91 kB / 1.085 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.3692, allocations: 11.94 kB / 1.085 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.3693, allocations: 19.97 kB / 1.085 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.087e-05/0.3694, allocations: 11.92 kB / 1.085 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.3694, allocations: 8 kB / 1.085 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.266e-05/0.3695, allocations: 112.9 kB / 1.085 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3695, allocations: 0 / 1.085 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003585/0.3699, allocations: 64 kB / 1.086 GB, free: 11.34 MB / 0.8419 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.0003129/0.3702, allocations: 151.2 kB / 1.086 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005253/0.3707, allocations: 195.8 kB / 1.086 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3707, allocations: 4.188 kB / 1.086 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000196/0.3709, allocations: 71.95 kB / 1.086 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.3713, allocations: 21.88 kB / 1.086 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005054/0.3718, allocations: 302.8 kB / 1.086 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.3721, allocations: 0.7087 MB / 1.087 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.771e-05/0.3722, allocations: 17.03 kB / 1.087 GB, free: 9.832 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.128e-05/0.3723, allocations: 19.42 kB / 1.087 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of SimCode: time 2.1e-07/0.3723, allocations: 0 / 1.087 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of Templates: time 0.005899/0.3782, allocations: 2.537 MB / 1.089 GB, free: 7.301 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)