Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00171/0.00171, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00186/0.00186, allocations: 191.9 kB / 16.25 MB, free: 6.629 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.448/1.448, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002582/0.002582, allocations: 282.7 kB / 290.4 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.177/1.177, allocations: 178.6 MB / 0.5069 GB, free: 4.711 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002776/0.002776, allocations: 97.56 kB / 0.6059 GB, free: 25.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1675, allocations: 89.15 MB / 0.693 GB, free: 4.715 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006463/0.174, allocations: 4.573 MB / 0.6974 GB, free: 136 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.1751, allocations: 0.8228 MB / 0.6982 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.459e-05/0.1752, allocations: 0 / 0.6982 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001811/0.1754, allocations: 23.89 kB / 0.6983 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.466e-05/0.1755, allocations: 27.77 kB / 0.6983 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004658/0.176, allocations: 155.5 kB / 0.6984 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.1762, allocations: 175.4 kB / 0.6986 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.233e-05/0.1762, allocations: 17.09 kB / 0.6986 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.1764, allocations: 75.77 kB / 0.6987 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.1765, allocations: 83.66 kB / 0.6988 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.1766, allocations: 16 kB / 0.6988 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003083/0.1769, allocations: 155.8 kB / 0.6989 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.689e-05/0.1769, allocations: 35.89 kB / 0.699 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.072e-05/0.177, allocations: 71.66 kB / 0.699 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003495/0.1774, allocations: 235.6 kB / 0.6993 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1774, allocations: 0 / 0.6993 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of FrontEnd: time 5.68e-06/0.1774, allocations: 3.984 kB / 0.6993 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.1774, allocations: 0 / 0.6993 GB, free: 14.25 MB / 0.4981 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.0009159/0.1783, allocations: 482.8 kB / 0.6997 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.1784, allocations: 8.031 kB / 0.6997 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.017e-05/0.1784, allocations: 12.84 kB / 0.6998 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.1786, allocations: 188 kB / 0.6999 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.1786, allocations: 8.375 kB / 0.6999 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.034e-05/0.1786, allocations: 12.38 kB / 0.7 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003521/0.179, allocations: 124.1 kB / 0.7001 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.179, allocations: 8 kB / 0.7001 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.179, allocations: 0 / 0.7001 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.1791, allocations: 3.984 kB / 0.7001 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004374/0.1795, allocations: 135.9 kB / 0.7002 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.1805, allocations: 476.3 kB / 0.7007 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003097/0.1809, allocations: 126.5 kB / 0.7008 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002015/0.1811, allocations: 71.94 kB / 0.7009 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001506/0.1826, allocations: 0.9648 MB / 0.7018 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.1826, allocations: 34.56 kB / 0.7018 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/0.1826, allocations: 4 kB / 0.7018 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0007125/0.1834, allocations: 213.3 kB / 0.702 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.1834, allocations: 51.41 kB / 0.7021 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.1836, allocations: 170 kB / 0.7022 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.1836, allocations: 33.7 kB / 0.7023 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.191e-05/0.1837, allocations: 104.4 kB / 0.7024 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.1838, allocations: 35.45 kB / 0.7024 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.627e-05/0.1838, allocations: 49.7 kB / 0.7025 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.184, allocations: 322.8 kB / 0.7028 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002418/0.1842, allocations: 75.94 kB / 0.7028 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/0.1845, allocations: 109.3 kB / 0.7029 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004509/0.185, allocations: 181.3 kB / 0.7031 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.185, allocations: 0 / 0.7031 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006033/0.1856, allocations: 249.1 kB / 0.7034 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.1856, allocations: 4 kB / 0.7034 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1856, allocations: 4 kB / 0.7034 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.1857, allocations: 8.031 kB / 0.7034 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002829/0.186, allocations: 47.97 kB / 0.7034 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.186, allocations: 7.938 kB / 0.7034 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.1862, allocations: 35.75 kB / 0.7035 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.887e-05/0.1862, allocations: 8 kB / 0.7035 GB, free: 9.582 MB / 0.4981 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.0001056/0.1863, allocations: 117.8 kB / 0.7036 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.802e-05/0.1863, allocations: 15.81 kB / 0.7036 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005096/0.1869, allocations: 187.2 kB / 0.7038 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/0.1869, allocations: 4 kB / 0.7038 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1869, allocations: 0 / 0.7038 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1869, allocations: 0 / 0.7038 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/0.1872, allocations: 221.4 kB / 0.704 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1872, allocations: 0 / 0.704 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.1873, allocations: 39.97 kB / 0.704 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1874, allocations: 0 / 0.704 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.1874, allocations: 3.938 kB / 0.704 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1874, allocations: 0 / 0.704 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1874, allocations: 0 / 0.704 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004922/0.1879, allocations: 259.3 kB / 0.7043 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.027e-05/0.188, allocations: 96.91 kB / 0.7044 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/0.188, allocations: 11.94 kB / 0.7044 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.1882, allocations: 11.98 kB / 0.7044 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/0.1882, allocations: 11.98 kB / 0.7044 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.1882, allocations: 4 kB / 0.7044 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000101/0.1883, allocations: 115.5 kB / 0.7045 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1883, allocations: 0 / 0.7045 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003504/0.1887, allocations: 68.05 kB / 0.7046 GB, free: 8.344 MB / 0.4981 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.0003049/0.189, allocations: 159.1 kB / 0.7047 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005148/0.1895, allocations: 171.8 kB / 0.7049 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1895, allocations: 0 / 0.7049 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002055/0.1898, allocations: 67.89 kB / 0.705 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.1901, allocations: 28.16 kB / 0.705 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004893/0.1906, allocations: 289.2 kB / 0.7053 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.191, allocations: 0.7045 MB / 0.706 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001093/0.1911, allocations: 29.33 kB / 0.706 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.274e-05/0.1912, allocations: 15.44 kB / 0.706 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1912, allocations: 0 / 0.706 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of Templates: time 0.006376/0.1976, allocations: 2.627 MB / 0.7086 GB, free: 4.238 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)