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.001499/0.001499, allocations: 99.89 kB / 16.64 MB, free: 6.824 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.001239/0.00124, allocations: 185.9 kB / 17.56 MB, free: 5.938 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.42/1.42, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8422/0.8422, allocations: 125.4 MB / 416.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 59.89 kB / 0.4943 GB, free: 4.82 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3473, allocations: 78.57 MB / 0.571 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01337/0.3607, allocations: 13.09 MB / 0.5838 GB, free: 22.19 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002157/0.3629, allocations: 2.661 MB / 0.5864 GB, free: 20.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.096e-05/0.363, allocations: 1.375 kB / 0.5864 GB, free: 20.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002564/0.3633, allocations: 38.45 kB / 0.5864 GB, free: 20.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00025/0.3636, allocations: 83.81 kB / 0.5865 GB, free: 19.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.3647, allocations: 481.4 kB / 0.587 GB, free: 19.63 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.3649, allocations: 226.4 kB / 0.5872 GB, free: 19.51 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.805e-05/0.3649, allocations: 8.469 kB / 0.5872 GB, free: 19.51 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00766/0.3726, allocations: 3.374 MB / 0.5905 GB, free: 17.38 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.3728, allocations: 90.22 kB / 0.5906 GB, free: 17.33 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.3728, allocations: 7.281 kB / 0.5906 GB, free: 17.33 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002301/0.3751, allocations: 1.05 MB / 0.5916 GB, free: 16.78 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.026e-05/0.3752, allocations: 38.39 kB / 0.5916 GB, free: 16.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.222e-05/0.3753, allocations: 84.27 kB / 0.5917 GB, free: 16.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004137/0.3757, allocations: 245.8 kB / 0.592 GB, free: 16.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.09e-05/0.3757, allocations: 0 / 0.592 GB, free: 16.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3757, allocations: 0 / 0.592 GB, free: 16.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.3757, allocations: 1.125 kB / 0.592 GB, free: 16.57 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.0006254/0.3764, allocations: 0.5021 MB / 0.5925 GB, free: 16.1 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.3764, allocations: 8.875 kB / 0.5925 GB, free: 16.1 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.3766, allocations: 25.86 kB / 0.5925 GB, free: 16.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.3768, allocations: 221.6 kB / 0.5927 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.3768, allocations: 10.3 kB / 0.5927 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.3768, allocations: 14.72 kB / 0.5927 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003329/0.3771, allocations: 253.8 kB / 0.593 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3772, allocations: 1.125 kB / 0.593 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/0.3772, allocations: 6.469 kB / 0.593 GB, free: 15.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.256e-05/0.3772, allocations: 4.969 kB / 0.593 GB, free: 15.65 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004317/0.3777, allocations: 434.6 kB / 0.5934 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008693/0.3785, allocations: 0.9563 MB / 0.5943 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/0.3788, allocations: 166 kB / 0.5945 GB, free: 14.44 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.38e-05/0.3789, allocations: 63 kB / 0.5945 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008972/0.3798, allocations: 1.84 MB / 0.5963 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.3799, allocations: 36.09 kB / 0.5964 GB, free: 12.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.3799, allocations: 1.062 kB / 0.5964 GB, free: 12.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003041/0.3802, allocations: 143.2 kB / 0.5965 GB, free: 12.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.167e-05/0.3802, allocations: 61.44 kB / 0.5966 GB, free: 12.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.3803, allocations: 169 kB / 0.5967 GB, free: 11.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.3803, allocations: 35.3 kB / 0.5968 GB, free: 11.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.869e-05/0.3804, allocations: 139.2 kB / 0.5969 GB, free: 11.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.3804, allocations: 54.88 kB / 0.5969 GB, free: 11.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.976e-05/0.3805, allocations: 52.86 kB / 0.597 GB, free: 11.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.481e-05/0.3806, allocations: 326 kB / 0.5973 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.117e-05/0.3806, allocations: 33.53 kB / 0.5973 GB, free: 11.37 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.513e-05/0.3807, allocations: 141.6 kB / 0.5975 GB, free: 11.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.3809, allocations: 193 kB / 0.5977 GB, free: 11.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3809, allocations: 1.562 kB / 0.5977 GB, free: 11.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002886/0.3812, allocations: 219.2 kB / 0.5979 GB, free: 10.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.3812, allocations: 7.094 kB / 0.5979 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.3812, allocations: 3.969 kB / 0.5979 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.3813, allocations: 5.594 kB / 0.5979 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.3814, allocations: 60.73 kB / 0.5979 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.3815, allocations: 16.81 kB / 0.598 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.3816, allocations: 29.78 kB / 0.598 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.3816, allocations: 9.875 kB / 0.598 GB, free: 10.86 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.104e-05/0.3817, allocations: 134.9 kB / 0.5981 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.861e-05/0.3817, allocations: 12.09 kB / 0.5981 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002721/0.382, allocations: 162.7 kB / 0.5983 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.382, allocations: 5.719 kB / 0.5983 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.382, allocations: 4.875 kB / 0.5983 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3821, allocations: 0 / 0.5983 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.3822, allocations: 218.4 kB / 0.5985 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.3823, allocations: 3.938 kB / 0.5985 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.72e-05/0.3823, allocations: 19.47 kB / 0.5985 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3824, allocations: 1.031 kB / 0.5985 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.3824, allocations: 9.047 kB / 0.5985 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3824, allocations: 5.031 kB / 0.5985 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3824, allocations: 1.094 kB / 0.5985 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.3826, allocations: 219.9 kB / 0.5988 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.593e-05/0.3827, allocations: 114.4 kB / 0.5989 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.3827, allocations: 1.688 kB / 0.5989 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.3829, allocations: 20.2 kB / 0.5989 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.179e-05/0.3829, allocations: 8.953 kB / 0.5989 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/0.383, allocations: 10.47 kB / 0.5989 GB, free: 10.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.566e-05/0.383, allocations: 126 kB / 0.599 GB, free: 9.961 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.383, allocations: 0 / 0.599 GB, free: 9.961 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003897/0.3834, allocations: 82.3 kB / 0.5991 GB, free: 9.938 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.0003374/0.3838, allocations: 187 kB / 0.5993 GB, free: 9.809 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002281/0.384, allocations: 132.7 kB / 0.5994 GB, free: 9.754 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.384, allocations: 1.562 kB / 0.5994 GB, free: 9.754 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.135e-05/0.3841, allocations: 40.08 kB / 0.5995 GB, free: 9.742 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004214/0.3845, allocations: 54.42 kB / 0.5995 GB, free: 9.715 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005788/0.3851, allocations: 428.6 kB / 0.5999 GB, free: 9.312 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.3852, allocations: 0.7131 MB / 0.6006 GB, free: 8.574 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.648e-05/0.3853, allocations: 31.44 kB / 0.6006 GB, free: 8.543 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3853, allocations: 0 / 0.6006 GB, free: 8.543 MB / 446.1 MB Notification: Performance of Templates: time 0.004505/0.3898, allocations: 3.414 MB / 0.604 GB, free: 5.164 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)