Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001136/0.001136, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.361/1.361, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7358/0.7358, allocations: 132.2 MB / 422.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 63.61 kB / 0.5018 GB, free: 8.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1879, allocations: 80.2 MB / 0.5801 GB, free: 8.797 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006138/0.1941, allocations: 4.054 MB / 0.584 GB, free: 4.719 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002857/0.197, allocations: 2.438 MB / 0.5864 GB, free: 2.273 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.1971, allocations: 4 kB / 0.5864 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000291/0.1974, allocations: 43.69 kB / 0.5865 GB, free: 2.227 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003518/0.1978, allocations: 103.3 kB / 0.5866 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.1993, allocations: 0.519 MB / 0.5871 GB, free: 1.609 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000319/0.1996, allocations: 263.9 kB / 0.5873 GB, free: 1.352 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.239e-05/0.1997, allocations: 9.547 kB / 0.5873 GB, free: 1.34 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000247/0.1999, allocations: 115.6 kB / 0.5874 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.2001, allocations: 99.58 kB / 0.5875 GB, free: 1.129 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.691e-05/0.2001, allocations: 8 kB / 0.5876 GB, free: 1.121 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009899/0.2011, allocations: 455.3 kB / 0.588 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.578e-05/0.2012, allocations: 35.88 kB / 0.588 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.2013, allocations: 83.61 kB / 0.5881 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008464/0.2022, allocations: 411.2 kB / 0.5885 GB, free: 160 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2022, allocations: 4 kB / 0.5885 GB, free: 156 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.2022, allocations: 0 / 0.5885 GB, free: 156 kB / 494.1 MB Notification: Performance of Transformations before backend: time 8.305e-06/0.2022, allocations: 0 / 0.5885 GB, free: 156 kB / 494.1 MB 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.0008215/0.203, allocations: 0.507 MB / 0.589 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.2031, allocations: 8.031 kB / 0.589 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001929/0.205, allocations: 184.5 kB / 0.5892 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.2053, allocations: 204.1 kB / 0.5894 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.2053, allocations: 12.7 kB / 0.5894 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.578e-05/0.2054, allocations: 16.38 kB / 0.5894 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006567/0.206, allocations: 313 kB / 0.5897 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.2061, allocations: 3.938 kB / 0.5897 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.883e-05/0.2061, allocations: 19.92 kB / 0.5897 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/0.2061, allocations: 4 kB / 0.5897 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006967/0.2068, allocations: 259.6 kB / 0.59 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001575/0.2084, allocations: 1.392 MB / 0.5913 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006453/0.2091, allocations: 190.5 kB / 0.5915 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.2093, allocations: 76.81 kB / 0.5916 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.2094, allocations: 7.969 kB / 0.5916 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.2094, allocations: 38.56 kB / 0.5916 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.983e-06/0.2094, allocations: 4 kB / 0.5916 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0007661/0.2102, allocations: 247.6 kB / 0.5919 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.2102, allocations: 55.41 kB / 0.5919 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.2104, allocations: 153.5 kB / 0.5921 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.2104, allocations: 29.7 kB / 0.5921 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.185e-05/0.2105, allocations: 132 kB / 0.5922 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.762e-05/0.2105, allocations: 59.11 kB / 0.5923 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.387e-05/0.2106, allocations: 53.92 kB / 0.5923 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.2107, allocations: 322.8 kB / 0.5926 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.2109, allocations: 64.41 kB / 0.5927 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.2112, allocations: 146.9 kB / 0.5928 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004678/0.2117, allocations: 218.9 kB / 0.593 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2117, allocations: 4 kB / 0.5931 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005807/0.2123, allocations: 253.4 kB / 0.5933 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.2123, allocations: 4 kB / 0.5933 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.2123, allocations: 4 kB / 0.5933 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.2123, allocations: 4 kB / 0.5933 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003429/0.2127, allocations: 59.89 kB / 0.5934 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.2127, allocations: 7.938 kB / 0.5934 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002281/0.2129, allocations: 31.73 kB / 0.5934 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.213, allocations: 12 kB / 0.5934 GB, free: 10.74 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000123/0.2131, allocations: 137.7 kB / 0.5935 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.414e-05/0.2131, allocations: 15.81 kB / 0.5936 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000638/0.2138, allocations: 228.8 kB / 0.5938 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.2138, allocations: 4 kB / 0.5938 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.2138, allocations: 4 kB / 0.5938 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.2138, allocations: 7.922 kB / 0.5938 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.2141, allocations: 249.6 kB / 0.594 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2141, allocations: 0 / 0.594 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003022/0.2144, allocations: 47.95 kB / 0.5941 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.2144, allocations: 4 kB / 0.5941 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.2145, allocations: 4 kB / 0.5941 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.2145, allocations: 0 / 0.5941 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2145, allocations: 0 / 0.5941 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005339/0.215, allocations: 299.1 kB / 0.5944 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.703e-05/0.2151, allocations: 108.9 kB / 0.5945 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.688e-05/0.2152, allocations: 8 kB / 0.5945 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000259/0.2154, allocations: 11.98 kB / 0.5945 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.674e-05/0.2155, allocations: 11.98 kB / 0.5945 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.2155, allocations: 8 kB / 0.5945 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.715e-05/0.2156, allocations: 118.7 kB / 0.5946 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2156, allocations: 0 / 0.5946 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003641/0.2159, allocations: 68.11 kB / 0.5947 GB, free: 9.332 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 (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.0002198/0.2162, allocations: 131.2 kB / 0.5948 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005728/0.2168, allocations: 194.9 kB / 0.595 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.2168, allocations: 3.938 kB / 0.595 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002309/0.217, allocations: 92.5 kB / 0.5951 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005462/0.2176, allocations: 60.83 kB / 0.5951 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009623/0.2185, allocations: 407.1 kB / 0.5955 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.2188, allocations: 0.7212 MB / 0.5962 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003329/0.2191, allocations: 49.92 kB / 0.5963 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.382e-05/0.2192, allocations: 23.42 kB / 0.5963 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.2192, allocations: 4 kB / 0.5963 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of Templates: time 0.006885/0.2261, allocations: 3.391 MB / 0.5996 GB, free: 4.309 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)