Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001435/0.001435, allocations: 114.9 kB / 17.84 MB, free: 5.312 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.001467/0.001467, allocations: 197.6 kB / 20.79 MB, free: 2.371 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.537/1.537, allocations: 230.6 MB / 254.2 MB, free: 15.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.015/1.015, allocations: 150 MB / 460.2 MB, free: 5.234 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Media.Examples.WaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.WaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterProperties",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.00198/0.00198, allocations: 60.47 kB / 0.6368 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1792, allocations: 89.14 MB / 0.7239 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterProperties): time 0.01047/0.1897, allocations: 4.814 MB / 0.7286 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004464/0.1942, allocations: 2.706 MB / 0.7312 GB, free: 12.42 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001763/0.1943, allocations: 4 kB / 0.7312 GB, free: 12.42 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003606/0.1947, allocations: 47.67 kB / 0.7313 GB, free: 12.37 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003944/0.1951, allocations: 107.3 kB / 0.7314 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001826/0.1969, allocations: 0.5121 MB / 0.7319 GB, free: 11.75 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005391/0.1975, allocations: 223.9 kB / 0.7321 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.1976, allocations: 13.56 kB / 0.7321 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003354/0.1979, allocations: 127.5 kB / 0.7322 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002226/0.1982, allocations: 91.66 kB / 0.7323 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.601e-05/0.1982, allocations: 8 kB / 0.7323 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001217/0.1994, allocations: 395.2 kB / 0.7327 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.1995, allocations: 31.89 kB / 0.7327 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001549/0.1997, allocations: 79.66 kB / 0.7328 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009309/0.2006, allocations: 375 kB / 0.7332 GB, free: 10.43 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.2006, allocations: 0 / 0.7332 GB, free: 10.43 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2006, allocations: 0 / 0.7332 GB, free: 10.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.2006, allocations: 4 kB / 0.7332 GB, free: 10.43 MB / 0.545 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.001104/0.2017, allocations: 0.5064 MB / 0.7337 GB, free: 9.871 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.2018, allocations: 8.031 kB / 0.7337 GB, free: 9.863 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.848e-05/0.2018, allocations: 4.516 kB / 0.7337 GB, free: 9.859 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.862e-05/0.2019, allocations: 54.73 kB / 0.7337 GB, free: 9.797 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000231/0.2021, allocations: 24.83 kB / 0.7337 GB, free: 9.773 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004117/0.2025, allocations: 216.1 kB / 0.734 GB, free: 9.523 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.2025, allocations: 8.703 kB / 0.734 GB, free: 9.516 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.014e-05/0.2026, allocations: 24.11 kB / 0.734 GB, free: 9.492 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005685/0.2031, allocations: 248 kB / 0.7342 GB, free: 9.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.2031, allocations: 0 / 0.7342 GB, free: 9.23 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.784e-05/0.2032, allocations: 12 kB / 0.7342 GB, free: 9.219 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-05/0.2032, allocations: 8 kB / 0.7342 GB, free: 9.211 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000782/0.204, allocations: 427.5 kB / 0.7346 GB, free: 8.793 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001609/0.2056, allocations: 0.9527 MB / 0.7356 GB, free: 7.75 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004028/0.206, allocations: 151 kB / 0.7357 GB, free: 7.598 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.2062, allocations: 64.81 kB / 0.7358 GB, free: 7.531 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002238/0.2084, allocations: 1.821 MB / 0.7376 GB, free: 5.352 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.2084, allocations: 34.56 kB / 0.7376 GB, free: 5.309 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 2.224e-06/0.2084, allocations: 3.938 kB / 0.7376 GB, free: 5.305 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0004912/0.2089, allocations: 155 kB / 0.7377 GB, free: 5.148 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.209, allocations: 55.41 kB / 0.7378 GB, free: 5.082 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.2092, allocations: 168.7 kB / 0.738 GB, free: 4.906 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.369e-05/0.2092, allocations: 29.7 kB / 0.738 GB, free: 4.871 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.2094, allocations: 140.1 kB / 0.7381 GB, free: 4.73 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.573e-05/0.2094, allocations: 63.5 kB / 0.7382 GB, free: 4.668 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.2095, allocations: 49.66 kB / 0.7382 GB, free: 4.613 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.2097, allocations: 330.8 kB / 0.7385 GB, free: 4.281 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.2098, allocations: 39.98 kB / 0.7386 GB, free: 4.242 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/0.21, allocations: 150.1 kB / 0.7387 GB, free: 4.047 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003391/0.2104, allocations: 195.5 kB / 0.7389 GB, free: 3.809 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2104, allocations: 4 kB / 0.7389 GB, free: 3.805 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004894/0.2109, allocations: 213.2 kB / 0.7391 GB, free: 3.59 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.2109, allocations: 8 kB / 0.7391 GB, free: 3.582 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.2109, allocations: 4.469 kB / 0.7391 GB, free: 3.578 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.2109, allocations: 15.88 kB / 0.7391 GB, free: 3.562 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002482/0.2112, allocations: 55.91 kB / 0.7392 GB, free: 3.508 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.2112, allocations: 4 kB / 0.7392 GB, free: 3.504 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.2114, allocations: 23.78 kB / 0.7392 GB, free: 3.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.2114, allocations: 16 kB / 0.7392 GB, free: 3.465 MB / 0.545 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.0001506/0.2115, allocations: 133.7 kB / 0.7394 GB, free: 3.324 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.945e-05/0.2116, allocations: 19.91 kB / 0.7394 GB, free: 3.305 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004246/0.212, allocations: 160.9 kB / 0.7395 GB, free: 3.145 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.2121, allocations: 8 kB / 0.7395 GB, free: 3.137 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.2121, allocations: 0 / 0.7395 GB, free: 3.137 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.2121, allocations: 0 / 0.7395 GB, free: 3.137 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000473/0.2125, allocations: 213.5 kB / 0.7398 GB, free: 2.879 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2125, allocations: 0 / 0.7398 GB, free: 2.879 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.2127, allocations: 27.98 kB / 0.7398 GB, free: 2.852 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2127, allocations: 0 / 0.7398 GB, free: 2.852 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.2127, allocations: 7.938 kB / 0.7398 GB, free: 2.844 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.2127, allocations: 4 kB / 0.7398 GB, free: 2.84 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2127, allocations: 0 / 0.7398 GB, free: 2.84 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004509/0.2132, allocations: 223.3 kB / 0.74 GB, free: 2.605 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.2133, allocations: 105 kB / 0.7401 GB, free: 2.484 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.028e-05/0.2133, allocations: 15.94 kB / 0.7401 GB, free: 2.469 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002868/0.2136, allocations: 11.98 kB / 0.7401 GB, free: 2.457 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.2137, allocations: 11.98 kB / 0.7401 GB, free: 2.445 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.038e-05/0.2137, allocations: 8 kB / 0.7401 GB, free: 2.438 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001402/0.2138, allocations: 121.8 kB / 0.7403 GB, free: 2.32 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2138, allocations: 0 / 0.7403 GB, free: 2.32 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006656/0.2145, allocations: 87.81 kB / 0.7403 GB, free: 2.234 MB / 0.545 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.001094/0.2156, allocations: 0.8381 MB / 0.7412 GB, free: 1.371 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000342/0.2159, allocations: 113.7 kB / 0.7413 GB, free: 1.262 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.489e-05/0.2159, allocations: 0 / 0.7413 GB, free: 1.262 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.2161, allocations: 47.86 kB / 0.7413 GB, free: 1.215 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00062/0.2167, allocations: 52.89 kB / 0.7414 GB, free: 1.164 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003604/0.2203, allocations: 2.046 MB / 0.7434 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/0.2207, allocations: 0.7128 MB / 0.7441 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002112/0.2209, allocations: 37.92 kB / 0.7441 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.221, allocations: 51.42 kB / 0.7442 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of SimCode: time 5.21e-07/0.221, allocations: 0 / 0.7442 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02809/0.2491, allocations: 5.364 MB / 0.7494 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.648/8.897, allocations: 7.25 kB / 0.7494 GB, free: 8.883 MB / 0.5606 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_WaterProperties.fmu > IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.990851401991677] Failed to read output from testmodel.py, exit status != 0: 9.027601407957263 9.049722106 8.844805049 Calling exit ...