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.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.001517/0.001517, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001474/0.001474, allocations: 218.8 kB / 23.01 MB, free: 4.605 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.369/1.369, allocations: 230.6 MB / 256.8 MB, free: 8 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.002465/0.002465, allocations: 282 kB / 313.5 MB, free: 2.809 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.155/1.155, allocations: 180.6 MB / 0.5377 GB, free: 12.94 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 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: translateModel(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT") [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.002903/0.002903, allocations: 98.38 kB / 0.7409 GB, free: 27.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1776, allocations: 95.38 MB / 0.834 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01776/0.1954, allocations: 13.2 MB / 0.8469 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003157/0.1986, allocations: 2.691 MB / 0.8495 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.503e-05/0.1987, allocations: 4 kB / 0.8495 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002893/0.1989, allocations: 47.67 kB / 0.8496 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002943/0.1992, allocations: 99.36 kB / 0.8497 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.2005, allocations: 0.5255 MB / 0.8502 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002779/0.2008, allocations: 231.9 kB / 0.8504 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.504e-05/0.2008, allocations: 13.73 kB / 0.8504 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00833/0.2092, allocations: 3.595 MB / 0.8539 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.2094, allocations: 99.58 kB / 0.854 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.343e-05/0.2094, allocations: 8 kB / 0.854 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002725/0.2121, allocations: 1.115 MB / 0.8551 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 6.903e-05/0.2122, allocations: 35.89 kB / 0.8552 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.2123, allocations: 87.53 kB / 0.8552 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008473/0.2131, allocations: 374.9 kB / 0.8556 GB, free: 1.887 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.2132, allocations: 0 / 0.8556 GB, free: 1.887 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2132, allocations: 0 / 0.8556 GB, free: 1.887 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.2132, allocations: 0 / 0.8556 GB, free: 1.887 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.0008179/0.214, allocations: 445.4 kB / 0.856 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.214, allocations: 13.34 kB / 0.856 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/0.2142, allocations: 24.84 kB / 0.8561 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003328/0.2145, allocations: 162.3 kB / 0.8562 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.2145, allocations: 12.7 kB / 0.8562 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.2146, allocations: 20.36 kB / 0.8562 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000398/0.215, allocations: 256.8 kB / 0.8565 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.215, allocations: 0 / 0.8565 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.215, allocations: 8 kB / 0.8565 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.715e-05/0.215, allocations: 8 kB / 0.8565 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005298/0.2156, allocations: 447.3 kB / 0.8569 GB, free: 460 kB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.2168, allocations: 0.9402 MB / 0.8579 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002995/0.2171, allocations: 149.9 kB / 0.858 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.2172, allocations: 60.88 kB / 0.8581 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007801/0.218, allocations: 471.8 kB / 0.8585 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.218, allocations: 42.5 kB / 0.8585 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 3.056e-06/0.218, allocations: 3.984 kB / 0.8585 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0003469/0.2184, allocations: 141.5 kB / 0.8587 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.2184, allocations: 59.33 kB / 0.8587 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.2186, allocations: 177 kB / 0.8589 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.2186, allocations: 25.7 kB / 0.8589 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.969e-05/0.2187, allocations: 148 kB / 0.8591 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.928e-05/0.2187, allocations: 55.58 kB / 0.8591 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-05/0.2188, allocations: 53.66 kB / 0.8592 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.219, allocations: 326.8 kB / 0.8595 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.925e-05/0.219, allocations: 35.97 kB / 0.8595 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.2192, allocations: 143.4 kB / 0.8597 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/0.2194, allocations: 196.7 kB / 0.8598 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.2194, allocations: 4 kB / 0.8599 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003322/0.2198, allocations: 209.6 kB / 0.8601 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.2198, allocations: 8 kB / 0.8601 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.2198, allocations: 8.031 kB / 0.8601 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.2198, allocations: 4 kB / 0.8601 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.22, allocations: 55.86 kB / 0.8601 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.755e-05/0.22, allocations: 8 kB / 0.8601 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.2201, allocations: 35.72 kB / 0.8602 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.2201, allocations: 12 kB / 0.8602 GB, free: 12.85 MB / 0.6075 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.0001206/0.2203, allocations: 133.7 kB / 0.8603 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.832e-05/0.2203, allocations: 15.91 kB / 0.8603 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003035/0.2206, allocations: 154.9 kB / 0.8605 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.2206, allocations: 7.938 kB / 0.8605 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2206, allocations: 0 / 0.8605 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.2206, allocations: 3.984 kB / 0.8605 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002408/0.2209, allocations: 188.6 kB / 0.8607 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2209, allocations: 0 / 0.8607 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.819e-05/0.221, allocations: 27.92 kB / 0.8607 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.221, allocations: 0 / 0.8607 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.221, allocations: 8 kB / 0.8607 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.221, allocations: 3.938 kB / 0.8607 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.221, allocations: 0 / 0.8607 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.2212, allocations: 219.4 kB / 0.8609 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.729e-05/0.2213, allocations: 35.81 kB / 0.8609 GB, free: 12 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.405e-05/0.2213, allocations: 3.984 kB / 0.8609 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.2215, allocations: 19.88 kB / 0.861 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.2216, allocations: 11.97 kB / 0.861 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/0.2216, allocations: 12 kB / 0.861 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.545e-05/0.2217, allocations: 126.1 kB / 0.8611 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.2217, allocations: 0 / 0.8611 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003969/0.2221, allocations: 79.86 kB / 0.8612 GB, free: 11.75 MB / 0.6075 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.000316/0.2224, allocations: 193.6 kB / 0.8614 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002478/0.2227, allocations: 115.7 kB / 0.8615 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2227, allocations: 3.938 kB / 0.8615 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.656e-05/0.2227, allocations: 43.92 kB / 0.8615 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.2231, allocations: 56.06 kB / 0.8616 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007701/0.2239, allocations: 372.8 kB / 0.8619 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.2242, allocations: 0.7131 MB / 0.8626 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.554e-05/0.2243, allocations: 27.44 kB / 0.8627 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.2243, allocations: 0 / 0.8627 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of Templates: time 0.006016/0.2303, allocations: 3.489 MB / 0.8661 GB, free: 6.723 MB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.323082228889689] Failed to read output from testmodel.py, exit status != 0: 0.2382422990631312 0.25275093000000004 0.036497486 Calling exit ...