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.001163/0.001163, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001219/0.001219, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.313/1.313, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002073/0.002073, allocations: 286.2 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9415/0.9415, allocations: 169.2 MB / 0.4988 GB, free: 4.527 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 95.77 kB / 0.5959 GB, free: 15.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1615, allocations: 86.98 MB / 0.6808 GB, free: 8.203 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005715/0.1672, allocations: 4.54 MB / 0.6853 GB, free: 3.625 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009666/0.1682, allocations: 0.8069 MB / 0.6861 GB, free: 2.812 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.484e-05/0.1683, allocations: 0 / 0.6861 GB, free: 2.812 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001603/0.1685, allocations: 31.77 kB / 0.6861 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.312e-05/0.1686, allocations: 31.7 kB / 0.6861 GB, free: 2.75 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000467/0.169, allocations: 171.4 kB / 0.6863 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.1692, allocations: 171.4 kB / 0.6865 GB, free: 2.414 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.538e-05/0.1693, allocations: 25.09 kB / 0.6865 GB, free: 2.391 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.1695, allocations: 79.7 kB / 0.6866 GB, free: 2.312 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.929e-05/0.1696, allocations: 87.66 kB / 0.6866 GB, free: 2.227 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.717e-05/0.1696, allocations: 12 kB / 0.6867 GB, free: 2.215 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003061/0.1699, allocations: 147.8 kB / 0.6868 GB, free: 2.07 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.38e-05/0.17, allocations: 39.89 kB / 0.6868 GB, free: 2.031 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.841e-05/0.17, allocations: 67.66 kB / 0.6869 GB, free: 1.965 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003187/0.1704, allocations: 235.6 kB / 0.6871 GB, free: 1.734 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1704, allocations: 4 kB / 0.6871 GB, free: 1.73 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1704, allocations: 0 / 0.6871 GB, free: 1.73 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.1704, allocations: 0 / 0.6871 GB, free: 1.73 MB / 494.1 MB 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.000857/0.1713, allocations: 478.9 kB / 0.6876 GB, free: 1.215 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1713, allocations: 8.031 kB / 0.6876 GB, free: 1.207 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.18e-05/0.1714, allocations: 16.75 kB / 0.6876 GB, free: 1.191 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.1715, allocations: 189.4 kB / 0.6878 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.1715, allocations: 4.375 kB / 0.6878 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.1716, allocations: 12.38 kB / 0.6878 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003186/0.1719, allocations: 127.8 kB / 0.6879 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.1719, allocations: 0 / 0.6879 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.1719, allocations: 8 kB / 0.6879 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1719, allocations: 0 / 0.6879 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004122/0.1724, allocations: 143.8 kB / 0.6881 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009409/0.1733, allocations: 468.5 kB / 0.6885 GB, free: 172 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002916/0.1736, allocations: 118.5 kB / 0.6886 GB, free: 44 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2918/0.4654, allocations: 72.67 kB / 0.6887 GB, free: 18.77 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001403/0.4669, allocations: 0.9548 MB / 0.6896 GB, free: 17.93 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.4669, allocations: 36.8 kB / 0.6897 GB, free: 17.89 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 2.285e-06/0.4669, allocations: 0.5625 kB / 0.6897 GB, free: 17.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007233/0.4677, allocations: 210.9 kB / 0.6899 GB, free: 17.86 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.4677, allocations: 53.47 kB / 0.6899 GB, free: 17.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.4678, allocations: 171.3 kB / 0.6901 GB, free: 17.69 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.4678, allocations: 33.33 kB / 0.6901 GB, free: 17.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.029e-05/0.4679, allocations: 108.7 kB / 0.6902 GB, free: 17.57 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.4679, allocations: 41.22 kB / 0.6903 GB, free: 17.55 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.26e-05/0.468, allocations: 49.62 kB / 0.6903 GB, free: 17.54 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.453e-05/0.4681, allocations: 323.9 kB / 0.6906 GB, free: 17.22 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/0.4683, allocations: 72.27 kB / 0.6907 GB, free: 17.22 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.4685, allocations: 117.4 kB / 0.6908 GB, free: 17.19 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004049/0.469, allocations: 179.1 kB / 0.691 GB, free: 17.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.469, allocations: 0 / 0.691 GB, free: 17.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005406/0.4695, allocations: 241.2 kB / 0.6912 GB, free: 17.12 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.4695, allocations: 7.906 kB / 0.6912 GB, free: 17.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.4695, allocations: 1.25 kB / 0.6912 GB, free: 17.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.4696, allocations: 3.172 kB / 0.6912 GB, free: 17.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/0.4698, allocations: 55.23 kB / 0.6913 GB, free: 17.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.4699, allocations: 6.062 kB / 0.6913 GB, free: 17.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.47, allocations: 35.75 kB / 0.6913 GB, free: 17.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.4701, allocations: 11.08 kB / 0.6913 GB, free: 17.11 MB / 494.1 MB 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 6.731e-05/0.4701, allocations: 122.4 kB / 0.6914 GB, free: 16.99 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.44e-05/0.4702, allocations: 14.72 kB / 0.6914 GB, free: 16.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004881/0.4707, allocations: 174.4 kB / 0.6916 GB, free: 16.95 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.4707, allocations: 5.281 kB / 0.6916 GB, free: 16.94 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.4707, allocations: 6.125 kB / 0.6916 GB, free: 16.94 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4707, allocations: 2.891 kB / 0.6916 GB, free: 16.94 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.4709, allocations: 211.4 kB / 0.6918 GB, free: 16.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.4709, allocations: 0 / 0.6918 GB, free: 16.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.4711, allocations: 37.14 kB / 0.6919 GB, free: 16.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.4711, allocations: 0.875 kB / 0.6919 GB, free: 16.75 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.547e-06/0.4711, allocations: 4.281 kB / 0.6919 GB, free: 16.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4711, allocations: 0.7812 kB / 0.6919 GB, free: 16.75 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4711, allocations: 5.031 kB / 0.6919 GB, free: 16.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004108/0.4715, allocations: 259.7 kB / 0.6921 GB, free: 16.61 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.71e-05/0.4716, allocations: 96.89 kB / 0.6922 GB, free: 16.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.4716, allocations: 8.781 kB / 0.6922 GB, free: 16.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.4717, allocations: 14.33 kB / 0.6922 GB, free: 16.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/0.4718, allocations: 15.88 kB / 0.6922 GB, free: 16.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.4718, allocations: 3.375 kB / 0.6922 GB, free: 16.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.184e-05/0.4719, allocations: 122.8 kB / 0.6924 GB, free: 16.42 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4719, allocations: 0 / 0.6924 GB, free: 16.42 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003265/0.4722, allocations: 60.3 kB / 0.6924 GB, free: 16.41 MB / 494.1 MB 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.0002281/0.4724, allocations: 162.7 kB / 0.6926 GB, free: 16.32 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005212/0.473, allocations: 180.3 kB / 0.6927 GB, free: 16.27 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.473, allocations: 0 / 0.6927 GB, free: 16.27 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001983/0.4732, allocations: 71.92 kB / 0.6928 GB, free: 16.25 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.4736, allocations: 16.09 kB / 0.6928 GB, free: 16.25 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004404/0.474, allocations: 293.2 kB / 0.6931 GB, free: 16.04 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.4742, allocations: 0.7027 MB / 0.6938 GB, free: 15.34 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.036e-05/0.4742, allocations: 21.5 kB / 0.6938 GB, free: 15.33 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4742, allocations: 0.7812 kB / 0.6938 GB, free: 15.33 MB / 494.1 MB Notification: Performance of Templates: time 0.004764/0.479, allocations: 2.552 MB / 0.6963 GB, free: 15.05 MB / 494.1 MB 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)