Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001312/0.001313, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.582/1.582, allocations: 223.3 MB / 240 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.996/0.996, allocations: 135.3 MB / 426.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003776, allocations: 8 kB / 0.507 GB, free: 5.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2123, allocations: 82.32 MB / 0.5874 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004451/0.2168, allocations: 3.582 MB / 0.5909 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00262/0.2194, allocations: 2.249 MB / 0.5931 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.2196, allocations: 0 / 0.5931 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002731/0.2199, allocations: 35.8 kB / 0.5931 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002917/0.2202, allocations: 91.42 kB / 0.5932 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.2215, allocations: 433.8 kB / 0.5936 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003736/0.2219, allocations: 299.8 kB / 0.5939 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.663e-05/0.222, allocations: 9.562 kB / 0.5939 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002149/0.2222, allocations: 107.6 kB / 0.594 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.2223, allocations: 99.62 kB / 0.5941 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.2224, allocations: 8 kB / 0.5941 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008306/0.2232, allocations: 351.3 kB / 0.5944 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.712e-05/0.2233, allocations: 39.83 kB / 0.5945 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.847e-05/0.2234, allocations: 53.64 kB / 0.5945 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003816/0.2237, allocations: 259.6 kB / 0.5948 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.2238, allocations: 0 / 0.5948 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2238, allocations: 0 / 0.5948 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.2238, allocations: 0 / 0.5948 GB, free: 11.38 MB / 0.4981 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.0007377/0.2245, allocations: 487 kB / 0.5952 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2246, allocations: 8.031 kB / 0.5953 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001782/0.2264, allocations: 187.5 kB / 0.5954 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.2267, allocations: 202.9 kB / 0.5956 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.313e-05/0.2267, allocations: 12.33 kB / 0.5956 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.142e-05/0.2267, allocations: 12 kB / 0.5956 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006035/0.2273, allocations: 304.3 kB / 0.5959 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.2274, allocations: 0 / 0.5959 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.636e-05/0.2274, allocations: 12 kB / 0.5959 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/0.2274, allocations: 7.938 kB / 0.596 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006275/0.2281, allocations: 256.4 kB / 0.5962 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.2296, allocations: 1.389 MB / 0.5976 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005934/0.2302, allocations: 194.4 kB / 0.5977 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002027/0.2304, allocations: 80.8 kB / 0.5978 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-05/0.2305, allocations: 7.984 kB / 0.5978 GB, free: 8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.2305, allocations: 38.56 kB / 0.5979 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.683e-06/0.2305, allocations: 0 / 0.5979 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0007226/0.2312, allocations: 246.9 kB / 0.5981 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.2313, allocations: 55.41 kB / 0.5982 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.2314, allocations: 157.5 kB / 0.5983 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.748e-05/0.2315, allocations: 33.7 kB / 0.5983 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.546e-05/0.2316, allocations: 124 kB / 0.5985 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.17e-05/0.2316, allocations: 67.09 kB / 0.5985 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.329e-05/0.2316, allocations: 0 / 0.5985 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.2318, allocations: 326.8 kB / 0.5988 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.232, allocations: 64.42 kB / 0.5989 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002299/0.2322, allocations: 140 kB / 0.599 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/0.2324, allocations: 90.09 kB / 0.5991 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2324, allocations: 0 / 0.5991 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005303/0.233, allocations: 249.1 kB / 0.5993 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.233, allocations: 8 kB / 0.5994 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.233, allocations: 0 / 0.5994 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.233, allocations: 11.95 kB / 0.5994 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003374/0.2334, allocations: 64.2 kB / 0.5994 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.2334, allocations: 11.94 kB / 0.5994 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/0.2336, allocations: 31.73 kB / 0.5995 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.2337, allocations: 8 kB / 0.5995 GB, free: 6.219 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001239/0.2338, allocations: 137.7 kB / 0.5996 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.491e-05/0.2338, allocations: 11.91 kB / 0.5996 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000596/0.2344, allocations: 236.6 kB / 0.5998 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.2345, allocations: 8 kB / 0.5999 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2345, allocations: 0 / 0.5999 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.2345, allocations: 3.953 kB / 0.5999 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000297/0.2348, allocations: 237.8 kB / 0.6001 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2348, allocations: 0 / 0.6001 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002759/0.2351, allocations: 47.91 kB / 0.6001 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.718e-06/0.2351, allocations: 4 kB / 0.6001 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.2351, allocations: 0 / 0.6001 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.2351, allocations: 0 / 0.6001 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.2351, allocations: 7.938 kB / 0.6001 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004897/0.2356, allocations: 299.2 kB / 0.6004 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.2357, allocations: 104.9 kB / 0.6005 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.207e-05/0.2358, allocations: 0 / 0.6005 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.236, allocations: 23.98 kB / 0.6005 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.2361, allocations: 11.98 kB / 0.6006 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/0.2361, allocations: 11.98 kB / 0.6006 GB, free: 5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.633e-05/0.2362, allocations: 118.9 kB / 0.6007 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2362, allocations: 0 / 0.6007 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003806/0.2366, allocations: 68.06 kB / 0.6008 GB, free: 4.82 MB / 0.4981 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002114/0.2368, allocations: 131.1 kB / 0.6009 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004997/0.2373, allocations: 182.1 kB / 0.601 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.2373, allocations: 3.938 kB / 0.6011 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002086/0.2375, allocations: 87.81 kB / 0.6011 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005101/0.2381, allocations: 67.91 kB / 0.6012 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.2391, allocations: 497.2 kB / 0.6017 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.2394, allocations: 0.7137 MB / 0.6024 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000343/0.2398, allocations: 53.92 kB / 0.6024 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.112e-05/0.2399, allocations: 23.42 kB / 0.6024 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of SimCode: time 6.11e-07/0.2399, allocations: 4 kB / 0.6025 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of Templates: time 0.3327/0.5726, allocations: 3.125 MB / 0.6055 GB, free: 48.8 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)