Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0009364/0.0009364, allocations: 91.38 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.00624/0.00624, allocations: 171.3 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.428/1.428, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.933/2.933, allocations: 473.4 MB / 0.7469 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004102/0.0004102, allocations: 15.59 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3334, allocations: 162.2 MB / 1.074 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005744/0.3392, allocations: 4.243 MB / 1.078 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.3403, allocations: 0.8179 MB / 1.079 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.655e-05/0.3404, allocations: 4 kB / 1.079 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001966/0.3406, allocations: 27.83 kB / 1.079 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.822e-05/0.3407, allocations: 27.77 kB / 1.079 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005241/0.3412, allocations: 151.5 kB / 1.079 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.3414, allocations: 163.4 kB / 1.079 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.109e-05/0.3415, allocations: 16.91 kB / 1.079 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001745/0.3417, allocations: 71.75 kB / 1.08 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.3418, allocations: 79.66 kB / 1.08 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.3418, allocations: 4 kB / 1.08 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003182/0.3421, allocations: 143.8 kB / 1.08 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.673e-05/0.3422, allocations: 31.83 kB / 1.08 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.689e-05/0.3423, allocations: 89.36 kB / 1.08 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003113/0.3426, allocations: 227.6 kB / 1.08 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3426, allocations: 0 / 1.08 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3426, allocations: 0 / 1.08 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.3426, allocations: 0 / 1.08 GB, free: 1.473 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.0007633/0.3434, allocations: 470.9 kB / 1.081 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.3434, allocations: 8.031 kB / 1.081 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.925e-05/0.3435, allocations: 16.75 kB / 1.081 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.3436, allocations: 176.2 kB / 1.081 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.3436, allocations: 8.375 kB / 1.081 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.3437, allocations: 20.31 kB / 1.081 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003301/0.344, allocations: 131 kB / 1.081 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.344, allocations: 4 kB / 1.081 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.3441, allocations: 4 kB / 1.081 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.3441, allocations: 0 / 1.081 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004711/0.3445, allocations: 167.9 kB / 1.081 GB, free: 408 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009583/0.3455, allocations: 476.4 kB / 1.081 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002979/0.3458, allocations: 138.5 kB / 1.082 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002026/0.346, allocations: 80.81 kB / 1.082 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001288/0.3473, allocations: 0.9687 MB / 1.083 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.3474, allocations: 30.56 kB / 1.083 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.283e-06/0.3474, allocations: 0 / 1.083 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0007227/0.3481, allocations: 253.2 kB / 1.083 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.3481, allocations: 51.41 kB / 1.083 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.3483, allocations: 159.3 kB / 1.083 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.3483, allocations: 29.7 kB / 1.083 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.202e-05/0.3484, allocations: 112.3 kB / 1.083 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.3484, allocations: 35.45 kB / 1.083 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/0.3485, allocations: 29.7 kB / 1.083 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.3486, allocations: 326.8 kB / 1.084 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.3489, allocations: 87.88 kB / 1.084 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002599/0.3491, allocations: 129.3 kB / 1.084 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004589/0.3496, allocations: 186.1 kB / 1.084 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3496, allocations: 4 kB / 1.084 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006028/0.3502, allocations: 271.2 kB / 1.084 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.3502, allocations: 4 kB / 1.084 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.3503, allocations: 0 / 1.084 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3503, allocations: 7.938 kB / 1.084 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002788/0.3506, allocations: 59.89 kB / 1.084 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.3506, allocations: 4 kB / 1.084 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.3508, allocations: 43.77 kB / 1.084 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/0.3508, allocations: 8 kB / 1.084 GB, free: 12.67 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 9.803e-05/0.3509, allocations: 125.8 kB / 1.085 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.229e-05/0.3509, allocations: 7.906 kB / 1.085 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005205/0.3515, allocations: 203.2 kB / 1.085 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.3515, allocations: 7.938 kB / 1.085 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.3515, allocations: 4 kB / 1.085 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3515, allocations: 3.984 kB / 1.085 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.3517, allocations: 217.5 kB / 1.085 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.3517, allocations: 0 / 1.085 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.3519, allocations: 35.98 kB / 1.085 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3519, allocations: 0 / 1.085 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.3519, allocations: 7.922 kB / 1.085 GB, free: 12 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.3519, allocations: 7.984 kB / 1.085 GB, free: 12 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3519, allocations: 0 / 1.085 GB, free: 12 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004702/0.3524, allocations: 279.2 kB / 1.085 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.558e-05/0.3525, allocations: 96.91 kB / 1.085 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.3525, allocations: 7.938 kB / 1.085 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.3527, allocations: 15.98 kB / 1.085 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/0.3527, allocations: 19.91 kB / 1.085 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.3527, allocations: 8 kB / 1.085 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.236e-05/0.3528, allocations: 112.9 kB / 1.085 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3528, allocations: 3.938 kB / 1.086 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003223/0.3531, allocations: 60.06 kB / 1.086 GB, free: 11.37 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.0002797/0.3534, allocations: 159.2 kB / 1.086 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005197/0.354, allocations: 184 kB / 1.086 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.354, allocations: 0 / 1.086 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002206/0.3542, allocations: 79.89 kB / 1.086 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.3546, allocations: 25.88 kB / 1.086 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004869/0.3551, allocations: 297.9 kB / 1.086 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.3554, allocations: 0.7048 MB / 1.087 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.873e-05/0.3555, allocations: 17.08 kB / 1.087 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.159e-05/0.3555, allocations: 19.42 kB / 1.087 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3555, allocations: 0 / 1.087 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of Templates: time 0.005708/0.3612, allocations: 2.539 MB / 1.089 GB, free: 7.332 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)