Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5099/0.5099, allocations: 90.91 MB / 99.34 MB, free: 2.227 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 221.5 MB / 343.2 MB, free: 1.574 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 101.8 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.925e-05/1.926e-05, allocations: 4 kB / 494.5 MB, free: 52.4 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1459, allocations: 72.32 MB / 0.5535 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.096/1.242, allocations: 324.9 MB / 0.8708 GB, free: 175.7 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/1.242, allocations: 83.94 kB / 0.8709 GB, free: 175.7 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.0264/1.268, allocations: 14.1 MB / 0.8847 GB, free: 161.5 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.744e-06/1.268, allocations: 0 / 0.8847 GB, free: 161.5 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.308e-06/1.268, allocations: 4 kB / 0.8847 GB, free: 161.5 MB / 0.5886 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.0006069/1.269, allocations: 450.7 kB / 0.8851 GB, free: 161 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/1.269, allocations: 8.031 kB / 0.8851 GB, free: 161 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.366e-05/1.269, allocations: 15.86 kB / 0.8851 GB, free: 161 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/1.269, allocations: 190.7 kB / 0.8853 GB, free: 160.7 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/1.269, allocations: 0 / 0.8853 GB, free: 160.7 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/1.269, allocations: 11.94 kB / 0.8853 GB, free: 160.7 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000182/1.269, allocations: 91.97 kB / 0.8854 GB, free: 160.6 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/1.27, allocations: 74.45 kB / 0.8855 GB, free: 160.6 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/1.27, allocations: 11.94 kB / 0.8855 GB, free: 160.5 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/1.27, allocations: 3.953 kB / 0.8855 GB, free: 160.5 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/1.27, allocations: 0 / 0.8855 GB, free: 160.5 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008383/1.27, allocations: 437 kB / 0.8859 GB, free: 160.1 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/1.271, allocations: 98.48 kB / 0.886 GB, free: 160 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.743e-05/1.271, allocations: 48.86 kB / 0.8861 GB, free: 159.9 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001048/1.272, allocations: 0.9607 MB / 0.887 GB, free: 158.8 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/1.272, allocations: 38.56 kB / 0.887 GB, free: 158.8 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/1.272, allocations: 4 kB / 0.8871 GB, free: 158.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12): time 0.0004073/1.272, allocations: 121.5 kB / 0.8872 GB, free: 158.6 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.038e-05/1.272, allocations: 59.34 kB / 0.8872 GB, free: 158.6 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.496e-05/1.272, allocations: 145.8 kB / 0.8874 GB, free: 158.4 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/1.272, allocations: 25.7 kB / 0.8874 GB, free: 158.4 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.802e-05/1.272, allocations: 104.3 kB / 0.8875 GB, free: 158.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/1.272, allocations: 43.39 kB / 0.8875 GB, free: 158.2 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-06/1.272, allocations: 0 / 0.8875 GB, free: 158.2 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.114e-05/1.272, allocations: 326.8 kB / 0.8878 GB, free: 157.9 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.016e-05/1.273, allocations: 43.98 kB / 0.8879 GB, free: 157.9 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.318e-05/1.273, allocations: 75.44 kB / 0.888 GB, free: 157.8 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004462/1.273, allocations: 130.7 kB / 0.8881 GB, free: 157.7 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/1.273, allocations: 4 kB / 0.8881 GB, free: 157.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005714/1.274, allocations: 245.1 kB / 0.8883 GB, free: 157.4 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/1.274, allocations: 7.938 kB / 0.8883 GB, free: 157.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/1.274, allocations: 0 / 0.8883 GB, free: 157.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/1.274, allocations: 4 kB / 0.8883 GB, free: 157.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/1.274, allocations: 63.98 kB / 0.8884 GB, free: 157.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/1.274, allocations: 4 kB / 0.8884 GB, free: 157.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/1.274, allocations: 31.83 kB / 0.8884 GB, free: 157.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/1.274, allocations: 7.984 kB / 0.8884 GB, free: 157.3 MB / 0.5886 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 () * 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 6.309e-05/1.274, allocations: 104.9 kB / 0.8885 GB, free: 157.2 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/1.274, allocations: 19.77 kB / 0.8885 GB, free: 157.2 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003607/1.275, allocations: 150.1 kB / 0.8887 GB, free: 157 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/1.275, allocations: 4 kB / 0.8887 GB, free: 157 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/1.275, allocations: 0 / 0.8887 GB, free: 157 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/1.275, allocations: 0 / 0.8887 GB, free: 157 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/1.275, allocations: 186.1 kB / 0.8889 GB, free: 156.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/1.275, allocations: 0 / 0.8889 GB, free: 156.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/1.275, allocations: 39.92 kB / 0.8889 GB, free: 156.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/1.275, allocations: 4 kB / 0.8889 GB, free: 156.7 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/1.275, allocations: 7.953 kB / 0.8889 GB, free: 156.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/1.275, allocations: 3.984 kB / 0.8889 GB, free: 156.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.275, allocations: 0 / 0.8889 GB, free: 156.7 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002859/1.275, allocations: 215.6 kB / 0.8891 GB, free: 156.5 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.983e-05/1.275, allocations: 96.86 kB / 0.8892 GB, free: 156.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/1.275, allocations: 0 / 0.8892 GB, free: 156.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/1.276, allocations: 23.94 kB / 0.8892 GB, free: 156.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/1.276, allocations: 7.984 kB / 0.8893 GB, free: 156.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/1.276, allocations: 4 kB / 0.8893 GB, free: 156.4 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.779e-05/1.276, allocations: 108.6 kB / 0.8894 GB, free: 156.3 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/1.276, allocations: 0 / 0.8894 GB, free: 156.3 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003101/1.276, allocations: 64.23 kB / 0.8894 GB, free: 156.2 MB / 0.5886 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 () * 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.0002551/1.276, allocations: 189.3 kB / 0.8896 GB, free: 156 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001927/1.276, allocations: 111.9 kB / 0.8897 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/1.276, allocations: 3.938 kB / 0.8897 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.206e-05/1.277, allocations: 39.94 kB / 0.8898 GB, free: 155.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/1.277, allocations: 15.98 kB / 0.8898 GB, free: 155.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002936/1.277, allocations: 149.1 kB / 0.8899 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/1.277, allocations: 0.7084 MB / 0.8906 GB, free: 154.9 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 9.155e-05/1.277, allocations: 17.2 kB / 0.8906 GB, free: 154.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.379e-05/1.277, allocations: 19.42 kB / 0.8906 GB, free: 154.9 MB / 0.5886 GB Notification: Performance of SimCode: time 2.7e-07/1.277, allocations: 0 / 0.8906 GB, free: 154.9 MB / 0.5886 GB Notification: Performance of Templates: time 0.004504/1.282, allocations: 2.416 MB / 0.893 GB, free: 152.5 MB / 0.5886 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)