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.001321/0.001321, allocations: 108.4 kB / 16.41 MB, free: 6.504 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.001377/0.001377, allocations: 185.6 kB / 17.34 MB, free: 5.758 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.505/1.505, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8523/0.8523, allocations: 135.2 MB / 426.4 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 67.02 kB / 0.5864 GB, free: 21.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1819, allocations: 80.92 MB / 0.6654 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01796/0.1999, allocations: 13.01 MB / 0.6781 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003313/0.2032, allocations: 2.675 MB / 0.6807 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.2033, allocations: 0 / 0.6807 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003072/0.2036, allocations: 47.67 kB / 0.6808 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002958/0.2039, allocations: 103.3 kB / 0.6809 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.2052, allocations: 0.5072 MB / 0.6814 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003076/0.2055, allocations: 232 kB / 0.6816 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.639e-05/0.2056, allocations: 13.5 kB / 0.6816 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008505/0.2141, allocations: 3.589 MB / 0.6851 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.2143, allocations: 95.59 kB / 0.6852 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.2143, allocations: 8 kB / 0.6852 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002709/0.217, allocations: 1.069 MB / 0.6863 GB, free: 272 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.887e-05/0.2171, allocations: 39.89 kB / 0.6863 GB, free: 232 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.2172, allocations: 79.66 kB / 0.6864 GB, free: 152 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007951/0.218, allocations: 370.7 kB / 0.6867 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.218, allocations: 0 / 0.6867 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.313e-06/0.218, allocations: 0 / 0.6867 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.218, allocations: 0 / 0.6867 GB, free: 15.79 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.0009527/0.219, allocations: 0.5025 MB / 0.6872 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.219, allocations: 17.11 kB / 0.6872 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/0.2192, allocations: 20.84 kB / 0.6873 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003647/0.2196, allocations: 220.1 kB / 0.6875 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.2196, allocations: 16.7 kB / 0.6875 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.2196, allocations: 16.31 kB / 0.6875 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004362/0.2201, allocations: 248.2 kB / 0.6877 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.2201, allocations: 4 kB / 0.6877 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/0.2201, allocations: 8 kB / 0.6878 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.719e-05/0.2201, allocations: 4 kB / 0.6878 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005431/0.2207, allocations: 423.5 kB / 0.6882 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.222, allocations: 0.9722 MB / 0.6891 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002909/0.2223, allocations: 147 kB / 0.6893 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.2224, allocations: 56.88 kB / 0.6893 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001678/0.2241, allocations: 1.84 MB / 0.6911 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.2241, allocations: 30.56 kB / 0.6911 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.303e-06/0.2241, allocations: 0 / 0.6911 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0003676/0.2245, allocations: 149.5 kB / 0.6913 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.2245, allocations: 55.34 kB / 0.6913 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.2247, allocations: 176.2 kB / 0.6915 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.2248, allocations: 25.7 kB / 0.6915 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.2249, allocations: 152 kB / 0.6917 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.83e-05/0.225, allocations: 55.58 kB / 0.6917 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.895e-05/0.225, allocations: 53.66 kB / 0.6918 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.2252, allocations: 322.8 kB / 0.6921 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.137e-05/0.2253, allocations: 31.98 kB / 0.6921 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.2254, allocations: 149.6 kB / 0.6922 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002593/0.2257, allocations: 193.5 kB / 0.6924 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2257, allocations: 0 / 0.6924 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003513/0.2261, allocations: 224.1 kB / 0.6926 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.2261, allocations: 7.938 kB / 0.6927 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.2261, allocations: 4 kB / 0.6927 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.2261, allocations: 4 kB / 0.6927 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.2263, allocations: 59.8 kB / 0.6927 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.128e-06/0.2263, allocations: 4 kB / 0.6927 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.2264, allocations: 23.84 kB / 0.6927 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/0.2264, allocations: 19.98 kB / 0.6928 GB, free: 8.875 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.0001272/0.2265, allocations: 134 kB / 0.6929 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.195e-05/0.2266, allocations: 15.91 kB / 0.6929 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003283/0.2269, allocations: 162.9 kB / 0.6931 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.2269, allocations: 3.938 kB / 0.6931 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.2269, allocations: 4 kB / 0.6931 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.227, allocations: 3.984 kB / 0.6931 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.2272, allocations: 209.6 kB / 0.6933 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2272, allocations: 0 / 0.6933 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.127e-05/0.2273, allocations: 27.98 kB / 0.6933 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.2273, allocations: 8 kB / 0.6933 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.2273, allocations: 0 / 0.6933 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.2273, allocations: 3.938 kB / 0.6933 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2273, allocations: 0 / 0.6933 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002809/0.2276, allocations: 227.3 kB / 0.6935 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.2277, allocations: 112.9 kB / 0.6936 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.2278, allocations: 3.984 kB / 0.6936 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.228, allocations: 19.94 kB / 0.6937 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.59e-05/0.228, allocations: 7.984 kB / 0.6937 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.607e-05/0.228, allocations: 15.98 kB / 0.6937 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001017/0.2281, allocations: 120 kB / 0.6938 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2281, allocations: 0 / 0.6938 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003859/0.2285, allocations: 79.86 kB / 0.6939 GB, free: 7.645 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.0003378/0.2288, allocations: 190.9 kB / 0.6941 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002579/0.2291, allocations: 115.3 kB / 0.6942 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.2291, allocations: 0 / 0.6942 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 7.198e-05/0.2292, allocations: 39.98 kB / 0.6942 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004441/0.2296, allocations: 61.77 kB / 0.6943 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007623/0.2304, allocations: 380.1 kB / 0.6946 GB, free: 6.84 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.2308, allocations: 0.7089 MB / 0.6953 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.111e-05/0.2308, allocations: 27.44 kB / 0.6953 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of SimCode: time 4.11e-07/0.2308, allocations: 8 kB / 0.6954 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of Templates: time 0.00625/0.2371, allocations: 3.439 MB / 0.6987 GB, free: 2.648 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)