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/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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 104.8 kB / 16.41 MB, free: 6.492 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.001284/0.001284, allocations: 187 kB / 17.34 MB, free: 5.762 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8078/0.8078, allocations: 132.2 MB / 423.4 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 65.95 kB / 0.5821 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1508, allocations: 80.21 MB / 0.6604 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01789/0.1687, allocations: 12.98 MB / 0.6731 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002884/0.1716, allocations: 2.66 MB / 0.6757 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.347e-05/0.1718, allocations: 4 kB / 0.6757 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002877/0.1721, allocations: 43.69 kB / 0.6757 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002778/0.1724, allocations: 99.34 kB / 0.6758 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.1736, allocations: 0.5056 MB / 0.6763 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002724/0.1739, allocations: 232 kB / 0.6765 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.819e-05/0.1739, allocations: 17.5 kB / 0.6765 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007907/0.1818, allocations: 3.575 MB / 0.68 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000206/0.1821, allocations: 91.59 kB / 0.6801 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.915e-05/0.1821, allocations: 8 kB / 0.6801 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002639/0.1848, allocations: 1.078 MB / 0.6812 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.772e-05/0.1849, allocations: 39.89 kB / 0.6812 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.185, allocations: 79.64 kB / 0.6813 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007344/0.1857, allocations: 367 kB / 0.6816 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1857, allocations: 0 / 0.6816 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1857, allocations: 0 / 0.6816 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.1857, allocations: 0 / 0.6816 GB, free: 4.391 MB / 0.5137 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.0007778/0.1865, allocations: 0.5031 MB / 0.6821 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.1866, allocations: 8.031 kB / 0.6821 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001754/0.1867, allocations: 32.73 kB / 0.6822 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.187, allocations: 208.2 kB / 0.6824 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.1871, allocations: 12.7 kB / 0.6824 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.1871, allocations: 12.38 kB / 0.6824 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004017/0.1875, allocations: 256.1 kB / 0.6826 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.1875, allocations: 0 / 0.6826 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.526e-05/0.1876, allocations: 12 kB / 0.6827 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.927e-05/0.1876, allocations: 11.98 kB / 0.6827 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005216/0.1881, allocations: 427.5 kB / 0.6831 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.1893, allocations: 0.9642 MB / 0.684 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002848/0.1896, allocations: 155.9 kB / 0.6842 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.1897, allocations: 68.88 kB / 0.6842 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001405/0.1911, allocations: 1.833 MB / 0.686 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.1912, allocations: 34.56 kB / 0.6861 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.1912, allocations: 0 / 0.6861 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0003667/0.1915, allocations: 149.3 kB / 0.6862 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.1916, allocations: 59.34 kB / 0.6862 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.1918, allocations: 163.3 kB / 0.6864 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.1918, allocations: 33.7 kB / 0.6864 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.1919, allocations: 147.8 kB / 0.6866 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.479e-05/0.192, allocations: 55.2 kB / 0.6866 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.218e-05/0.1921, allocations: 49.61 kB / 0.6867 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1922, allocations: 326.8 kB / 0.687 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.926e-05/0.1923, allocations: 39.97 kB / 0.687 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.1925, allocations: 145.7 kB / 0.6872 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003711/0.1929, allocations: 199.7 kB / 0.6874 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.1929, allocations: 0 / 0.6874 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003997/0.1933, allocations: 209.5 kB / 0.6876 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.1933, allocations: 11.94 kB / 0.6876 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.1933, allocations: 4 kB / 0.6876 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.1933, allocations: 4 kB / 0.6876 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.1935, allocations: 51.86 kB / 0.6876 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.1935, allocations: 7.984 kB / 0.6876 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.1937, allocations: 27.69 kB / 0.6877 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.1937, allocations: 16 kB / 0.6877 GB, free: 13.48 MB / 0.5294 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.0001176/0.1938, allocations: 137.8 kB / 0.6878 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.263e-05/0.1939, allocations: 23.75 kB / 0.6878 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002958/0.1942, allocations: 163.7 kB / 0.688 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.1942, allocations: 7.938 kB / 0.688 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1942, allocations: 0 / 0.688 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1942, allocations: 0 / 0.688 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002475/0.1945, allocations: 217.5 kB / 0.6882 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1945, allocations: 4 kB / 0.6882 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.899e-05/0.1946, allocations: 24 kB / 0.6882 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1946, allocations: 0 / 0.6882 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.1946, allocations: 7.984 kB / 0.6882 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.86e-06/0.1946, allocations: 7.938 kB / 0.6882 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1946, allocations: 0 / 0.6882 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.1949, allocations: 219.2 kB / 0.6885 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.709e-05/0.195, allocations: 105 kB / 0.6886 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.421e-05/0.195, allocations: 8 kB / 0.6886 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.1952, allocations: 15.92 kB / 0.6886 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.642e-05/0.1952, allocations: 15.98 kB / 0.6886 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.1952, allocations: 12 kB / 0.6886 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001047/0.1954, allocations: 112.9 kB / 0.6887 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1954, allocations: 0 / 0.6887 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003869/0.1958, allocations: 87.92 kB / 0.6888 GB, free: 12.25 MB / 0.5294 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.0003307/0.1961, allocations: 180.9 kB / 0.689 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002609/0.1964, allocations: 115.8 kB / 0.6891 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/0.1964, allocations: 4.938 kB / 0.6891 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 7.365e-05/0.1965, allocations: 43.92 kB / 0.6891 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004696/0.1969, allocations: 67.89 kB / 0.6892 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007478/0.1977, allocations: 368.3 kB / 0.6895 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.198, allocations: 0.7089 MB / 0.6902 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.484e-05/0.1981, allocations: 31.44 kB / 0.6903 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of SimCode: time 2.61e-07/0.1981, allocations: 0 / 0.6903 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of Templates: time 0.005864/0.204, allocations: 3.433 MB / 0.6936 GB, free: 7.285 MB / 0.5294 GB 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)