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.001181/0.001181, allocations: 108 kB / 15.61 MB, free: 128 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.001376/0.001376, allocations: 198 kB / 16.53 MB, free: 6.668 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.427/1.427, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9741/0.9741, allocations: 135.1 MB / 425.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 69.58 kB / 0.5053 GB, free: 5.324 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1956, allocations: 80.93 MB / 0.5844 GB, free: 4.551 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.00642/0.2021, allocations: 4.044 MB / 0.5883 GB, free: 488 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003007/0.2051, allocations: 2.43 MB / 0.5907 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000167/0.2053, allocations: 4 kB / 0.5907 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002983/0.2057, allocations: 43.67 kB / 0.5907 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003854/0.2061, allocations: 103.4 kB / 0.5908 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001619/0.2077, allocations: 0.5202 MB / 0.5913 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004462/0.2082, allocations: 259.9 kB / 0.5916 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.156e-05/0.2082, allocations: 9.562 kB / 0.5916 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002763/0.2085, allocations: 115.5 kB / 0.5917 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.2087, allocations: 95.66 kB / 0.5918 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.79e-05/0.2087, allocations: 8 kB / 0.5918 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001041/0.2098, allocations: 459.2 kB / 0.5922 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.2099, allocations: 35.89 kB / 0.5923 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.21, allocations: 87.58 kB / 0.5924 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009774/0.211, allocations: 407.3 kB / 0.5928 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.031e-05/0.211, allocations: 4 kB / 0.5928 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.313e-06/0.211, allocations: 3.938 kB / 0.5928 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.916e-06/0.2111, allocations: 0 / 0.5928 GB, free: 11.91 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.001023/0.2121, allocations: 0.5109 MB / 0.5933 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/0.2122, allocations: 8.031 kB / 0.5933 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002194/0.2144, allocations: 180.5 kB / 0.5934 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003269/0.2147, allocations: 208.1 kB / 0.5936 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.294e-05/0.2147, allocations: 16.7 kB / 0.5937 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.932e-05/0.2148, allocations: 16.38 kB / 0.5937 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006869/0.2155, allocations: 304.4 kB / 0.594 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.2155, allocations: 4 kB / 0.594 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.069e-05/0.2156, allocations: 11.94 kB / 0.594 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.29e-05/0.2156, allocations: 4 kB / 0.594 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007274/0.2163, allocations: 263.6 kB / 0.5942 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/0.218, allocations: 1.4 MB / 0.5956 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006803/0.2187, allocations: 186.5 kB / 0.5958 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002462/0.219, allocations: 83.31 kB / 0.5959 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.219, allocations: 0 / 0.5959 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.2191, allocations: 42.55 kB / 0.5959 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.603e-06/0.2191, allocations: 0 / 0.5959 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.000817/0.2199, allocations: 249.2 kB / 0.5961 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.2199, allocations: 55.39 kB / 0.5962 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.2201, allocations: 157.9 kB / 0.5963 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.651e-05/0.2201, allocations: 29.7 kB / 0.5964 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.315e-05/0.2202, allocations: 132 kB / 0.5965 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.918e-05/0.2203, allocations: 59.11 kB / 0.5965 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.841e-05/0.2204, allocations: 49.92 kB / 0.5966 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.2205, allocations: 326.8 kB / 0.5969 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/0.2207, allocations: 64.42 kB / 0.597 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002641/0.221, allocations: 144 kB / 0.5971 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005002/0.2215, allocations: 223.1 kB / 0.5973 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.2215, allocations: 0 / 0.5973 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000624/0.2221, allocations: 245.2 kB / 0.5976 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.2222, allocations: 4 kB / 0.5976 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.2222, allocations: 4 kB / 0.5976 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/0.2222, allocations: 11.92 kB / 0.5976 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003518/0.2226, allocations: 68.2 kB / 0.5976 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.2226, allocations: 7.938 kB / 0.5976 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002384/0.2228, allocations: 23.75 kB / 0.5977 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.906e-05/0.2229, allocations: 19.98 kB / 0.5977 GB, free: 6.492 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.0001252/0.223, allocations: 134.3 kB / 0.5978 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.143e-05/0.2231, allocations: 15.81 kB / 0.5978 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000664/0.2237, allocations: 232.7 kB / 0.5981 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.2238, allocations: 4 kB / 0.5981 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.2238, allocations: 0 / 0.5981 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2238, allocations: 0 / 0.5981 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003063/0.2241, allocations: 249.6 kB / 0.5983 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.2241, allocations: 0 / 0.5983 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003102/0.2244, allocations: 51.89 kB / 0.5983 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.2244, allocations: 0 / 0.5983 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.2245, allocations: 4 kB / 0.5983 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.2245, allocations: 4 kB / 0.5984 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2245, allocations: 4 kB / 0.5984 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005712/0.2251, allocations: 287.3 kB / 0.5986 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.2252, allocations: 100.9 kB / 0.5987 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.204e-05/0.2252, allocations: 7.984 kB / 0.5987 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002799/0.2255, allocations: 23.92 kB / 0.5988 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.2256, allocations: 19.94 kB / 0.5988 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.2256, allocations: 4 kB / 0.5988 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.147e-05/0.2257, allocations: 115.2 kB / 0.5989 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2257, allocations: 0 / 0.5989 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003999/0.2261, allocations: 64.12 kB / 0.5989 GB, free: 5.102 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.0002316/0.2263, allocations: 146.8 kB / 0.5991 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005842/0.2269, allocations: 190.4 kB / 0.5993 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.2269, allocations: 4 kB / 0.5993 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002432/0.2272, allocations: 90.64 kB / 0.5994 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005775/0.2278, allocations: 59.8 kB / 0.5994 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.2288, allocations: 406.3 kB / 0.5998 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.2292, allocations: 0.7211 MB / 0.6005 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003632/0.2295, allocations: 53.92 kB / 0.6006 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.772e-05/0.2296, allocations: 23.42 kB / 0.6006 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of SimCode: time 6.62e-07/0.2296, allocations: 0 / 0.6006 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of Templates: time 0.007974/0.2376, allocations: 3.393 MB / 0.6039 GB, free: 44 kB / 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)