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.001244/0.001244, allocations: 106.7 kB / 16.41 MB, free: 6.027 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.001232/0.001232, allocations: 180.2 kB / 17.34 MB, free: 5.633 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.266/1.266, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002061/0.002061, allocations: 290.5 kB / 291.5 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.9002/0.9002, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 103.8 kB / 0.6822 GB, free: 6.91 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4101/0.412, allocations: 86.97 MB / 0.7671 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01368/0.4257, allocations: 12.96 MB / 0.7798 GB, free: 6.879 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002494/0.4283, allocations: 2.671 MB / 0.7824 GB, free: 4.199 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.425e-05/0.4284, allocations: 0 / 0.7824 GB, free: 4.199 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002657/0.4287, allocations: 47.67 kB / 0.7824 GB, free: 4.152 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002516/0.4289, allocations: 95.36 kB / 0.7825 GB, free: 4.059 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.43, allocations: 0.5054 MB / 0.783 GB, free: 3.555 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002504/0.4302, allocations: 228 kB / 0.7832 GB, free: 3.332 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.102e-05/0.4303, allocations: 13.55 kB / 0.7832 GB, free: 3.32 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006994/0.4373, allocations: 3.591 MB / 0.7867 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.4374, allocations: 83.67 kB / 0.7868 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.4375, allocations: 12 kB / 0.7868 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002087/0.4396, allocations: 1.074 MB / 0.7879 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.215e-05/0.4396, allocations: 39.89 kB / 0.7879 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.949e-05/0.4397, allocations: 83.58 kB / 0.788 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005299/0.4403, allocations: 359.1 kB / 0.7883 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.4403, allocations: 4 kB / 0.7883 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4403, allocations: 0 / 0.7883 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.4403, allocations: 4 kB / 0.7883 GB, free: 14.07 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.000655/0.441, allocations: 0.4992 MB / 0.7888 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.441, allocations: 12.03 kB / 0.7888 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.4412, allocations: 24.73 kB / 0.7889 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.4414, allocations: 216 kB / 0.7891 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.4414, allocations: 12.7 kB / 0.7891 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.4415, allocations: 20.38 kB / 0.7891 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003391/0.4418, allocations: 244.1 kB / 0.7893 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.4418, allocations: 3.938 kB / 0.7893 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.394e-05/0.4418, allocations: 12 kB / 0.7894 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.415e-05/0.4419, allocations: 11.98 kB / 0.7894 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004272/0.4423, allocations: 427.5 kB / 0.7898 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000971/0.4433, allocations: 0.9566 MB / 0.7907 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.4435, allocations: 172.2 kB / 0.7909 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.673e-05/0.4436, allocations: 64.88 kB / 0.7909 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001128/0.4448, allocations: 1.829 MB / 0.7927 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.4448, allocations: 34.56 kB / 0.7928 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 3.507e-06/0.4448, allocations: 4 kB / 0.7928 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0002864/0.4451, allocations: 152.6 kB / 0.7929 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.4452, allocations: 63.22 kB / 0.793 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.4453, allocations: 163.1 kB / 0.7931 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.4453, allocations: 29.7 kB / 0.7931 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.969e-05/0.4454, allocations: 155.6 kB / 0.7933 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.4454, allocations: 51.3 kB / 0.7933 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.635e-05/0.4455, allocations: 49.61 kB / 0.7934 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.593e-05/0.4456, allocations: 326.8 kB / 0.7937 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.076e-05/0.4456, allocations: 39.97 kB / 0.7937 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.4458, allocations: 138.2 kB / 0.7939 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.446, allocations: 197.5 kB / 0.7941 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.446, allocations: 0 / 0.7941 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002867/0.4463, allocations: 212.5 kB / 0.7943 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.4463, allocations: 8.469 kB / 0.7943 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.4463, allocations: 8 kB / 0.7943 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.4463, allocations: 4 kB / 0.7943 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.4465, allocations: 55.84 kB / 0.7943 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.4465, allocations: 7.938 kB / 0.7943 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.4466, allocations: 31.69 kB / 0.7944 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.4466, allocations: 12 kB / 0.7944 GB, free: 7.152 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 9.552e-05/0.4467, allocations: 129.8 kB / 0.7945 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.876e-05/0.4468, allocations: 15.81 kB / 0.7945 GB, free: 7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000273/0.4471, allocations: 166.2 kB / 0.7947 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.4471, allocations: 11.94 kB / 0.7947 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4471, allocations: 0 / 0.7947 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4471, allocations: 0 / 0.7947 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.4473, allocations: 213.5 kB / 0.7949 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.4473, allocations: 0 / 0.7949 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.482e-05/0.4474, allocations: 31.92 kB / 0.7949 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.103e-06/0.4474, allocations: 0 / 0.7949 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.4474, allocations: 4 kB / 0.7949 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.4474, allocations: 3.938 kB / 0.7949 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4474, allocations: 0 / 0.7949 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000213/0.4477, allocations: 219.3 kB / 0.7951 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.983e-05/0.4478, allocations: 116.8 kB / 0.7953 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.4478, allocations: 8 kB / 0.7953 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.448, allocations: 23.86 kB / 0.7953 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.146e-05/0.448, allocations: 7.984 kB / 0.7953 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/0.448, allocations: 15.94 kB / 0.7953 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.38e-05/0.4481, allocations: 117.8 kB / 0.7954 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4481, allocations: 4 kB / 0.7954 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003546/0.4485, allocations: 79.98 kB / 0.7955 GB, free: 5.91 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.0002803/0.4488, allocations: 187 kB / 0.7957 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002078/0.449, allocations: 119.7 kB / 0.7958 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.449, allocations: 0 / 0.7958 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.872e-05/0.4491, allocations: 46.88 kB / 0.7958 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/0.4495, allocations: 57.94 kB / 0.7959 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005966/0.4501, allocations: 364.7 kB / 0.7962 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.4503, allocations: 0.7128 MB / 0.7969 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.002e-05/0.4504, allocations: 27.44 kB / 0.797 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.4504, allocations: 0 / 0.797 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of Templates: time 0.005083/0.4555, allocations: 3.441 MB / 0.8003 GB, free: 0.9375 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)