Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7167/0.7167, allocations: 132.2 MB / 148.9 MB, free: 12.17 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 222.9 MB / 403.3 MB, free: 7.09 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 113.9 kB / 484.3 MB, free: 8.738 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009737/0.0009737, allocations: 55.91 kB / 0.5618 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1546, allocations: 80.2 MB / 0.6402 GB, free: 6.801 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01627/0.1709, allocations: 13.87 MB / 0.6537 GB, free: 8.871 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.002654/0.1736, allocations: 2.691 MB / 0.6563 GB, free: 6.172 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.357e-05/0.1737, allocations: 0 / 0.6563 GB, free: 6.172 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002649/0.174, allocations: 39.8 kB / 0.6564 GB, free: 6.133 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002489/0.1743, allocations: 99.36 kB / 0.6565 GB, free: 6.035 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.1754, allocations: 452.4 kB / 0.6569 GB, free: 5.594 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003044/0.1757, allocations: 311.8 kB / 0.6572 GB, free: 5.285 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.169e-05/0.1758, allocations: 17.48 kB / 0.6572 GB, free: 5.266 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007452/0.1832, allocations: 3.142 MB / 0.6603 GB, free: 2.105 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.1834, allocations: 99.59 kB / 0.6604 GB, free: 2.008 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.728e-05/0.1835, allocations: 8 kB / 0.6604 GB, free: 2 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002444/0.1859, allocations: 0.9766 MB / 0.6613 GB, free: 1.027 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 6.841e-05/0.186, allocations: 39.89 kB / 0.6614 GB, free: 0.9883 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.1861, allocations: 79.59 kB / 0.6615 GB, free: 0.9102 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008039/0.1869, allocations: 363.1 kB / 0.6618 GB, free: 0.5547 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.187, allocations: 0 / 0.6618 GB, free: 0.5547 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.187, allocations: 0 / 0.6618 GB, free: 0.5547 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.187, allocations: 0 / 0.6618 GB, free: 0.5547 MB / 458.7 MB 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.000817/0.1878, allocations: 0.5031 MB / 0.6623 GB, free: 4 kB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.25e-05/0.1879, allocations: 8.078 kB / 0.6623 GB, free: 15.99 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/0.188, allocations: 24.78 kB / 0.6623 GB, free: 15.97 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.1883, allocations: 220 kB / 0.6625 GB, free: 15.72 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.1883, allocations: 8.703 kB / 0.6625 GB, free: 15.71 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.1883, allocations: 16.38 kB / 0.6626 GB, free: 15.7 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003631/0.1887, allocations: 245.5 kB / 0.6628 GB, free: 15.44 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1887, allocations: 0 / 0.6628 GB, free: 15.44 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/0.1887, allocations: 8 kB / 0.6628 GB, free: 15.43 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.736e-05/0.1888, allocations: 15.92 kB / 0.6628 GB, free: 15.41 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004643/0.1892, allocations: 435.3 kB / 0.6632 GB, free: 14.99 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.1903, allocations: 0.9605 MB / 0.6642 GB, free: 13.94 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.1906, allocations: 162.7 kB / 0.6643 GB, free: 13.77 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.785e-05/0.1907, allocations: 60.88 kB / 0.6644 GB, free: 13.71 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001293/0.192, allocations: 1.848 MB / 0.6662 GB, free: 11.5 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.1921, allocations: 34.56 kB / 0.6662 GB, free: 11.46 MB / 474.7 MB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.1921, allocations: 0 / 0.6662 GB, free: 11.46 MB / 474.7 MB Notification: Performance of matching and sorting (n=15): time 0.000325/0.1924, allocations: 142.8 kB / 0.6664 GB, free: 11.31 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.1925, allocations: 55.34 kB / 0.6664 GB, free: 11.25 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.1926, allocations: 179.1 kB / 0.6666 GB, free: 11.06 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.1926, allocations: 33.64 kB / 0.6666 GB, free: 11.02 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.34e-05/0.1927, allocations: 147.8 kB / 0.6668 GB, free: 10.87 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/0.1928, allocations: 51.27 kB / 0.6668 GB, free: 10.82 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.874e-05/0.1928, allocations: 49.7 kB / 0.6668 GB, free: 10.77 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.193, allocations: 330.8 kB / 0.6672 GB, free: 10.43 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.596e-05/0.193, allocations: 35.97 kB / 0.6672 GB, free: 10.4 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.1932, allocations: 137.7 kB / 0.6673 GB, free: 10.21 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002155/0.1934, allocations: 203.2 kB / 0.6675 GB, free: 9.969 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.1934, allocations: 4 kB / 0.6675 GB, free: 9.965 MB / 474.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003011/0.1937, allocations: 215.5 kB / 0.6677 GB, free: 9.75 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.1937, allocations: 8 kB / 0.6677 GB, free: 9.742 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.1937, allocations: 4 kB / 0.6677 GB, free: 9.738 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.1938, allocations: 4 kB / 0.6677 GB, free: 9.734 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.1939, allocations: 59.84 kB / 0.6678 GB, free: 9.676 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.194, allocations: 8 kB / 0.6678 GB, free: 9.668 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.1941, allocations: 23.75 kB / 0.6678 GB, free: 9.645 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.1941, allocations: 15.94 kB / 0.6679 GB, free: 9.629 MB / 474.7 MB 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.0001064/0.1942, allocations: 138.6 kB / 0.668 GB, free: 9.484 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.573e-05/0.1943, allocations: 15.81 kB / 0.668 GB, free: 9.469 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002921/0.1946, allocations: 163 kB / 0.6682 GB, free: 9.301 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.1946, allocations: 3.938 kB / 0.6682 GB, free: 9.297 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1946, allocations: 0 / 0.6682 GB, free: 9.297 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1946, allocations: 0 / 0.6682 GB, free: 9.297 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.1948, allocations: 213.5 kB / 0.6684 GB, free: 9.039 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1948, allocations: 4 kB / 0.6684 GB, free: 9.035 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.53e-05/0.1949, allocations: 27.92 kB / 0.6684 GB, free: 9.008 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.1949, allocations: 4 kB / 0.6684 GB, free: 9.004 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.195, allocations: 7.984 kB / 0.6684 GB, free: 8.996 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.195, allocations: 3.938 kB / 0.6684 GB, free: 8.992 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.195, allocations: 0 / 0.6684 GB, free: 8.992 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005532/0.1955, allocations: 0.808 MB / 0.6692 GB, free: 8.129 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.727e-05/0.1956, allocations: 116.8 kB / 0.6693 GB, free: 7.996 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.37e-05/0.1957, allocations: 12 kB / 0.6693 GB, free: 7.984 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.1959, allocations: 11.98 kB / 0.6693 GB, free: 7.973 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.93e-05/0.1959, allocations: 11.98 kB / 0.6693 GB, free: 7.961 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.306e-05/0.1959, allocations: 8 kB / 0.6693 GB, free: 7.953 MB / 474.7 MB Notification: Performance of sorting global known variables: time 7.613e-05/0.196, allocations: 123.9 kB / 0.6695 GB, free: 7.832 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.196, allocations: 0 / 0.6695 GB, free: 7.832 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004605/0.1965, allocations: 75.98 kB / 0.6695 GB, free: 7.758 MB / 474.7 MB 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.0003867/0.1969, allocations: 191 kB / 0.6697 GB, free: 7.562 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002166/0.1971, allocations: 120.5 kB / 0.6698 GB, free: 7.445 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.1971, allocations: 0 / 0.6698 GB, free: 7.445 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 6.285e-05/0.1972, allocations: 43.92 kB / 0.6699 GB, free: 7.402 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.1976, allocations: 54.88 kB / 0.6699 GB, free: 7.352 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007771/0.1984, allocations: 0.5306 MB / 0.6704 GB, free: 6.785 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.1987, allocations: 0.7131 MB / 0.6711 GB, free: 6.043 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001705/0.1989, allocations: 49.73 kB / 0.6712 GB, free: 5.992 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.076e-05/0.1989, allocations: 27.44 kB / 0.6712 GB, free: 5.965 MB / 474.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1989, allocations: 7.938 kB / 0.6712 GB, free: 5.957 MB / 474.7 MB Notification: Performance of Templates: time 0.006661/0.2056, allocations: 3.565 MB / 0.6747 GB, free: 2.434 MB / 474.7 MB make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)