Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001088/0.001088, allocations: 108.4 kB / 16.41 MB, free: 6.457 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.0009809/0.0009809, allocations: 187 kB / 17.34 MB, free: 5.719 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.398/1.398, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7984/0.7984, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 66.41 kB / 0.5863 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1551, allocations: 80.94 MB / 0.6654 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01836/0.1735, allocations: 12.97 MB / 0.678 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003545/0.1771, allocations: 2.671 MB / 0.6806 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.1773, allocations: 7.938 kB / 0.6807 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003192/0.1776, allocations: 47.73 kB / 0.6807 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003115/0.178, allocations: 95.28 kB / 0.6808 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001591/0.1796, allocations: 0.4931 MB / 0.6813 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003383/0.1799, allocations: 243.9 kB / 0.6815 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.612e-05/0.18, allocations: 9.562 kB / 0.6815 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008904/0.1889, allocations: 3.572 MB / 0.685 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002171/0.1891, allocations: 95.59 kB / 0.6851 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.942e-05/0.1892, allocations: 8 kB / 0.6851 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0028/0.192, allocations: 1.068 MB / 0.6861 GB, free: 372 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.393e-05/0.1921, allocations: 39.89 kB / 0.6862 GB, free: 332 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.1922, allocations: 79.61 kB / 0.6863 GB, free: 252 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009555/0.1931, allocations: 367.1 kB / 0.6866 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1932, allocations: 4 kB / 0.6866 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.863e-06/0.1932, allocations: 0 / 0.6866 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.739e-06/0.1932, allocations: 0 / 0.6866 GB, free: 15.88 MB / 0.5294 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.0009218/0.1941, allocations: 0.4992 MB / 0.6871 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.1942, allocations: 17.11 kB / 0.6871 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002039/0.1944, allocations: 20.75 kB / 0.6871 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.1947, allocations: 212.1 kB / 0.6873 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.1947, allocations: 20.64 kB / 0.6874 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.1947, allocations: 16.38 kB / 0.6874 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004236/0.1952, allocations: 240.3 kB / 0.6876 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1952, allocations: 4 kB / 0.6876 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.1952, allocations: 8 kB / 0.6876 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.557e-05/0.1953, allocations: 4 kB / 0.6876 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005304/0.1958, allocations: 435.4 kB / 0.688 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.1972, allocations: 0.9643 MB / 0.689 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/0.1975, allocations: 159 kB / 0.6891 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.1976, allocations: 60.88 kB / 0.6892 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002038/0.1997, allocations: 1.84 MB / 0.691 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.1997, allocations: 38.5 kB / 0.691 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 2.474e-06/0.1998, allocations: 0 / 0.691 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.000518/0.2003, allocations: 139.6 kB / 0.6912 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.2003, allocations: 59.33 kB / 0.6912 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.2006, allocations: 172.2 kB / 0.6914 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.2006, allocations: 25.7 kB / 0.6914 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.2008, allocations: 151.8 kB / 0.6915 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.428e-05/0.2008, allocations: 55.2 kB / 0.6916 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.878e-05/0.2009, allocations: 49.7 kB / 0.6916 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.2011, allocations: 322.8 kB / 0.6919 GB, free: 9.785 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.924e-05/0.2012, allocations: 39.91 kB / 0.692 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.2013, allocations: 137.7 kB / 0.6921 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003145/0.2016, allocations: 196.6 kB / 0.6923 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/0.2017, allocations: 8 kB / 0.6923 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003939/0.2021, allocations: 217.2 kB / 0.6925 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.2021, allocations: 8 kB / 0.6925 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.2021, allocations: 4 kB / 0.6925 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/0.2021, allocations: 7.984 kB / 0.6925 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.2023, allocations: 55.86 kB / 0.6926 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.2023, allocations: 8 kB / 0.6926 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.2025, allocations: 27.67 kB / 0.6926 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.2025, allocations: 16.38 kB / 0.6926 GB, free: 8.973 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.0001247/0.2026, allocations: 141.6 kB / 0.6928 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.216e-05/0.2027, allocations: 15.81 kB / 0.6928 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003048/0.203, allocations: 151 kB / 0.6929 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.203, allocations: 7.938 kB / 0.6929 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.203, allocations: 0 / 0.6929 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.2031, allocations: 3.984 kB / 0.6929 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002601/0.2033, allocations: 213.5 kB / 0.6932 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.2033, allocations: 0 / 0.6932 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.967e-05/0.2034, allocations: 27.92 kB / 0.6932 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.2034, allocations: 4 kB / 0.6932 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.2035, allocations: 11.94 kB / 0.6932 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.88e-06/0.2035, allocations: 7.922 kB / 0.6932 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2035, allocations: 0 / 0.6932 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003131/0.2038, allocations: 211.4 kB / 0.6934 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.673e-05/0.2039, allocations: 116.9 kB / 0.6935 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.2039, allocations: 0 / 0.6935 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/0.2041, allocations: 23.92 kB / 0.6935 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.814e-05/0.2042, allocations: 7.984 kB / 0.6935 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.2042, allocations: 15.98 kB / 0.6936 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.62e-05/0.2043, allocations: 120 kB / 0.6937 GB, free: 7.82 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2043, allocations: 0 / 0.6937 GB, free: 7.82 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004054/0.2047, allocations: 79.92 kB / 0.6938 GB, free: 7.742 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.000348/0.2051, allocations: 184.4 kB / 0.6939 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002525/0.2053, allocations: 123.2 kB / 0.694 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2053, allocations: 0 / 0.694 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.2055, allocations: 48.05 kB / 0.6941 GB, free: 7.391 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004442/0.2059, allocations: 51.91 kB / 0.6941 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007719/0.2067, allocations: 372.4 kB / 0.6945 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.2071, allocations: 0.7128 MB / 0.6952 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.276e-05/0.2072, allocations: 27.44 kB / 0.6952 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of SimCode: time 3.31e-07/0.2072, allocations: 4 kB / 0.6952 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of Templates: time 0.006608/0.2138, allocations: 3.43 MB / 0.6986 GB, free: 2.766 MB / 0.5294 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)