Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009815/0.0009815, allocations: 99.05 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 181.6 kB / 16.92 MB, free: 6.719 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.36/1.36, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6846/0.6846, allocations: 115.5 MB / 407.6 MB, free: 2.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003195/0.0003194, allocations: 8 kB / 495.9 MB, free: 6.305 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1707, allocations: 77.53 MB / 0.56 GB, free: 8.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.02297/0.1937, allocations: 13.35 MB / 0.573 GB, free: 11.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004003/0.1977, allocations: 2.656 MB / 0.5756 GB, free: 8.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.1979, allocations: 4 kB / 0.5756 GB, free: 8.906 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003012/0.1982, allocations: 35.8 kB / 0.5756 GB, free: 8.871 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003149/0.1985, allocations: 83.5 kB / 0.5757 GB, free: 8.789 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001487/0.2, allocations: 471.1 kB / 0.5762 GB, free: 8.336 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004056/0.2004, allocations: 299.9 kB / 0.5764 GB, free: 8.043 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.223e-05/0.2005, allocations: 17.47 kB / 0.5765 GB, free: 8.023 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009281/0.2098, allocations: 3.156 MB / 0.5795 GB, free: 4.852 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.21, allocations: 87.67 kB / 0.5796 GB, free: 4.766 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.2101, allocations: 8 kB / 0.5796 GB, free: 4.758 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002474/0.2125, allocations: 0.9792 MB / 0.5806 GB, free: 3.781 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.3e-05/0.2126, allocations: 31.89 kB / 0.5806 GB, free: 3.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.2128, allocations: 117.3 kB / 0.5807 GB, free: 3.629 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006496/0.2134, allocations: 355.1 kB / 0.5811 GB, free: 3.281 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.2134, allocations: 4 kB / 0.5811 GB, free: 3.277 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2134, allocations: 4 kB / 0.5811 GB, free: 3.273 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.2134, allocations: 0 / 0.5811 GB, free: 3.273 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006476/0.2141, allocations: 471.2 kB / 0.5815 GB, free: 2.766 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.2141, allocations: 8.031 kB / 0.5815 GB, free: 2.758 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001595/0.2143, allocations: 24.75 kB / 0.5816 GB, free: 2.734 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.2145, allocations: 216.2 kB / 0.5818 GB, free: 2.484 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.2146, allocations: 12.7 kB / 0.5818 GB, free: 2.473 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.2146, allocations: 16.38 kB / 0.5818 GB, free: 2.457 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003788/0.215, allocations: 252.2 kB / 0.582 GB, free: 2.191 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.215, allocations: 4 kB / 0.582 GB, free: 2.188 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.215, allocations: 7.938 kB / 0.582 GB, free: 2.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.573e-05/0.2151, allocations: 8 kB / 0.5821 GB, free: 2.172 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004891/0.2156, allocations: 427.3 kB / 0.5825 GB, free: 1.754 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.2167, allocations: 0.9721 MB / 0.5834 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002551/0.217, allocations: 162.5 kB / 0.5836 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.422e-05/0.2171, allocations: 60.89 kB / 0.5836 GB, free: 476 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2508/0.4679, allocations: 1.82 MB / 0.5854 GB, free: 31.58 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.468, allocations: 36.27 kB / 0.5854 GB, free: 31.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 2.004e-06/0.468, allocations: 0.6875 kB / 0.5854 GB, free: 31.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003617/0.4683, allocations: 148.7 kB / 0.5856 GB, free: 31.51 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/0.4684, allocations: 53.88 kB / 0.5856 GB, free: 31.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.4685, allocations: 171.8 kB / 0.5858 GB, free: 31.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.4686, allocations: 30.39 kB / 0.5858 GB, free: 31.31 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/0.4686, allocations: 144.8 kB / 0.586 GB, free: 31.19 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.415e-05/0.4687, allocations: 51.8 kB / 0.586 GB, free: 31.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/0.4687, allocations: 28.81 kB / 0.586 GB, free: 31.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.227e-05/0.4688, allocations: 326.6 kB / 0.5863 GB, free: 30.83 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.347e-05/0.4689, allocations: 35.2 kB / 0.5864 GB, free: 30.83 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.469, allocations: 141.3 kB / 0.5865 GB, free: 30.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001979/0.4692, allocations: 206.3 kB / 0.5867 GB, free: 30.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.4692, allocations: 1.094 kB / 0.5867 GB, free: 30.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003077/0.4695, allocations: 206.9 kB / 0.5869 GB, free: 30.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.4695, allocations: 9.844 kB / 0.5869 GB, free: 30.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.4695, allocations: 4.75 kB / 0.5869 GB, free: 30.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.4696, allocations: 5.438 kB / 0.5869 GB, free: 30.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.4697, allocations: 53.22 kB / 0.587 GB, free: 30.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.4698, allocations: 9.734 kB / 0.587 GB, free: 30.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.4699, allocations: 33.09 kB / 0.587 GB, free: 30.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.34e-05/0.4699, allocations: 14.27 kB / 0.587 GB, free: 30.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 8.717e-05/0.47, allocations: 133.7 kB / 0.5872 GB, free: 30.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.359e-05/0.47, allocations: 21.78 kB / 0.5872 GB, free: 30.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002868/0.4703, allocations: 160.9 kB / 0.5873 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.4704, allocations: 1.375 kB / 0.5873 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4704, allocations: 4.172 kB / 0.5873 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.4704, allocations: 2.453 kB / 0.5873 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.4706, allocations: 212.5 kB / 0.5875 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4706, allocations: 2.438 kB / 0.5875 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.514e-05/0.4707, allocations: 23.94 kB / 0.5876 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.4707, allocations: 5.406 kB / 0.5876 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.4707, allocations: 10.25 kB / 0.5876 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.4707, allocations: 0.9688 kB / 0.5876 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4707, allocations: 0 / 0.5876 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001938/0.4709, allocations: 225.9 kB / 0.5878 GB, free: 29.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.75e-05/0.471, allocations: 115.5 kB / 0.5879 GB, free: 29.87 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.471, allocations: 5.531 kB / 0.5879 GB, free: 29.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.4712, allocations: 19.45 kB / 0.5879 GB, free: 29.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.488e-05/0.4713, allocations: 16.5 kB / 0.588 GB, free: 29.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.4713, allocations: 16.33 kB / 0.588 GB, free: 29.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.151e-05/0.4714, allocations: 118.9 kB / 0.5881 GB, free: 29.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4714, allocations: 0 / 0.5881 GB, free: 29.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003875/0.4718, allocations: 75.97 kB / 0.5882 GB, free: 29.79 MB / 446.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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003138/0.4721, allocations: 178.5 kB / 0.5883 GB, free: 29.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000224/0.4723, allocations: 120.3 kB / 0.5884 GB, free: 29.69 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4723, allocations: 4.719 kB / 0.5884 GB, free: 29.69 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.709e-05/0.4724, allocations: 46.08 kB / 0.5885 GB, free: 29.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004578/0.4729, allocations: 48.72 kB / 0.5885 GB, free: 29.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006279/0.4735, allocations: 440.1 kB / 0.589 GB, free: 29.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/0.4737, allocations: 0.7147 MB / 0.5897 GB, free: 28.76 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001739/0.4738, allocations: 49.92 kB / 0.5897 GB, free: 28.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.881e-05/0.4739, allocations: 26.7 kB / 0.5897 GB, free: 28.75 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4739, allocations: 1.406 kB / 0.5897 GB, free: 28.75 MB / 446.1 MB Notification: Performance of Templates: time 0.007959/0.4819, allocations: 3.498 MB / 0.5931 GB, free: 28.4 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)