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.0009711/0.000971, allocations: 92.62 kB / 15.7 MB, free: 472 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.001204/0.001204, allocations: 171.3 kB / 16.58 MB, free: 5.656 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.346/1.346, allocations: 223.3 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7116/0.7116, allocations: 115.5 MB / 407.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000333/0.000333, allocations: 8.812 kB / 495.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1388, allocations: 77.53 MB / 0.5593 GB, free: 9.395 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01454/0.1534, allocations: 11.99 MB / 0.571 GB, free: 13.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002753/0.1562, allocations: 2.455 MB / 0.5734 GB, free: 10.9 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.476e-05/0.1563, allocations: 0 / 0.5734 GB, free: 10.9 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002279/0.1565, allocations: 31.75 kB / 0.5735 GB, free: 10.87 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002296/0.1567, allocations: 91.47 kB / 0.5735 GB, free: 10.78 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009775/0.1577, allocations: 414.1 kB / 0.5739 GB, free: 10.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002622/0.158, allocations: 267.9 kB / 0.5742 GB, free: 10.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.436e-05/0.158, allocations: 13.48 kB / 0.5742 GB, free: 10.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008602/0.1667, allocations: 4.377 MB / 0.5785 GB, free: 5.734 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002664/0.167, allocations: 91.66 kB / 0.5786 GB, free: 5.645 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.85e-05/0.167, allocations: 8 kB / 0.5786 GB, free: 5.637 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002681/0.1697, allocations: 0.9404 MB / 0.5795 GB, free: 4.695 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.744e-05/0.1698, allocations: 43.81 kB / 0.5795 GB, free: 4.652 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.703e-05/0.1698, allocations: 49.64 kB / 0.5796 GB, free: 4.598 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000408/0.1703, allocations: 223.5 kB / 0.5798 GB, free: 4.379 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1703, allocations: 0 / 0.5798 GB, free: 4.379 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1703, allocations: 0 / 0.5798 GB, free: 4.379 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1703, allocations: 0 / 0.5798 GB, free: 4.379 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.0006585/0.171, allocations: 475.1 kB / 0.5803 GB, free: 3.867 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.171, allocations: 8.031 kB / 0.5803 GB, free: 3.859 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/0.1711, allocations: 23.81 kB / 0.5803 GB, free: 3.836 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.1714, allocations: 218.8 kB / 0.5805 GB, free: 3.582 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.1714, allocations: 16.33 kB / 0.5805 GB, free: 3.566 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.1714, allocations: 12 kB / 0.5805 GB, free: 3.555 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003763/0.1718, allocations: 244.7 kB / 0.5808 GB, free: 3.297 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.1718, allocations: 0 / 0.5808 GB, free: 3.297 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.1719, allocations: 12 kB / 0.5808 GB, free: 3.285 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.464e-05/0.1719, allocations: 7.984 kB / 0.5808 GB, free: 3.277 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004894/0.1724, allocations: 431.3 kB / 0.5812 GB, free: 2.855 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.1735, allocations: 0.9722 MB / 0.5821 GB, free: 1.793 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/0.1737, allocations: 155 kB / 0.5823 GB, free: 1.637 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.551e-05/0.1739, allocations: 56.89 kB / 0.5823 GB, free: 1.578 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2495/0.4234, allocations: 1.826 MB / 0.5841 GB, free: 32.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.4234, allocations: 39.77 kB / 0.5842 GB, free: 32.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.954e-06/0.4234, allocations: 0 / 0.5842 GB, free: 32.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004365/0.4239, allocations: 145.9 kB / 0.5843 GB, free: 32.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.4239, allocations: 52.94 kB / 0.5843 GB, free: 32.72 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.4241, allocations: 168.5 kB / 0.5845 GB, free: 32.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.4241, allocations: 31.45 kB / 0.5845 GB, free: 32.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.543e-05/0.4242, allocations: 142.6 kB / 0.5847 GB, free: 32.47 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.4243, allocations: 56.38 kB / 0.5847 GB, free: 32.44 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.065e-05/0.4243, allocations: 6.094 kB / 0.5847 GB, free: 32.44 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.524e-05/0.4244, allocations: 324.1 kB / 0.585 GB, free: 32.13 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.337e-05/0.4244, allocations: 38.83 kB / 0.5851 GB, free: 32.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.4246, allocations: 136.7 kB / 0.5852 GB, free: 32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.4247, allocations: 60.27 kB / 0.5853 GB, free: 32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.4247, allocations: 5.375 kB / 0.5853 GB, free: 32 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003595/0.4251, allocations: 209.8 kB / 0.5855 GB, free: 31.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.4251, allocations: 15.64 kB / 0.5855 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.4251, allocations: 3.281 kB / 0.5855 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.4251, allocations: 5.406 kB / 0.5855 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.4254, allocations: 54.33 kB / 0.5855 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.818e-05/0.4254, allocations: 10.28 kB / 0.5856 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.4255, allocations: 28.8 kB / 0.5856 GB, free: 31.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/0.4256, allocations: 13.77 kB / 0.5856 GB, free: 31.93 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.4257, allocations: 128.9 kB / 0.5857 GB, free: 31.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.535e-05/0.4257, allocations: 19.84 kB / 0.5857 GB, free: 31.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003356/0.4261, allocations: 158.4 kB / 0.5859 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.4261, allocations: 4.844 kB / 0.5859 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.4261, allocations: 3.938 kB / 0.5859 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.4261, allocations: 2.234 kB / 0.5859 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.4264, allocations: 216.3 kB / 0.5861 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.4264, allocations: 0.75 kB / 0.5861 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.725e-05/0.4265, allocations: 24.03 kB / 0.5861 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.4265, allocations: 2.062 kB / 0.5861 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.4265, allocations: 4.531 kB / 0.5861 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.4265, allocations: 8.891 kB / 0.5861 GB, free: 31.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4265, allocations: 0.6094 kB / 0.5861 GB, free: 31.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.4267, allocations: 221 kB / 0.5864 GB, free: 31.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.34e-05/0.4268, allocations: 111.4 kB / 0.5865 GB, free: 31.31 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.4269, allocations: 1.672 kB / 0.5865 GB, free: 31.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.4271, allocations: 23.31 kB / 0.5865 GB, free: 31.31 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.045e-05/0.4271, allocations: 13.05 kB / 0.5865 GB, free: 31.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-05/0.4271, allocations: 15.25 kB / 0.5865 GB, free: 31.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.621e-05/0.4272, allocations: 122 kB / 0.5866 GB, free: 31.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4272, allocations: 0 / 0.5866 GB, free: 31.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004264/0.4277, allocations: 78.67 kB / 0.5867 GB, free: 31.23 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 (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.0002711/0.428, allocations: 172 kB / 0.5869 GB, free: 31.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002383/0.4282, allocations: 119.4 kB / 0.587 GB, free: 31.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4282, allocations: 4.344 kB / 0.587 GB, free: 31.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.221e-05/0.4283, allocations: 46.14 kB / 0.587 GB, free: 31.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004918/0.4288, allocations: 51.72 kB / 0.5871 GB, free: 31.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006882/0.4295, allocations: 427.1 kB / 0.5875 GB, free: 30.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001704/0.4297, allocations: 0.7224 MB / 0.5882 GB, free: 30.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002026/0.4299, allocations: 54.23 kB / 0.5882 GB, free: 30.19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.638e-05/0.4299, allocations: 25.08 kB / 0.5883 GB, free: 30.18 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4299, allocations: 0 / 0.5883 GB, free: 30.18 MB / 446.1 MB Notification: Performance of Templates: time 0.008373/0.4383, allocations: 3.388 MB / 0.5916 GB, free: 29.83 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)