Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001706/0.001706, allocations: 108.9 kB / 16.41 MB, free: 6.5 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.001818/0.001818, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.435/1.435, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002646/0.002646, allocations: 292.8 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9952/0.9952, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002728/0.002728, allocations: 91.84 kB / 0.6822 GB, free: 6.867 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4373/0.4401, allocations: 86.98 MB / 0.7671 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01747/0.4575, allocations: 12.99 MB / 0.7798 GB, free: 6.797 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003165/0.4607, allocations: 2.675 MB / 0.7824 GB, free: 4.113 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.755e-05/0.4608, allocations: 4 kB / 0.7824 GB, free: 4.109 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002874/0.4611, allocations: 47.67 kB / 0.7825 GB, free: 4.062 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002839/0.4613, allocations: 99.36 kB / 0.7826 GB, free: 3.965 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.4627, allocations: 0.508 MB / 0.7831 GB, free: 3.457 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000302/0.463, allocations: 235.9 kB / 0.7833 GB, free: 3.227 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.125e-05/0.463, allocations: 5.562 kB / 0.7833 GB, free: 3.223 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008035/0.4711, allocations: 3.591 MB / 0.7868 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.4712, allocations: 91.61 kB / 0.7869 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.4712, allocations: 8 kB / 0.7869 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002449/0.4737, allocations: 1.086 MB / 0.788 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.4737, allocations: 39.83 kB / 0.788 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.4738, allocations: 79.64 kB / 0.7881 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006316/0.4745, allocations: 362.9 kB / 0.7884 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.4745, allocations: 7.938 kB / 0.7884 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.312e-06/0.4745, allocations: 0 / 0.7884 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.4745, allocations: 0 / 0.7884 GB, free: 13.95 MB / 0.5606 GB 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.0007809/0.4753, allocations: 0.4986 MB / 0.7889 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.4753, allocations: 12.03 kB / 0.7889 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/0.4755, allocations: 32.78 kB / 0.789 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.4757, allocations: 212.1 kB / 0.7892 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.4758, allocations: 12.7 kB / 0.7892 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.119e-05/0.4758, allocations: 16.38 kB / 0.7892 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003976/0.4762, allocations: 248.1 kB / 0.7894 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.4762, allocations: 0 / 0.7894 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.705e-05/0.4762, allocations: 19.92 kB / 0.7894 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.574e-05/0.4763, allocations: 7.984 kB / 0.7894 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005446/0.4768, allocations: 431.5 kB / 0.7899 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.478, allocations: 0.9567 MB / 0.7908 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.4783, allocations: 160 kB / 0.7909 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.4784, allocations: 56.88 kB / 0.791 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001639/0.4801, allocations: 1.833 MB / 0.7928 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.4801, allocations: 38.56 kB / 0.7928 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.322e-06/0.4801, allocations: 0 / 0.7928 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0003537/0.4805, allocations: 148.5 kB / 0.793 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.4805, allocations: 59.34 kB / 0.793 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.4807, allocations: 167.1 kB / 0.7932 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/0.4807, allocations: 33.7 kB / 0.7932 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.4808, allocations: 152 kB / 0.7934 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.397e-05/0.4809, allocations: 55.48 kB / 0.7934 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.199e-05/0.4809, allocations: 49.7 kB / 0.7935 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.4811, allocations: 326.8 kB / 0.7938 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.489e-05/0.4812, allocations: 35.97 kB / 0.7938 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001702/0.4813, allocations: 138.2 kB / 0.7939 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002601/0.4816, allocations: 201.5 kB / 0.7941 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4816, allocations: 0 / 0.7941 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003485/0.4819, allocations: 213.5 kB / 0.7943 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.482, allocations: 4 kB / 0.7943 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.482, allocations: 7.938 kB / 0.7943 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.482, allocations: 8 kB / 0.7944 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.4822, allocations: 59.84 kB / 0.7944 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.4822, allocations: 4 kB / 0.7944 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.4823, allocations: 27.78 kB / 0.7944 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.4823, allocations: 16 kB / 0.7945 GB, free: 7.047 MB / 0.5606 GB 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 0.0001316/0.4825, allocations: 137.9 kB / 0.7946 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.366e-05/0.4825, allocations: 15.91 kB / 0.7946 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003291/0.4828, allocations: 160.5 kB / 0.7948 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.4829, allocations: 3.938 kB / 0.7948 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.4829, allocations: 8 kB / 0.7948 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4829, allocations: 0 / 0.7948 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002738/0.4831, allocations: 217.5 kB / 0.795 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.4831, allocations: 0 / 0.795 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.201e-05/0.4832, allocations: 23.98 kB / 0.795 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.4832, allocations: 0 / 0.795 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.4832, allocations: 8 kB / 0.795 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.4832, allocations: 3.938 kB / 0.795 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.4832, allocations: 4 kB / 0.795 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000289/0.4835, allocations: 223.2 kB / 0.7952 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.4836, allocations: 109 kB / 0.7953 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.381e-05/0.4837, allocations: 4 kB / 0.7953 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.4839, allocations: 15.92 kB / 0.7953 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.977e-05/0.4839, allocations: 19.98 kB / 0.7954 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.4839, allocations: 4 kB / 0.7954 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001044/0.484, allocations: 120 kB / 0.7955 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.484, allocations: 0 / 0.7955 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003929/0.4844, allocations: 83.8 kB / 0.7956 GB, free: 5.812 MB / 0.5606 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 () * 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.0003158/0.4847, allocations: 190.9 kB / 0.7957 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002329/0.485, allocations: 104.7 kB / 0.7958 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.485, allocations: 4 kB / 0.7959 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.655e-05/0.485, allocations: 43.98 kB / 0.7959 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004355/0.4855, allocations: 52.81 kB / 0.7959 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007222/0.4862, allocations: 357.8 kB / 0.7963 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/0.4867, allocations: 0.7089 MB / 0.797 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001695/0.4868, allocations: 49.75 kB / 0.797 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.352e-05/0.4869, allocations: 23.42 kB / 0.797 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.4869, allocations: 0 / 0.797 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of Templates: time 0.008219/0.4951, allocations: 3.679 MB / 0.8006 GB, free: 0.5977 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)