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.001732/0.001732, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002067/0.002067, allocations: 191.7 kB / 16.14 MB, free: 6.711 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.487/1.487, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.031/1.031, allocations: 135.1 MB / 425.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001406, allocations: 60.81 kB / 0.5047 GB, free: 5.797 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1952, allocations: 80.93 MB / 0.5837 GB, free: 5.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006068/0.2013, allocations: 4.094 MB / 0.5877 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002682/0.204, allocations: 2.461 MB / 0.5901 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.377e-05/0.2041, allocations: 0 / 0.5901 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002903/0.2045, allocations: 43.78 kB / 0.5902 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002732/0.2048, allocations: 91.47 kB / 0.5902 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.2061, allocations: 473.2 kB / 0.5907 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003652/0.2065, allocations: 335.8 kB / 0.591 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.688e-05/0.2066, allocations: 21.5 kB / 0.591 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002445/0.2068, allocations: 111.6 kB / 0.5911 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.207, allocations: 99.64 kB / 0.5912 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.207, allocations: 8 kB / 0.5912 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008458/0.2078, allocations: 455.1 kB / 0.5917 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.916e-05/0.2079, allocations: 39.83 kB / 0.5917 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.65e-05/0.208, allocations: 83.64 kB / 0.5918 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006507/0.2087, allocations: 415.2 kB / 0.5922 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.2087, allocations: 0 / 0.5922 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.52e-07/0.2087, allocations: 4 kB / 0.5922 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.2087, allocations: 0 / 0.5922 GB, free: 12.3 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.0008581/0.2096, allocations: 0.5031 MB / 0.5927 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.2097, allocations: 8.031 kB / 0.5927 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002054/0.2117, allocations: 188.5 kB / 0.5929 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.212, allocations: 208.1 kB / 0.5931 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/0.212, allocations: 12.7 kB / 0.5931 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.418e-05/0.2121, allocations: 12.38 kB / 0.5931 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006783/0.2128, allocations: 308.4 kB / 0.5934 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.2128, allocations: 3.938 kB / 0.5934 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.549e-05/0.2128, allocations: 8 kB / 0.5934 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-05/0.2128, allocations: 4 kB / 0.5934 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007027/0.2136, allocations: 268.3 kB / 0.5937 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001795/0.2154, allocations: 1.392 MB / 0.595 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006402/0.216, allocations: 201.9 kB / 0.5952 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002287/0.2163, allocations: 76.81 kB / 0.5953 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.2163, allocations: 3.984 kB / 0.5953 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.2163, allocations: 38.56 kB / 0.5953 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 2.624e-06/0.2163, allocations: 0 / 0.5953 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0007821/0.2171, allocations: 247.7 kB / 0.5956 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.2172, allocations: 55.41 kB / 0.5956 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.2173, allocations: 158.5 kB / 0.5958 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.2174, allocations: 29.7 kB / 0.5958 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.51e-05/0.2175, allocations: 132 kB / 0.5959 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.07e-05/0.2175, allocations: 63.05 kB / 0.596 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.415e-05/0.2176, allocations: 53.92 kB / 0.596 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.2178, allocations: 322.8 kB / 0.5963 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/0.218, allocations: 68.41 kB / 0.5964 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002433/0.2183, allocations: 143.9 kB / 0.5965 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004675/0.2187, allocations: 217.1 kB / 0.5967 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.2188, allocations: 8 kB / 0.5968 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005567/0.2193, allocations: 243.7 kB / 0.597 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.2193, allocations: 12.3 kB / 0.597 GB, free: 7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.2194, allocations: 8 kB / 0.597 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.2194, allocations: 4 kB / 0.597 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003487/0.2197, allocations: 59.89 kB / 0.5971 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.2198, allocations: 7.984 kB / 0.5971 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002453/0.22, allocations: 31.73 kB / 0.5971 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.22, allocations: 8 kB / 0.5971 GB, free: 6.883 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.0001577/0.2202, allocations: 142.3 kB / 0.5972 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.511e-05/0.2203, allocations: 19.8 kB / 0.5973 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006414/0.2209, allocations: 218.7 kB / 0.5975 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.2209, allocations: 7.938 kB / 0.5975 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.2209, allocations: 0 / 0.5975 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.221, allocations: 3.984 kB / 0.5975 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002995/0.2213, allocations: 245.6 kB / 0.5977 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2213, allocations: 0 / 0.5977 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002969/0.2216, allocations: 51.95 kB / 0.5978 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2216, allocations: 0 / 0.5978 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.2216, allocations: 0 / 0.5978 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.2216, allocations: 8 kB / 0.5978 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2216, allocations: 3.938 kB / 0.5978 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005347/0.2222, allocations: 293.5 kB / 0.5981 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.2223, allocations: 112.9 kB / 0.5982 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.325e-05/0.2223, allocations: 0 / 0.5982 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002716/0.2226, allocations: 15.98 kB / 0.5982 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.2227, allocations: 15.92 kB / 0.5982 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-05/0.2227, allocations: 11.98 kB / 0.5982 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.15e-05/0.2228, allocations: 119.2 kB / 0.5983 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2228, allocations: 0 / 0.5983 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003767/0.2232, allocations: 60.06 kB / 0.5984 GB, free: 5.484 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.0002474/0.2234, allocations: 135.2 kB / 0.5985 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005145/0.2239, allocations: 195.6 kB / 0.5987 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.224, allocations: 0 / 0.5987 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002127/0.2242, allocations: 87.88 kB / 0.5988 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004953/0.2247, allocations: 67.03 kB / 0.5988 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.2257, allocations: 452.9 kB / 0.5993 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.226, allocations: 0.7214 MB / 0.6 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003511/0.2264, allocations: 49.94 kB / 0.6 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.777e-05/0.2265, allocations: 31.36 kB / 0.6001 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.2265, allocations: 0 / 0.6001 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of Templates: time 0.007281/0.2338, allocations: 3.246 MB / 0.6032 GB, free: 0.5273 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)