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.005983/0.005983, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001334/0.001334, allocations: 188.4 kB / 16.67 MB, free: 5.977 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.381/1.381, allocations: 222.9 MB / 240.4 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.8102/0.8102, allocations: 135.1 MB / 425.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 61.34 kB / 0.5857 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1853, allocations: 80.92 MB / 0.6647 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01608/0.2014, allocations: 12.98 MB / 0.6774 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003045/0.2045, allocations: 2.66 MB / 0.68 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.2047, allocations: 8 kB / 0.68 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003465/0.2051, allocations: 47.69 kB / 0.68 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003424/0.2054, allocations: 99.34 kB / 0.6801 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001501/0.2069, allocations: 0.5206 MB / 0.6806 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003563/0.2073, allocations: 235.9 kB / 0.6809 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.064e-05/0.2074, allocations: 9.562 kB / 0.6809 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01088/0.2183, allocations: 3.576 MB / 0.6844 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002813/0.2186, allocations: 91.61 kB / 0.6844 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.025e-05/0.2186, allocations: 8 kB / 0.6845 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003298/0.2219, allocations: 1.076 MB / 0.6855 GB, free: 356 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.2221, allocations: 35.89 kB / 0.6855 GB, free: 320 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001685/0.2222, allocations: 79.64 kB / 0.6856 GB, free: 240 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001391/0.2236, allocations: 371 kB / 0.686 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.2236, allocations: 0 / 0.686 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2237, allocations: 0 / 0.686 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.314e-05/0.2237, allocations: 0 / 0.686 GB, free: 15.87 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.001053/0.2247, allocations: 0.5108 MB / 0.6865 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.2248, allocations: 9.109 kB / 0.6865 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000236/0.225, allocations: 24.73 kB / 0.6865 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003772/0.2254, allocations: 212.2 kB / 0.6867 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.2254, allocations: 8.703 kB / 0.6867 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.2255, allocations: 16.38 kB / 0.6867 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004444/0.2259, allocations: 248.2 kB / 0.687 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.226, allocations: 0 / 0.687 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.226, allocations: 8 kB / 0.687 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.151e-05/0.226, allocations: 11.98 kB / 0.687 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005364/0.2266, allocations: 431.5 kB / 0.6874 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.2279, allocations: 0.9603 MB / 0.6883 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003093/0.2282, allocations: 159 kB / 0.6885 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.2284, allocations: 64.88 kB / 0.6885 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001644/0.23, allocations: 1.837 MB / 0.6903 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.2301, allocations: 30.56 kB / 0.6904 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.783e-06/0.2301, allocations: 3.938 kB / 0.6904 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0003861/0.2305, allocations: 144 kB / 0.6905 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.2305, allocations: 55.34 kB / 0.6906 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.2307, allocations: 176.1 kB / 0.6907 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.2308, allocations: 37.69 kB / 0.6908 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.554e-05/0.2309, allocations: 139.8 kB / 0.6909 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.799e-05/0.2309, allocations: 51.2 kB / 0.6909 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.777e-05/0.231, allocations: 49.7 kB / 0.691 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.2311, allocations: 326.8 kB / 0.6913 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.337e-05/0.2312, allocations: 35.97 kB / 0.6913 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.2314, allocations: 141.7 kB / 0.6915 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002392/0.2316, allocations: 197.5 kB / 0.6917 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.2316, allocations: 4 kB / 0.6917 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003554/0.232, allocations: 215.6 kB / 0.6919 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.232, allocations: 9.875 kB / 0.6919 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.232, allocations: 4 kB / 0.6919 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.232, allocations: 4 kB / 0.6919 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.2322, allocations: 59.84 kB / 0.6919 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.105e-05/0.2323, allocations: 4 kB / 0.692 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.2324, allocations: 28.16 kB / 0.692 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.2324, allocations: 20 kB / 0.692 GB, free: 8.965 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.0001218/0.2326, allocations: 129.7 kB / 0.6921 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.944e-05/0.2326, allocations: 19.75 kB / 0.6921 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003194/0.2329, allocations: 166.8 kB / 0.6923 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.988e-06/0.233, allocations: 7.938 kB / 0.6923 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.233, allocations: 0 / 0.6923 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.233, allocations: 4 kB / 0.6923 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.2332, allocations: 213.5 kB / 0.6925 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2332, allocations: 0 / 0.6925 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.732e-05/0.2333, allocations: 31.98 kB / 0.6925 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2333, allocations: 0 / 0.6925 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.2334, allocations: 7.984 kB / 0.6926 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.2334, allocations: 3.938 kB / 0.6926 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2334, allocations: 0 / 0.6926 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/0.2337, allocations: 222 kB / 0.6928 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.522e-05/0.2338, allocations: 108.9 kB / 0.6929 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.2338, allocations: 4 kB / 0.6929 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.234, allocations: 19.92 kB / 0.6929 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.862e-05/0.234, allocations: 11.98 kB / 0.6929 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.234, allocations: 12 kB / 0.6929 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.035e-05/0.2341, allocations: 119.9 kB / 0.693 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2341, allocations: 0 / 0.693 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004043/0.2345, allocations: 79.94 kB / 0.6931 GB, free: 7.734 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.0003399/0.2349, allocations: 184.4 kB / 0.6933 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000239/0.2351, allocations: 116.5 kB / 0.6934 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.2352, allocations: 8.188 kB / 0.6934 GB, free: 7.426 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.935e-05/0.2352, allocations: 39.98 kB / 0.6934 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004207/0.2357, allocations: 55.88 kB / 0.6935 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007347/0.2364, allocations: 346.5 kB / 0.6938 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.2368, allocations: 0.7128 MB / 0.6945 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001514/0.2369, allocations: 45.75 kB / 0.6946 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.379e-05/0.237, allocations: 27.42 kB / 0.6946 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of SimCode: time 3.3e-07/0.237, allocations: 4 kB / 0.6946 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of Templates: time 0.007394/0.2444, allocations: 3.659 MB / 0.6982 GB, free: 2.531 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)