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.001025/0.001025, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001333/0.001333, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.617/1.617, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.622/1.622, allocations: 252 MB / 0.5102 GB, free: 4.855 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.000843/0.0008434, allocations: 12 kB / 0.6243 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6493/0.6502, allocations: 106.3 MB / 0.7281 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005314/0.6555, allocations: 4.112 MB / 0.7321 GB, free: 7.309 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009964/0.6566, allocations: 0.7607 MB / 0.7329 GB, free: 6.547 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.959e-05/0.6567, allocations: 4 kB / 0.7329 GB, free: 6.543 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001618/0.6569, allocations: 23.83 kB / 0.7329 GB, free: 6.52 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.697e-05/0.6569, allocations: 27.77 kB / 0.7329 GB, free: 6.492 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004612/0.6574, allocations: 135.5 kB / 0.7331 GB, free: 6.359 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.6576, allocations: 151.4 kB / 0.7332 GB, free: 6.211 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.6577, allocations: 17.11 kB / 0.7332 GB, free: 6.195 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.6578, allocations: 71.69 kB / 0.7333 GB, free: 6.125 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.872e-05/0.6579, allocations: 75.73 kB / 0.7334 GB, free: 6.051 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.658, allocations: 8 kB / 0.7334 GB, free: 6.043 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002706/0.6583, allocations: 115.8 kB / 0.7335 GB, free: 5.93 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.017e-05/0.6583, allocations: 27.89 kB / 0.7335 GB, free: 5.902 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.987e-05/0.6584, allocations: 49.64 kB / 0.7336 GB, free: 5.848 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.6586, allocations: 149.6 kB / 0.7337 GB, free: 5.703 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.6586, allocations: 0 / 0.7337 GB, free: 5.703 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6586, allocations: 3.938 kB / 0.7337 GB, free: 5.699 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.6586, allocations: 0 / 0.7337 GB, free: 5.699 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.000823/0.6595, allocations: 474.8 kB / 0.7342 GB, free: 5.188 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.6595, allocations: 12.03 kB / 0.7342 GB, free: 5.176 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.663e-05/0.6596, allocations: 11.91 kB / 0.7342 GB, free: 5.164 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.6597, allocations: 182.8 kB / 0.7344 GB, free: 4.945 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.6598, allocations: 8 kB / 0.7344 GB, free: 4.938 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.6598, allocations: 12 kB / 0.7344 GB, free: 4.926 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003635/0.6602, allocations: 133.6 kB / 0.7345 GB, free: 4.789 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.6602, allocations: 0 / 0.7345 GB, free: 4.789 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.6602, allocations: 3.953 kB / 0.7345 GB, free: 4.785 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.6602, allocations: 0 / 0.7345 GB, free: 4.785 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003971/0.6606, allocations: 163.9 kB / 0.7347 GB, free: 4.625 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.6617, allocations: 476.4 kB / 0.7351 GB, free: 4.109 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/0.662, allocations: 138.5 kB / 0.7353 GB, free: 3.965 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.6622, allocations: 80.77 kB / 0.7353 GB, free: 3.883 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001451/0.6636, allocations: 0.9608 MB / 0.7363 GB, free: 2.785 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.6637, allocations: 38.56 kB / 0.7363 GB, free: 2.738 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.943e-06/0.6637, allocations: 0 / 0.7363 GB, free: 2.738 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.0006514/0.6643, allocations: 241.3 kB / 0.7365 GB, free: 2.496 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.6644, allocations: 55.41 kB / 0.7366 GB, free: 2.43 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.6645, allocations: 160.8 kB / 0.7367 GB, free: 2.266 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.6646, allocations: 29.64 kB / 0.7368 GB, free: 2.23 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.607e-05/0.6647, allocations: 112.3 kB / 0.7369 GB, free: 2.117 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.6647, allocations: 43.44 kB / 0.7369 GB, free: 2.074 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.284e-05/0.6647, allocations: 8 kB / 0.7369 GB, free: 2.066 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.6649, allocations: 326.7 kB / 0.7372 GB, free: 1.738 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.6651, allocations: 91.94 kB / 0.7373 GB, free: 1.648 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002531/0.6653, allocations: 111.4 kB / 0.7374 GB, free: 1.527 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.6656, allocations: 95.02 kB / 0.7375 GB, free: 1.438 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.6656, allocations: 3.938 kB / 0.7375 GB, free: 1.434 MB / 0.545 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000511/0.6661, allocations: 261.2 kB / 0.7378 GB, free: 1.172 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.6661, allocations: 8 kB / 0.7378 GB, free: 1.164 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.6661, allocations: 4.094 kB / 0.7378 GB, free: 1.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.6662, allocations: 4 kB / 0.7378 GB, free: 1.156 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.6664, allocations: 63.89 kB / 0.7379 GB, free: 1.094 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.6664, allocations: 0 / 0.7379 GB, free: 1.094 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.6666, allocations: 35.73 kB / 0.7379 GB, free: 1.059 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-05/0.6666, allocations: 12 kB / 0.7379 GB, free: 1.047 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001413/0.6668, allocations: 129.7 kB / 0.738 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/0.6668, allocations: 15.89 kB / 0.738 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004732/0.6673, allocations: 191.4 kB / 0.7382 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.6673, allocations: 0 / 0.7382 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.6673, allocations: 0 / 0.7382 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.6673, allocations: 7.922 kB / 0.7382 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002593/0.6676, allocations: 225.5 kB / 0.7384 GB, free: 428 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.6676, allocations: 0 / 0.7384 GB, free: 428 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.6678, allocations: 39.91 kB / 0.7385 GB, free: 388 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.6678, allocations: 4 kB / 0.7385 GB, free: 384 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.6678, allocations: 0 / 0.7385 GB, free: 384 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.6678, allocations: 0 / 0.7385 GB, free: 384 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6678, allocations: 0 / 0.7385 GB, free: 384 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004312/0.6682, allocations: 279.2 kB / 0.7388 GB, free: 88 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.6684, allocations: 100.9 kB / 0.7388 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.6684, allocations: 7.938 kB / 0.7389 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.6685, allocations: 23.97 kB / 0.7389 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.6686, allocations: 7.984 kB / 0.7389 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.6686, allocations: 0 / 0.7389 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.782e-05/0.6687, allocations: 119.9 kB / 0.739 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6687, allocations: 0 / 0.739 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003367/0.669, allocations: 56.12 kB / 0.7391 GB, free: 15.76 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003527/0.6694, allocations: 167 kB / 0.7392 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004693/0.6699, allocations: 191.8 kB / 0.7394 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6699, allocations: 4.188 kB / 0.7394 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.6701, allocations: 75.89 kB / 0.7395 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.6705, allocations: 23.94 kB / 0.7395 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005369/0.671, allocations: 365.5 kB / 0.7398 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.6713, allocations: 0.7048 MB / 0.7405 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001125/0.6714, allocations: 20.77 kB / 0.7406 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.88e-05/0.6715, allocations: 15.44 kB / 0.7406 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.6715, allocations: 3.938 kB / 0.7406 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of Templates: time 0.005842/0.6773, allocations: 2.472 MB / 0.743 GB, free: 11.71 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: