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.001031/0.001032, allocations: 101.8 kB / 16.36 MB, free: 5.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.0009497/0.0009498, allocations: 193.3 kB / 17.29 MB, free: 5.48 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.259/1.259, 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.002121/0.002121, allocations: 287.8 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8983/0.8983, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 99 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1484, allocations: 86.97 MB / 0.6816 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.262/0.4105, allocations: 12.95 MB / 0.6942 GB, free: 12.1 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002319/0.4129, allocations: 2.676 MB / 0.6969 GB, free: 10.6 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.413, allocations: 0.6875 kB / 0.6969 GB, free: 10.6 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002592/0.4133, allocations: 45.12 kB / 0.6969 GB, free: 10.58 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002675/0.4136, allocations: 97.02 kB / 0.697 GB, free: 10.53 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.4149, allocations: 0.5021 MB / 0.6975 GB, free: 10.33 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002814/0.4152, allocations: 232.1 kB / 0.6977 GB, free: 10.27 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.108e-05/0.4152, allocations: 9.953 kB / 0.6977 GB, free: 10.27 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009918/0.4252, allocations: 3.588 MB / 0.7012 GB, free: 9.156 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002213/0.4254, allocations: 87.84 kB / 0.7013 GB, free: 9.121 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.576e-05/0.4254, allocations: 8.312 kB / 0.7013 GB, free: 9.121 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002881/0.4283, allocations: 1.079 MB / 0.7024 GB, free: 8.723 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.046e-05/0.4284, allocations: 38.81 kB / 0.7024 GB, free: 8.703 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.4285, allocations: 78.7 kB / 0.7025 GB, free: 8.668 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007938/0.4293, allocations: 364.4 kB / 0.7028 GB, free: 8.547 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.4293, allocations: 0 / 0.7028 GB, free: 8.547 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4293, allocations: 4 kB / 0.7028 GB, free: 8.543 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.4294, allocations: 1.219 kB / 0.7028 GB, free: 8.543 MB / 494.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.0006293/0.43, allocations: 0.4994 MB / 0.7033 GB, free: 8.094 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.43, allocations: 10.31 kB / 0.7033 GB, free: 8.094 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/0.4302, allocations: 23.42 kB / 0.7033 GB, free: 8.086 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.4305, allocations: 219.2 kB / 0.7036 GB, free: 7.863 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.4305, allocations: 23.88 kB / 0.7036 GB, free: 7.848 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.4305, allocations: 14.47 kB / 0.7036 GB, free: 7.844 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003471/0.4309, allocations: 241.9 kB / 0.7038 GB, free: 7.711 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.4309, allocations: 0 / 0.7038 GB, free: 7.711 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.4309, allocations: 11.69 kB / 0.7038 GB, free: 7.703 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.589e-05/0.431, allocations: 11.31 kB / 0.7038 GB, free: 7.699 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005197/0.4315, allocations: 426.8 kB / 0.7043 GB, free: 7.625 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009837/0.4325, allocations: 0.9626 MB / 0.7052 GB, free: 6.773 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003157/0.4328, allocations: 159.9 kB / 0.7053 GB, free: 6.715 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.4329, allocations: 65.44 kB / 0.7054 GB, free: 6.688 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001164/0.4341, allocations: 1.836 MB / 0.7072 GB, free: 4.645 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.4341, allocations: 37.48 kB / 0.7072 GB, free: 4.602 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.4341, allocations: 0 / 0.7072 GB, free: 4.602 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003723/0.4345, allocations: 144.3 kB / 0.7074 GB, free: 4.535 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.4346, allocations: 58.34 kB / 0.7074 GB, free: 4.469 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.4347, allocations: 175.7 kB / 0.7076 GB, free: 4.34 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.4347, allocations: 32.11 kB / 0.7076 GB, free: 4.305 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.839e-05/0.4348, allocations: 141.3 kB / 0.7078 GB, free: 4.176 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/0.4348, allocations: 58.69 kB / 0.7078 GB, free: 4.129 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.475e-05/0.4349, allocations: 50.23 kB / 0.7079 GB, free: 4.098 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.365e-05/0.435, allocations: 322.2 kB / 0.7082 GB, free: 3.781 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.874e-05/0.4351, allocations: 43.91 kB / 0.7082 GB, free: 3.766 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.4352, allocations: 138.8 kB / 0.7083 GB, free: 3.621 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.4354, allocations: 195.9 kB / 0.7085 GB, free: 3.445 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.4354, allocations: 8.969 kB / 0.7085 GB, free: 3.438 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003122/0.4357, allocations: 213.9 kB / 0.7087 GB, free: 3.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.4357, allocations: 8.906 kB / 0.7088 GB, free: 3.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.4357, allocations: 11.09 kB / 0.7088 GB, free: 3.336 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.4357, allocations: 8.938 kB / 0.7088 GB, free: 3.332 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.4359, allocations: 51.19 kB / 0.7088 GB, free: 3.328 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.4359, allocations: 10.34 kB / 0.7088 GB, free: 3.324 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.4361, allocations: 24.73 kB / 0.7089 GB, free: 3.309 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.205e-05/0.4361, allocations: 15.06 kB / 0.7089 GB, free: 3.305 MB / 494.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.994e-05/0.4362, allocations: 135.7 kB / 0.709 GB, free: 3.172 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.085e-05/0.4362, allocations: 16.41 kB / 0.709 GB, free: 3.164 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002952/0.4365, allocations: 161.3 kB / 0.7092 GB, free: 3.082 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.4365, allocations: 3.156 kB / 0.7092 GB, free: 3.082 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.4366, allocations: 7.938 kB / 0.7092 GB, free: 3.074 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.4366, allocations: 0.7969 kB / 0.7092 GB, free: 3.074 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.4368, allocations: 217.5 kB / 0.7094 GB, free: 2.859 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.4368, allocations: 0 / 0.7094 GB, free: 2.859 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.97e-05/0.4369, allocations: 29.25 kB / 0.7094 GB, free: 2.852 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.4369, allocations: 1.844 kB / 0.7094 GB, free: 2.852 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.4369, allocations: 3.031 kB / 0.7094 GB, free: 2.852 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4369, allocations: 1.094 kB / 0.7094 GB, free: 2.852 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4369, allocations: 3.938 kB / 0.7094 GB, free: 2.848 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.4371, allocations: 214.6 kB / 0.7096 GB, free: 2.688 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.889e-05/0.4372, allocations: 118.4 kB / 0.7097 GB, free: 2.574 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.4373, allocations: 2.312 kB / 0.7097 GB, free: 2.574 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.4374, allocations: 14.58 kB / 0.7098 GB, free: 2.57 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-05/0.4375, allocations: 13.47 kB / 0.7098 GB, free: 2.566 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.473e-05/0.4375, allocations: 12.78 kB / 0.7098 GB, free: 2.562 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.81e-05/0.4376, allocations: 119.1 kB / 0.7099 GB, free: 2.477 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.71e-07/0.4376, allocations: 0 / 0.7099 GB, free: 2.477 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004014/0.438, allocations: 80.69 kB / 0.71 GB, free: 2.457 MB / 494.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.0002921/0.4383, allocations: 189.8 kB / 0.7102 GB, free: 2.336 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002458/0.4386, allocations: 119.7 kB / 0.7103 GB, free: 2.305 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4386, allocations: 1.062 kB / 0.7103 GB, free: 2.305 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.804e-05/0.4386, allocations: 49.28 kB / 0.7103 GB, free: 2.289 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000415/0.4391, allocations: 48.62 kB / 0.7104 GB, free: 2.277 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006199/0.4397, allocations: 334.5 kB / 0.7107 GB, free: 2.078 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.4398, allocations: 0.7195 MB / 0.7114 GB, free: 1.375 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001482/0.44, allocations: 50.66 kB / 0.7114 GB, free: 1.355 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.918e-05/0.44, allocations: 21.89 kB / 0.7115 GB, free: 1.348 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.44, allocations: 0 / 0.7115 GB, free: 1.348 MB / 494.1 MB Notification: Performance of Templates: time 0.007645/0.4477, allocations: 3.643 MB / 0.715 GB, free: 0.9258 MB / 494.1 MB 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)