Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 115.2 kB / 17.13 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 193.2 kB / 20.08 MB, free: 2.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002271/0.002271, allocations: 285.1 kB / 303.6 MB, free: 3.668 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.008/1.008, allocations: 180.9 MB / 0.5268 GB, free: 2.711 MB / 382.1 MB " [Timeout remaining time 179] 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.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterProperties") translateModel(BuildingSystems.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002651/0.002651, allocations: 99.83 kB / 0.7259 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4813/0.484, allocations: 94.16 MB / 0.8179 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.004687/0.4887, allocations: 4.748 MB / 0.8225 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002191/0.4908, allocations: 2.7 MB / 0.8252 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.094e-05/0.4909, allocations: 1.031 kB / 0.8252 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002402/0.4912, allocations: 55.98 kB / 0.8252 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002488/0.4914, allocations: 93.45 kB / 0.8253 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.4925, allocations: 0.5114 MB / 0.8258 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000212/0.4927, allocations: 237.4 kB / 0.826 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.223e-05/0.4927, allocations: 16.17 kB / 0.8261 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.4929, allocations: 118.3 kB / 0.8262 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.493, allocations: 91.77 kB / 0.8263 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.493, allocations: 9.156 kB / 0.8263 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006228/0.4937, allocations: 372.2 kB / 0.8266 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.595e-05/0.4937, allocations: 36.7 kB / 0.8267 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.976e-05/0.4938, allocations: 80.34 kB / 0.8267 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005037/0.4943, allocations: 366.7 kB / 0.8271 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.4943, allocations: 2.625 kB / 0.8271 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.282e-06/0.4943, allocations: 0 / 0.8271 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.4943, allocations: 0 / 0.8271 GB, free: 1.238 MB / 0.5762 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.0005817/0.4949, allocations: 0.5037 MB / 0.8276 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.4949, allocations: 8.5 kB / 0.8276 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.4951, allocations: 23.66 kB / 0.8276 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.4953, allocations: 214.3 kB / 0.8278 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.4953, allocations: 19 kB / 0.8278 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.4953, allocations: 18.92 kB / 0.8278 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000324/0.4957, allocations: 248.5 kB / 0.8281 GB, free: 404 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.4957, allocations: 0 / 0.8281 GB, free: 404 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.4957, allocations: 7.344 kB / 0.8281 GB, free: 400 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.255e-05/0.4957, allocations: 7.391 kB / 0.8281 GB, free: 400 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004399/0.4962, allocations: 429.4 kB / 0.8285 GB, free: 320 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.4972, allocations: 0.9473 MB / 0.8294 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/0.4975, allocations: 153.3 kB / 0.8296 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.522e-05/0.4976, allocations: 55.36 kB / 0.8296 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001519/0.4991, allocations: 1.826 MB / 0.8314 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.4991, allocations: 42.11 kB / 0.8315 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.4991, allocations: 0 / 0.8315 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0003245/0.4995, allocations: 144.8 kB / 0.8316 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.4995, allocations: 59.12 kB / 0.8317 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.4997, allocations: 172 kB / 0.8318 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.4997, allocations: 33.64 kB / 0.8318 GB, free: 13 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.856e-05/0.4998, allocations: 139.1 kB / 0.832 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.805e-05/0.4998, allocations: 58.45 kB / 0.832 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.118e-05/0.4999, allocations: 52.84 kB / 0.8321 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.5001, allocations: 331.2 kB / 0.8324 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.463e-05/0.5001, allocations: 35.92 kB / 0.8324 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.5003, allocations: 143 kB / 0.8326 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002363/0.5005, allocations: 200.7 kB / 0.8328 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.5005, allocations: 0 / 0.8328 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003112/0.5008, allocations: 220.6 kB / 0.833 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.5008, allocations: 8.688 kB / 0.833 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.5009, allocations: 7.969 kB / 0.833 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.5009, allocations: 4.484 kB / 0.833 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.501, allocations: 57.67 kB / 0.833 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.501, allocations: 5.953 kB / 0.8331 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.5011, allocations: 32.3 kB / 0.8331 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.5012, allocations: 13.31 kB / 0.8331 GB, free: 11.99 MB / 0.5919 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.0001106/0.5013, allocations: 131.2 kB / 0.8332 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.032e-05/0.5013, allocations: 17 kB / 0.8332 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002892/0.5016, allocations: 157.5 kB / 0.8334 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.5016, allocations: 6.719 kB / 0.8334 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.5016, allocations: 0.7031 kB / 0.8334 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.5016, allocations: 4.641 kB / 0.8334 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.5019, allocations: 221.9 kB / 0.8336 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.5019, allocations: 0.6094 kB / 0.8336 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.195e-05/0.502, allocations: 21.72 kB / 0.8336 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.502, allocations: 0 / 0.8336 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.502, allocations: 7.797 kB / 0.8336 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.502, allocations: 3.938 kB / 0.8336 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.502, allocations: 4 kB / 0.8336 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.5022, allocations: 226.7 kB / 0.8339 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.655e-05/0.5023, allocations: 107.2 kB / 0.834 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.5024, allocations: 0.7031 kB / 0.834 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.5026, allocations: 19.92 kB / 0.834 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.738e-05/0.5026, allocations: 9.125 kB / 0.834 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.5026, allocations: 12.17 kB / 0.834 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.994e-05/0.5027, allocations: 123.9 kB / 0.8341 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.5027, allocations: 0 / 0.8341 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003777/0.5031, allocations: 75.59 kB / 0.8342 GB, free: 11.14 MB / 0.5919 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.0002912/0.5034, allocations: 188 kB / 0.8344 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002177/0.5036, allocations: 112.2 kB / 0.8345 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5036, allocations: 0 / 0.8345 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.159e-05/0.5037, allocations: 40.41 kB / 0.8345 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004209/0.5041, allocations: 61.02 kB / 0.8346 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006724/0.5047, allocations: 370.9 kB / 0.8349 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.5051, allocations: 0.7176 MB / 0.8356 GB, free: 10 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.52e-05/0.5051, allocations: 28.45 kB / 0.8357 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of SimCode: time 3.31e-07/0.5051, allocations: 2.906 kB / 0.8357 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of Templates: time 0.005138/0.5103, allocations: 3.187 MB / 0.8388 GB, free: 9.594 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.384895320050418] Failed to read output from testmodel.py, exit status != 0: 0.5181238690856844 0.530419747 0.03354058 Calling exit ...