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.01065/0.01065, allocations: 101 kB / 15.73 MB, free: 6.039 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.002231/0.002231, allocations: 195.5 kB / 16.68 MB, free: 5.957 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.587/1.587, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.853/0.853, allocations: 135.1 MB / 425.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 66.23 kB / 0.5857 GB, free: 21.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.189, allocations: 80.92 MB / 0.6647 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01808/0.2072, allocations: 12.99 MB / 0.6774 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003183/0.2104, allocations: 2.671 MB / 0.68 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.2106, allocations: 3.938 kB / 0.68 GB, free: 6 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003959/0.211, allocations: 51.69 kB / 0.68 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004268/0.2115, allocations: 91.41 kB / 0.6801 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001705/0.2132, allocations: 0.5148 MB / 0.6806 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004024/0.2136, allocations: 235.9 kB / 0.6809 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 7.403e-05/0.2137, allocations: 9.562 kB / 0.6809 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009695/0.2234, allocations: 3.576 MB / 0.6844 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000247/0.2237, allocations: 91.61 kB / 0.6844 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.567e-05/0.2237, allocations: 12 kB / 0.6845 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003063/0.2268, allocations: 1.064 MB / 0.6855 GB, free: 352 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.883e-05/0.2269, allocations: 39.83 kB / 0.6855 GB, free: 312 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.2271, allocations: 83.64 kB / 0.6856 GB, free: 228 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.2282, allocations: 367 kB / 0.686 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2282, allocations: 0 / 0.686 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2282, allocations: 4 kB / 0.686 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.2282, allocations: 0 / 0.686 GB, free: 15.86 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.0009844/0.2292, allocations: 0.503 MB / 0.6865 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.2293, allocations: 9.109 kB / 0.6865 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002166/0.2295, allocations: 24.73 kB / 0.6865 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/0.2299, allocations: 224.1 kB / 0.6867 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.2299, allocations: 8.703 kB / 0.6867 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.2299, allocations: 20.38 kB / 0.6867 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004319/0.2304, allocations: 240.3 kB / 0.687 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.2304, allocations: 0 / 0.687 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.876e-05/0.2304, allocations: 12 kB / 0.687 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.831e-05/0.2305, allocations: 15.92 kB / 0.687 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005484/0.231, allocations: 423.5 kB / 0.6874 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.2324, allocations: 0.9604 MB / 0.6883 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000303/0.2327, allocations: 163 kB / 0.6885 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.2328, allocations: 64.88 kB / 0.6885 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001654/0.2345, allocations: 1.836 MB / 0.6903 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.2346, allocations: 34.56 kB / 0.6904 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 3.416e-06/0.2346, allocations: 3.984 kB / 0.6904 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0004009/0.235, allocations: 148.2 kB / 0.6905 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/0.235, allocations: 59.34 kB / 0.6906 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.2352, allocations: 168.2 kB / 0.6907 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/0.2352, allocations: 33.69 kB / 0.6908 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.718e-05/0.2353, allocations: 135.8 kB / 0.6909 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.754e-05/0.2354, allocations: 59.19 kB / 0.691 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-05/0.2355, allocations: 49.7 kB / 0.691 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.2356, allocations: 326.8 kB / 0.6913 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.329e-05/0.2357, allocations: 39.97 kB / 0.6914 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.2358, allocations: 133.7 kB / 0.6915 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002488/0.2361, allocations: 205.4 kB / 0.6917 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2361, allocations: 4 kB / 0.6917 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003572/0.2365, allocations: 211.7 kB / 0.6919 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.2365, allocations: 4 kB / 0.6919 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.2365, allocations: 4.469 kB / 0.6919 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.2366, allocations: 12 kB / 0.6919 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.2368, allocations: 55.84 kB / 0.692 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.2368, allocations: 4 kB / 0.692 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.2369, allocations: 31.62 kB / 0.692 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.2369, allocations: 19.94 kB / 0.692 GB, free: 8.941 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.0001396/0.2371, allocations: 129.7 kB / 0.6921 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/0.2372, allocations: 15.81 kB / 0.6921 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003477/0.2375, allocations: 162.9 kB / 0.6923 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.2375, allocations: 3.938 kB / 0.6923 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.2375, allocations: 4 kB / 0.6923 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.2376, allocations: 0 / 0.6923 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003023/0.2379, allocations: 221.5 kB / 0.6925 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.2379, allocations: 0 / 0.6925 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.238, allocations: 27.92 kB / 0.6925 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.238, allocations: 4 kB / 0.6926 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.238, allocations: 0 / 0.6926 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.238, allocations: 3.938 kB / 0.6926 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.238, allocations: 0 / 0.6926 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.2383, allocations: 219.4 kB / 0.6928 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.579e-05/0.2384, allocations: 112.9 kB / 0.6929 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.2384, allocations: 0 / 0.6929 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.2386, allocations: 19.92 kB / 0.6929 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.829e-05/0.2387, allocations: 11.98 kB / 0.6929 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.2387, allocations: 8 kB / 0.6929 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.339e-05/0.2388, allocations: 120 kB / 0.693 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2388, allocations: 3.938 kB / 0.693 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004438/0.2392, allocations: 87.92 kB / 0.6931 GB, free: 7.715 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.0003501/0.2396, allocations: 176.5 kB / 0.6933 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002606/0.2399, allocations: 126.4 kB / 0.6934 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.2399, allocations: 3.938 kB / 0.6934 GB, free: 7.41 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 7.481e-05/0.24, allocations: 47.92 kB / 0.6934 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004722/0.2404, allocations: 56.83 kB / 0.6935 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00076/0.2412, allocations: 330.7 kB / 0.6938 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.2415, allocations: 0.7168 MB / 0.6945 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001966/0.2418, allocations: 45.75 kB / 0.6946 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.471e-05/0.2418, allocations: 31.42 kB / 0.6946 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of SimCode: time 3.9e-07/0.2418, allocations: 0 / 0.6946 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of Templates: time 0.00817/0.25, allocations: 3.654 MB / 0.6982 GB, free: 2.523 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)