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.009646/0.009646, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001576/0.001576, allocations: 191.7 kB / 16.67 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.562/1.562, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.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.456/1.456, allocations: 251.7 MB / 0.5094 GB, free: 428 kB / 430.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.001434/0.001434, allocations: 71.91 kB / 0.7258 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7135/0.715, allocations: 104.7 MB / 0.8281 GB, free: 2.582 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007262/0.7223, allocations: 4.582 MB / 0.8325 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.7236, allocations: 0.8224 MB / 0.8333 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.476e-05/0.7237, allocations: 4 kB / 0.8333 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0002284/0.7239, allocations: 27.83 kB / 0.8334 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 6.105e-05/0.7241, allocations: 35.64 kB / 0.8334 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006056/0.7247, allocations: 171.4 kB / 0.8336 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.7249, allocations: 179.4 kB / 0.8337 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.725, allocations: 9.125 kB / 0.8337 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002185/0.7253, allocations: 83.69 kB / 0.8338 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.7254, allocations: 87.72 kB / 0.8339 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.7254, allocations: 15.94 kB / 0.8339 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000397/0.7258, allocations: 147.8 kB / 0.8341 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 4.874e-05/0.7259, allocations: 35.89 kB / 0.8341 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.726, allocations: 67.66 kB / 0.8342 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0004153/0.7264, allocations: 237.2 kB / 0.8344 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.7264, allocations: 0 / 0.8344 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.826e-06/0.7264, allocations: 0 / 0.8344 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.378e-06/0.7265, allocations: 0 / 0.8344 GB, free: 12.07 MB / 0.6387 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.001068/0.7275, allocations: 479 kB / 0.8348 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.7276, allocations: 12.03 kB / 0.8349 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.602e-05/0.7277, allocations: 12.75 kB / 0.8349 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.7279, allocations: 190.5 kB / 0.8351 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.7279, allocations: 8.375 kB / 0.8351 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/0.7279, allocations: 16.38 kB / 0.8351 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00034/0.7283, allocations: 125.7 kB / 0.8352 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.7283, allocations: 0 / 0.8352 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.7283, allocations: 0 / 0.8352 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.7283, allocations: 3.984 kB / 0.8352 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004055/0.7287, allocations: 151.7 kB / 0.8353 GB, free: 11 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.7298, allocations: 464.5 kB / 0.8358 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/0.7301, allocations: 126.5 kB / 0.8359 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.7303, allocations: 64.81 kB / 0.836 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001365/0.7316, allocations: 0.9687 MB / 0.8369 GB, free: 9.195 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.7317, allocations: 38.5 kB / 0.837 GB, free: 9.148 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=12): time 1.253e-06/0.7317, allocations: 4 kB / 0.837 GB, free: 9.145 MB / 0.6387 GB Notification: Performance of matching and sorting (n=12): time 0.000702/0.7324, allocations: 209.3 kB / 0.8372 GB, free: 8.934 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.7325, allocations: 55.34 kB / 0.8372 GB, free: 8.867 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.7327, allocations: 165.7 kB / 0.8374 GB, free: 8.699 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.7327, allocations: 29.7 kB / 0.8374 GB, free: 8.664 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 8.474e-05/0.7328, allocations: 108.3 kB / 0.8375 GB, free: 8.555 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/0.7328, allocations: 39.36 kB / 0.8375 GB, free: 8.516 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.078e-05/0.7329, allocations: 53.69 kB / 0.8376 GB, free: 8.457 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.7331, allocations: 322.8 kB / 0.8379 GB, free: 8.133 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.7333, allocations: 75.95 kB / 0.838 GB, free: 8.059 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/0.7336, allocations: 115.2 kB / 0.8381 GB, free: 7.934 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003853/0.7339, allocations: 163.4 kB / 0.8382 GB, free: 7.762 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.734, allocations: 0 / 0.8382 GB, free: 7.762 MB / 0.6387 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000531/0.7345, allocations: 247 kB / 0.8385 GB, free: 7.516 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.7345, allocations: 4.094 kB / 0.8385 GB, free: 7.512 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.7345, allocations: 8 kB / 0.8385 GB, free: 7.504 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.7346, allocations: 3.938 kB / 0.8385 GB, free: 7.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.7348, allocations: 51.91 kB / 0.8385 GB, free: 7.449 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.7349, allocations: 4 kB / 0.8385 GB, free: 7.445 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.735, allocations: 39.72 kB / 0.8386 GB, free: 7.406 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.735, allocations: 8 kB / 0.8386 GB, free: 7.398 MB / 0.6387 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.000107/0.7352, allocations: 129.7 kB / 0.8387 GB, free: 7.262 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.363e-05/0.7352, allocations: 11.91 kB / 0.8387 GB, free: 7.25 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004594/0.7357, allocations: 183.1 kB / 0.8389 GB, free: 7.07 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.7357, allocations: 4 kB / 0.8389 GB, free: 7.066 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.7357, allocations: 0 / 0.8389 GB, free: 7.066 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.7357, allocations: 0 / 0.8389 GB, free: 7.066 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.7359, allocations: 209.6 kB / 0.8391 GB, free: 6.812 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.7359, allocations: 4 kB / 0.8391 GB, free: 6.809 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.7361, allocations: 35.97 kB / 0.8391 GB, free: 6.773 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.7361, allocations: 3.938 kB / 0.8391 GB, free: 6.77 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.7361, allocations: 3.938 kB / 0.8391 GB, free: 6.766 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.7361, allocations: 0 / 0.8391 GB, free: 6.766 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.7361, allocations: 0 / 0.8391 GB, free: 6.766 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004134/0.7365, allocations: 267.2 kB / 0.8394 GB, free: 6.488 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 7.007e-05/0.7366, allocations: 96.94 kB / 0.8395 GB, free: 6.375 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.7367, allocations: 7.938 kB / 0.8395 GB, free: 6.367 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.7368, allocations: 11.98 kB / 0.8395 GB, free: 6.355 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.106e-05/0.7368, allocations: 11.98 kB / 0.8395 GB, free: 6.344 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.7369, allocations: 4 kB / 0.8395 GB, free: 6.34 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 8.033e-05/0.7369, allocations: 117.8 kB / 0.8396 GB, free: 6.227 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.737, allocations: 4 kB / 0.8396 GB, free: 6.223 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003352/0.7373, allocations: 56.11 kB / 0.8397 GB, free: 6.168 MB / 0.6387 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.0003144/0.7376, allocations: 159.4 kB / 0.8398 GB, free: 6.004 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004758/0.7381, allocations: 175.8 kB / 0.84 GB, free: 5.832 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7381, allocations: 3.938 kB / 0.84 GB, free: 5.828 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001701/0.7383, allocations: 67.89 kB / 0.8401 GB, free: 5.762 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003977/0.7387, allocations: 28.14 kB / 0.8401 GB, free: 5.734 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000511/0.7392, allocations: 249.1 kB / 0.8403 GB, free: 5.461 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.7395, allocations: 0.7045 MB / 0.841 GB, free: 4.73 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 9.116e-05/0.7396, allocations: 21.02 kB / 0.8411 GB, free: 4.707 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.102e-05/0.7396, allocations: 15.44 kB / 0.8411 GB, free: 4.691 MB / 0.6387 GB Notification: Performance of SimCode: time 2.1e-07/0.7397, allocations: 4 kB / 0.8411 GB, free: 4.688 MB / 0.6387 GB Notification: Performance of Templates: time 0.006041/0.7457, allocations: 2.748 MB / 0.8438 GB, free: 1.977 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (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)