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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 116.1 kB / 17.08 MB, free: 5.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 193.8 kB / 18.02 MB, free: 4.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.737/0.737, allocations: 115.3 MB / 407.2 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 61.77 kB / 0.5584 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1502, allocations: 76.18 MB / 0.6328 GB, free: 4.34 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.0181/0.1683, allocations: 12.97 MB / 0.6455 GB, free: 7.305 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003302/0.1717, allocations: 2.663 MB / 0.6481 GB, free: 4.633 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001725/0.1719, allocations: 4 kB / 0.6481 GB, free: 4.629 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003312/0.1722, allocations: 51.67 kB / 0.6481 GB, free: 4.578 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003735/0.1726, allocations: 91.42 kB / 0.6482 GB, free: 4.488 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001446/0.1741, allocations: 0.493 MB / 0.6487 GB, free: 3.996 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003402/0.1744, allocations: 235.9 kB / 0.6489 GB, free: 3.762 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.152e-05/0.1745, allocations: 17.55 kB / 0.6489 GB, free: 3.746 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008111/0.1826, allocations: 3.576 MB / 0.6524 GB, free: 152 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.1828, allocations: 87.61 kB / 0.6525 GB, free: 64 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.882e-05/0.1829, allocations: 8 kB / 0.6525 GB, free: 56 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002653/0.1855, allocations: 1.082 MB / 0.6536 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.153e-05/0.1856, allocations: 39.83 kB / 0.6536 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.1857, allocations: 87.58 kB / 0.6537 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007978/0.1865, allocations: 367 kB / 0.654 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1865, allocations: 0 / 0.654 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1866, allocations: 0 / 0.654 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.1866, allocations: 0 / 0.654 GB, free: 14.5 MB / 0.4981 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.0007492/0.1873, allocations: 0.4953 MB / 0.6545 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.1874, allocations: 16.02 kB / 0.6545 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001705/0.1875, allocations: 24.75 kB / 0.6546 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003108/0.1879, allocations: 216.1 kB / 0.6548 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.1879, allocations: 12.7 kB / 0.6548 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.1879, allocations: 16.31 kB / 0.6548 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003911/0.1883, allocations: 252.2 kB / 0.655 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1883, allocations: 7.984 kB / 0.655 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.562e-05/0.1884, allocations: 8 kB / 0.655 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.543e-05/0.1884, allocations: 4 kB / 0.6551 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004999/0.1889, allocations: 435.3 kB / 0.6555 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.19, allocations: 0.9604 MB / 0.6564 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002876/0.1903, allocations: 160.4 kB / 0.6566 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.1905, allocations: 64.88 kB / 0.6566 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001357/0.1918, allocations: 1.837 MB / 0.6584 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.1919, allocations: 42.5 kB / 0.6585 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.1919, allocations: 0 / 0.6585 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003427/0.1922, allocations: 147.5 kB / 0.6586 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.1923, allocations: 55.34 kB / 0.6586 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.1924, allocations: 165 kB / 0.6588 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.1924, allocations: 33.7 kB / 0.6588 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.25e-05/0.1925, allocations: 143.8 kB / 0.659 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.807e-05/0.1926, allocations: 55.2 kB / 0.659 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.384e-05/0.1926, allocations: 49.61 kB / 0.6591 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.1928, allocations: 330.8 kB / 0.6594 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.679e-05/0.1928, allocations: 35.98 kB / 0.6594 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.193, allocations: 145.7 kB / 0.6596 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002271/0.1932, allocations: 197.5 kB / 0.6597 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.1932, allocations: 0 / 0.6597 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000321/0.1936, allocations: 215.5 kB / 0.66 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.1936, allocations: 8 kB / 0.66 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.1936, allocations: 4 kB / 0.66 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.1936, allocations: 4 kB / 0.66 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.1938, allocations: 59.84 kB / 0.66 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.1938, allocations: 4 kB / 0.66 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.1939, allocations: 31.69 kB / 0.6601 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.194, allocations: 12 kB / 0.6601 GB, free: 7.582 MB / 0.4981 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.000118/0.1941, allocations: 134 kB / 0.6602 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.531e-05/0.1941, allocations: 23.8 kB / 0.6602 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003195/0.1945, allocations: 154.9 kB / 0.6604 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.1945, allocations: 7.938 kB / 0.6604 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1945, allocations: 4 kB / 0.6604 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1945, allocations: 0 / 0.6604 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.1948, allocations: 217.5 kB / 0.6606 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1948, allocations: 0 / 0.6606 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.57e-05/0.1949, allocations: 23.98 kB / 0.6606 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.1949, allocations: 4 kB / 0.6606 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.1949, allocations: 11.88 kB / 0.6606 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.1949, allocations: 7.938 kB / 0.6606 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1949, allocations: 0 / 0.6606 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.1952, allocations: 217.7 kB / 0.6608 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.532e-05/0.1953, allocations: 105 kB / 0.6609 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.513e-05/0.1953, allocations: 8 kB / 0.661 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/0.1955, allocations: 15.92 kB / 0.661 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.436e-05/0.1955, allocations: 15.98 kB / 0.661 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.1956, allocations: 8 kB / 0.661 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.22e-05/0.1956, allocations: 121.6 kB / 0.6611 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1957, allocations: 0 / 0.6611 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004647/0.1961, allocations: 83.83 kB / 0.6612 GB, free: 6.348 MB / 0.4981 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.0003235/0.1965, allocations: 191 kB / 0.6614 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002462/0.1967, allocations: 115.7 kB / 0.6615 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.1967, allocations: 4.938 kB / 0.6615 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.565e-05/0.1968, allocations: 39.98 kB / 0.6615 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004466/0.1973, allocations: 67.81 kB / 0.6616 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006862/0.1979, allocations: 360.8 kB / 0.6619 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.1982, allocations: 0.7166 MB / 0.6626 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.213e-05/0.1983, allocations: 27.44 kB / 0.6627 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1983, allocations: 8 kB / 0.6627 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of Templates: time 0.005557/0.2039, allocations: 3.426 MB / 0.666 GB, free: 1.359 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (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 & ./IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)