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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 113.4 kB / 17.17 MB, free: 5.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 215 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.422/1.422, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002326/0.002326, allocations: 282.4 kB / 309.8 MB, free: 3.406 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.08/1.08, allocations: 180.6 MB / 0.5337 GB, free: 12.35 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Media.Examples.WaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.WaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterProperties",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002931/0.002931, allocations: 99.84 kB / 0.7347 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4749/0.4778, allocations: 95.35 MB / 0.8278 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.005582/0.4834, allocations: 4.811 MB / 0.8325 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003114/0.4865, allocations: 2.726 MB / 0.8352 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.26e-05/0.4866, allocations: 3.094 kB / 0.8352 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002417/0.4868, allocations: 48.69 kB / 0.8352 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002561/0.4871, allocations: 98.53 kB / 0.8353 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.4882, allocations: 0.5121 MB / 0.8358 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000273/0.4885, allocations: 234.1 kB / 0.836 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.163e-05/0.4885, allocations: 12.94 kB / 0.8361 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001881/0.4887, allocations: 125.1 kB / 0.8362 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.4889, allocations: 91.42 kB / 0.8363 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.4889, allocations: 8.781 kB / 0.8363 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006685/0.4896, allocations: 388.5 kB / 0.8366 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.379e-05/0.4896, allocations: 42.61 kB / 0.8367 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 8.635e-05/0.4897, allocations: 80.52 kB / 0.8368 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005488/0.4903, allocations: 370.7 kB / 0.8371 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.4903, allocations: 1.75 kB / 0.8371 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.182e-06/0.4903, allocations: 0 / 0.8371 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.4903, allocations: 0 / 0.8371 GB, free: 12.74 MB / 0.5919 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.0007947/0.4911, allocations: 0.5071 MB / 0.8376 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.4911, allocations: 9.594 kB / 0.8376 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.702e-05/0.4911, allocations: 4.297 kB / 0.8376 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.445e-05/0.4912, allocations: 59.12 kB / 0.8377 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001704/0.4914, allocations: 21.16 kB / 0.8377 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/0.4916, allocations: 218 kB / 0.8379 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.4916, allocations: 12.05 kB / 0.8379 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/0.4917, allocations: 21.41 kB / 0.8379 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003729/0.492, allocations: 247.8 kB / 0.8382 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.492, allocations: 0 / 0.8382 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.4921, allocations: 5.781 kB / 0.8382 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.293e-05/0.4921, allocations: 5.828 kB / 0.8382 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004998/0.4926, allocations: 433.3 kB / 0.8386 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.4938, allocations: 0.9548 MB / 0.8395 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/0.494, allocations: 149.9 kB / 0.8397 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.617e-05/0.4941, allocations: 50.94 kB / 0.8397 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001499/0.4956, allocations: 1.828 MB / 0.8415 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.4957, allocations: 38.69 kB / 0.8415 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.4957, allocations: 4 kB / 0.8416 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0003443/0.496, allocations: 148.4 kB / 0.8417 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.496, allocations: 58.06 kB / 0.8417 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.4962, allocations: 163.3 kB / 0.8419 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/0.4962, allocations: 32.75 kB / 0.8419 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.049e-05/0.4963, allocations: 148.4 kB / 0.8421 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.301e-05/0.4964, allocations: 57.84 kB / 0.8421 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.755e-05/0.4964, allocations: 51.86 kB / 0.8422 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.4966, allocations: 330.5 kB / 0.8425 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.498e-05/0.4966, allocations: 36.38 kB / 0.8425 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.4968, allocations: 145 kB / 0.8427 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002324/0.497, allocations: 198.5 kB / 0.8429 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.497, allocations: 0 / 0.8429 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003286/0.4974, allocations: 214.9 kB / 0.8431 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.4974, allocations: 6.266 kB / 0.8431 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.4974, allocations: 7.906 kB / 0.8431 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.4974, allocations: 13.02 kB / 0.8431 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.4976, allocations: 52.59 kB / 0.8431 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.4976, allocations: 6.469 kB / 0.8431 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.4977, allocations: 30.61 kB / 0.8432 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.4977, allocations: 15.41 kB / 0.8432 GB, free: 7.438 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.000119/0.4978, allocations: 129.3 kB / 0.8433 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.88e-05/0.4979, allocations: 11.48 kB / 0.8433 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003002/0.4982, allocations: 171.9 kB / 0.8435 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.4982, allocations: 1.375 kB / 0.8435 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4982, allocations: 1.078 kB / 0.8435 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4982, allocations: 0 / 0.8435 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002525/0.4984, allocations: 217.2 kB / 0.8437 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.4984, allocations: 0 / 0.8437 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.899e-05/0.4985, allocations: 26.47 kB / 0.8437 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.4985, allocations: 1.406 kB / 0.8437 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.4985, allocations: 7.016 kB / 0.8437 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.4985, allocations: 3.938 kB / 0.8437 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4985, allocations: 0.6094 kB / 0.8437 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.4988, allocations: 218.5 kB / 0.8439 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.873e-05/0.4989, allocations: 111.9 kB / 0.8441 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.4989, allocations: 10.12 kB / 0.8441 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.4991, allocations: 14.44 kB / 0.8441 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.44e-05/0.4992, allocations: 12.89 kB / 0.8441 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.4992, allocations: 9.016 kB / 0.8441 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.626e-05/0.4993, allocations: 127.5 kB / 0.8442 GB, free: 6.602 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.4993, allocations: 4 kB / 0.8442 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003665/0.4996, allocations: 75.98 kB / 0.8443 GB, free: 6.582 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.000722/0.5004, allocations: 0.8364 MB / 0.8451 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002254/0.5006, allocations: 114.3 kB / 0.8452 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5006, allocations: 1.156 kB / 0.8452 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.564e-05/0.5007, allocations: 45.81 kB / 0.8453 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.5011, allocations: 43.47 kB / 0.8453 GB, free: 5.801 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/0.5033, allocations: 2.041 MB / 0.8473 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.5036, allocations: 0.7148 MB / 0.848 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001515/0.5038, allocations: 52.47 kB / 0.848 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.509e-05/0.5038, allocations: 46.44 kB / 0.8481 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.5038, allocations: 0 / 0.8481 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02327/0.5271, allocations: 5.402 MB / 0.8534 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.073/8.6, allocations: 9.578 kB / 0.8534 GB, free: 2.582 MB / 0.5919 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_WaterProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.449255710002035] Failed to read output from testmodel.py, exit status != 0: 8.727844284032471 8.741547346 8.248489024 Calling exit ...