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.001317/0.001317, allocations: 105.1 kB / 16.94 MB, free: 5.816 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.001225/0.001225, allocations: 189.3 kB / 17.86 MB, free: 5.172 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.427/1.427, allocations: 222.9 MB / 241.6 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8198/0.8198, allocations: 125.3 MB / 417.1 MB, free: 13.62 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 71.88 kB / 0.4948 GB, free: 4.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3594, allocations: 78.56 MB / 0.5715 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01424/0.3737, allocations: 12.95 MB / 0.5842 GB, free: 22.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002293/0.376, allocations: 2.67 MB / 0.5868 GB, free: 20.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.451e-05/0.3761, allocations: 2.156 kB / 0.5868 GB, free: 20.08 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002775/0.3764, allocations: 46.77 kB / 0.5868 GB, free: 20.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002711/0.3768, allocations: 98.98 kB / 0.5869 GB, free: 19.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.3778, allocations: 0.4975 MB / 0.5874 GB, free: 19.61 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.378, allocations: 233.4 kB / 0.5876 GB, free: 19.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.855e-05/0.3781, allocations: 13.28 kB / 0.5876 GB, free: 19.47 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008474/0.3866, allocations: 3.583 MB / 0.5911 GB, free: 17.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/0.3868, allocations: 89.92 kB / 0.5912 GB, free: 17.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.849e-05/0.3868, allocations: 12.22 kB / 0.5912 GB, free: 17.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00246/0.3893, allocations: 1.062 MB / 0.5923 GB, free: 16.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.744e-05/0.3894, allocations: 34.61 kB / 0.5923 GB, free: 16.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.3895, allocations: 87.73 kB / 0.5924 GB, free: 16.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007314/0.3902, allocations: 366.3 kB / 0.5927 GB, free: 16.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3902, allocations: 1.125 kB / 0.5927 GB, free: 16.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3902, allocations: 0 / 0.5927 GB, free: 16.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.3903, allocations: 0 / 0.5927 GB, free: 16.22 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.0006844/0.3909, allocations: 0.4991 MB / 0.5932 GB, free: 15.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.391, allocations: 8.75 kB / 0.5932 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001796/0.3912, allocations: 22.03 kB / 0.5933 GB, free: 15.74 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.3914, allocations: 224.6 kB / 0.5935 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.3914, allocations: 15.42 kB / 0.5935 GB, free: 15.49 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.3914, allocations: 18.27 kB / 0.5935 GB, free: 15.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000356/0.3918, allocations: 254.3 kB / 0.5937 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.3918, allocations: 0 / 0.5937 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.3918, allocations: 7.188 kB / 0.5937 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.774e-05/0.3919, allocations: 5.062 kB / 0.5938 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004704/0.3924, allocations: 433.3 kB / 0.5942 GB, free: 15.1 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009331/0.3933, allocations: 0.9621 MB / 0.5951 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002813/0.3936, allocations: 167.1 kB / 0.5953 GB, free: 14.08 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.3937, allocations: 62.73 kB / 0.5953 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009454/0.3947, allocations: 1.835 MB / 0.5971 GB, free: 11.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.3947, allocations: 37.53 kB / 0.5972 GB, free: 11.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.313e-06/0.3947, allocations: 0 / 0.5972 GB, free: 11.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003226/0.395, allocations: 139.5 kB / 0.5973 GB, free: 11.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/0.3951, allocations: 60.56 kB / 0.5973 GB, free: 11.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.3952, allocations: 174.8 kB / 0.5975 GB, free: 11.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.3952, allocations: 35.02 kB / 0.5975 GB, free: 11.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.148e-05/0.3953, allocations: 139.9 kB / 0.5977 GB, free: 11.44 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.3953, allocations: 54.61 kB / 0.5977 GB, free: 11.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.833e-05/0.3954, allocations: 56.25 kB / 0.5978 GB, free: 11.35 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.988e-05/0.3954, allocations: 326.7 kB / 0.5981 GB, free: 11.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.548e-05/0.3955, allocations: 36.61 kB / 0.5981 GB, free: 11.01 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.3956, allocations: 138.3 kB / 0.5983 GB, free: 10.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.3958, allocations: 200.4 kB / 0.5985 GB, free: 10.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3958, allocations: 2.281 kB / 0.5985 GB, free: 10.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002904/0.3961, allocations: 215.9 kB / 0.5987 GB, free: 10.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.3961, allocations: 8.156 kB / 0.5987 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.3961, allocations: 2.688 kB / 0.5987 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.3962, allocations: 5.656 kB / 0.5987 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.3963, allocations: 60.61 kB / 0.5987 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.3963, allocations: 9.5 kB / 0.5987 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.3964, allocations: 24.75 kB / 0.5988 GB, free: 10.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.3965, allocations: 22.81 kB / 0.5988 GB, free: 10.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 7.495e-05/0.3966, allocations: 129.7 kB / 0.5989 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.976e-05/0.3966, allocations: 12.78 kB / 0.5989 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000286/0.3969, allocations: 153.7 kB / 0.5991 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.3969, allocations: 6.594 kB / 0.5991 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3969, allocations: 7.938 kB / 0.5991 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3969, allocations: 5.078 kB / 0.5991 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.3971, allocations: 214 kB / 0.5993 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3971, allocations: 0 / 0.5993 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.437e-05/0.3972, allocations: 23.02 kB / 0.5993 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3972, allocations: 1.125 kB / 0.5993 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.3973, allocations: 5.219 kB / 0.5993 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.3973, allocations: 9.438 kB / 0.5993 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3973, allocations: 0 / 0.5993 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/0.3975, allocations: 226 kB / 0.5995 GB, free: 9.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.665e-05/0.3976, allocations: 110.7 kB / 0.5996 GB, free: 9.723 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.3976, allocations: 13.3 kB / 0.5997 GB, free: 9.711 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.3978, allocations: 11.94 kB / 0.5997 GB, free: 9.707 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.981e-05/0.3979, allocations: 12.33 kB / 0.5997 GB, free: 9.699 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.3979, allocations: 10.7 kB / 0.5997 GB, free: 9.695 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.102e-05/0.398, allocations: 121.2 kB / 0.5998 GB, free: 9.602 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.62e-07/0.398, allocations: 0 / 0.5998 GB, free: 9.602 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003955/0.3984, allocations: 90.14 kB / 0.5999 GB, free: 9.57 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.0003286/0.3987, allocations: 182.1 kB / 0.6001 GB, free: 9.445 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002319/0.3989, allocations: 128 kB / 0.6002 GB, free: 9.348 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.399, allocations: 0 / 0.6002 GB, free: 9.348 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.634e-05/0.399, allocations: 46.17 kB / 0.6002 GB, free: 9.305 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004168/0.3994, allocations: 48.89 kB / 0.6003 GB, free: 9.258 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005801/0.4, allocations: 372.4 kB / 0.6006 GB, free: 8.859 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.4002, allocations: 0.7209 MB / 0.6013 GB, free: 8.109 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.363e-05/0.4002, allocations: 27.44 kB / 0.6014 GB, free: 8.082 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4002, allocations: 0 / 0.6014 GB, free: 8.082 MB / 446.1 MB Notification: Performance of Templates: time 0.004556/0.4048, allocations: 3.418 MB / 0.6047 GB, free: 4.699 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)