Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001677/0.001677, allocations: 114.2 kB / 17.84 MB, free: 5.336 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.001977/0.001977, allocations: 207.1 kB / 20.8 MB, free: 2.391 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.556/1.556, allocations: 230.6 MB / 254.2 MB, free: 15.11 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.031/1.031, allocations: 150 MB / 460.2 MB, free: 5.289 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.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT",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.001979/0.001979, allocations: 68.14 kB / 0.6369 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.152, allocations: 89.13 MB / 0.7239 GB, free: 4 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01842/0.1704, allocations: 13.13 MB / 0.7367 GB, free: 6.805 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003339/0.1738, allocations: 2.671 MB / 0.7393 GB, free: 4.125 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.1739, allocations: 11.88 kB / 0.7393 GB, free: 4.113 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003105/0.1742, allocations: 47.73 kB / 0.7394 GB, free: 4.066 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003229/0.1745, allocations: 99.34 kB / 0.7395 GB, free: 3.969 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001409/0.1759, allocations: 0.5155 MB / 0.74 GB, free: 3.457 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002976/0.1762, allocations: 231.9 kB / 0.7402 GB, free: 3.23 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.633e-05/0.1763, allocations: 9.562 kB / 0.7402 GB, free: 3.223 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008156/0.1844, allocations: 3.586 MB / 0.7437 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/0.1846, allocations: 91.64 kB / 0.7438 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.64e-05/0.1847, allocations: 15.92 kB / 0.7438 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002608/0.1873, allocations: 1.114 MB / 0.7449 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.123e-05/0.1873, allocations: 43.83 kB / 0.745 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.1874, allocations: 83.64 kB / 0.745 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006923/0.1881, allocations: 378.7 kB / 0.7454 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1881, allocations: 0 / 0.7454 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.953e-06/0.1881, allocations: 0 / 0.7454 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.1881, allocations: 0 / 0.7454 GB, free: 13.91 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.0008482/0.189, allocations: 0.518 MB / 0.7459 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.189, allocations: 12.03 kB / 0.7459 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.898e-05/0.1891, allocations: 4.516 kB / 0.7459 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.231e-05/0.1891, allocations: 50.73 kB / 0.746 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.1893, allocations: 20.84 kB / 0.746 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.1896, allocations: 216.2 kB / 0.7462 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.1896, allocations: 12.7 kB / 0.7462 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.1896, allocations: 20.11 kB / 0.7462 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004033/0.19, allocations: 252 kB / 0.7465 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.19, allocations: 0 / 0.7465 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.1901, allocations: 8 kB / 0.7465 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.307e-05/0.1901, allocations: 4 kB / 0.7465 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000545/0.1906, allocations: 423.5 kB / 0.7469 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.1919, allocations: 0.98 MB / 0.7478 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003047/0.1922, allocations: 155 kB / 0.748 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.1923, allocations: 52.89 kB / 0.748 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001625/0.1939, allocations: 1.833 MB / 0.7498 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.1939, allocations: 38.5 kB / 0.7499 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.1939, allocations: 0 / 0.7499 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0003691/0.1943, allocations: 153.4 kB / 0.75 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.1944, allocations: 59.41 kB / 0.7501 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.1945, allocations: 172.6 kB / 0.7502 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.1945, allocations: 29.7 kB / 0.7503 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.106e-05/0.1946, allocations: 132.2 kB / 0.7504 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.008e-05/0.1947, allocations: 67.45 kB / 0.7504 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.413e-05/0.1948, allocations: 49.7 kB / 0.7505 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1949, allocations: 322.8 kB / 0.7508 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.246e-05/0.195, allocations: 31.98 kB / 0.7508 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.1952, allocations: 150.1 kB / 0.751 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002608/0.1954, allocations: 203.3 kB / 0.7512 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1954, allocations: 0 / 0.7512 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003596/0.1958, allocations: 219.3 kB / 0.7514 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1958, allocations: 4 kB / 0.7514 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.1958, allocations: 7.984 kB / 0.7514 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.1958, allocations: 7.938 kB / 0.7514 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.196, allocations: 56.39 kB / 0.7514 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.196, allocations: 8 kB / 0.7515 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.1961, allocations: 23.78 kB / 0.7515 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.1962, allocations: 16 kB / 0.7515 GB, free: 6.922 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 0.000117/0.1963, allocations: 137.6 kB / 0.7516 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.548e-05/0.1963, allocations: 15.91 kB / 0.7516 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003239/0.1967, allocations: 164.6 kB / 0.7518 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.1967, allocations: 0 / 0.7518 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1967, allocations: 0 / 0.7518 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.1967, allocations: 3.984 kB / 0.7518 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002616/0.1969, allocations: 209.6 kB / 0.752 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1969, allocations: 4 kB / 0.752 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.019e-05/0.197, allocations: 23.98 kB / 0.752 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.197, allocations: 4 kB / 0.752 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.1971, allocations: 7.875 kB / 0.752 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1971, allocations: 0 / 0.752 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1971, allocations: 0 / 0.752 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/0.1973, allocations: 227.3 kB / 0.7523 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.1974, allocations: 113 kB / 0.7524 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.1975, allocations: 3.938 kB / 0.7524 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.1977, allocations: 19.98 kB / 0.7524 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.155e-05/0.1977, allocations: 7.984 kB / 0.7524 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/0.1977, allocations: 15.98 kB / 0.7524 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001073/0.1978, allocations: 121.8 kB / 0.7525 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1978, allocations: 0 / 0.7525 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000395/0.1982, allocations: 79.81 kB / 0.7526 GB, free: 5.695 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.0008578/0.1991, allocations: 0.8455 MB / 0.7534 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002371/0.1993, allocations: 115.7 kB / 0.7535 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1993, allocations: 0 / 0.7535 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.291e-05/0.1994, allocations: 46.39 kB / 0.7536 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005802/0.2, allocations: 52.89 kB / 0.7536 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002417/0.2024, allocations: 2.042 MB / 0.7556 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.2027, allocations: 0.709 MB / 0.7563 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001597/0.2029, allocations: 53.67 kB / 0.7564 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.85e-05/0.203, allocations: 47.42 kB / 0.7564 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.203, allocations: 0 / 0.7564 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02302/0.226, allocations: 5.583 MB / 0.7619 GB, free: 12.13 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.843/9.069, allocations: 22.38 kB / 0.7619 GB, free: 12.11 MB / 0.5763 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.004003152018413] Failed to read output from testmodel.py, exit status != 0: 9.195330902992282 9.211829874 9.020438688 Calling exit ...