Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6995/0.6995, allocations: 133.4 MB / 150.1 MB, free: 11.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.597/1.597, allocations: 222.9 MB / 404.7 MB, free: 6 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 107.7 kB / 485.9 MB, free: 7.16 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001028/0.001028, allocations: 55.92 kB / 0.5636 GB, free: 69.91 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.184, allocations: 80.42 MB / 0.6421 GB, free: 5.418 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002662/0.1867, allocations: 1.325 MB / 0.6434 GB, free: 4.074 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003117/0.1898, allocations: 2.497 MB / 0.6459 GB, free: 1.566 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.563e-05/0.1899, allocations: 0 / 0.6459 GB, free: 1.566 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.304e-05/0.1899, allocations: 3.938 kB / 0.6459 GB, free: 1.562 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.341e-05/0.19, allocations: 3.984 kB / 0.6459 GB, free: 1.559 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005337/0.1905, allocations: 119.5 kB / 0.646 GB, free: 1.441 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 9.984e-05/0.1907, allocations: 39.84 kB / 0.646 GB, free: 1.402 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.136e-05/0.1907, allocations: 4 kB / 0.646 GB, free: 1.398 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.685e-05/0.1908, allocations: 15.92 kB / 0.646 GB, free: 1.383 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.329e-05/0.1908, allocations: 19.97 kB / 0.6461 GB, free: 1.363 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.1909, allocations: 0 / 0.6461 GB, free: 1.363 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002958/0.1912, allocations: 107.8 kB / 0.6462 GB, free: 1.258 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.353e-05/0.1912, allocations: 19.91 kB / 0.6462 GB, free: 1.238 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.22e-05/0.1912, allocations: 12 kB / 0.6462 GB, free: 1.227 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.1914, allocations: 80.06 kB / 0.6463 GB, free: 1.148 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1915, allocations: 4 kB / 0.6463 GB, free: 1.145 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1915, allocations: 0 / 0.6463 GB, free: 1.145 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1915, allocations: 0 / 0.6463 GB, free: 1.145 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004838/0.192, allocations: 355.4 kB / 0.6466 GB, free: 0.75 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.192, allocations: 11.97 kB / 0.6466 GB, free: 0.7383 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002293/0.1922, allocations: 12.92 kB / 0.6466 GB, free: 0.7266 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.1924, allocations: 168.3 kB / 0.6468 GB, free: 0.5234 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.1924, allocations: 8.312 kB / 0.6468 GB, free: 0.5156 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.1924, allocations: 12.28 kB / 0.6468 GB, free: 0.5039 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.1926, allocations: 76.38 kB / 0.6469 GB, free: 424 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1926, allocations: 0 / 0.6469 GB, free: 424 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.1926, allocations: 0 / 0.6469 GB, free: 424 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.1927, allocations: 4 kB / 0.6469 GB, free: 420 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.638e-05/0.1927, allocations: 7.938 kB / 0.6469 GB, free: 412 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006481/0.1934, allocations: 474.9 kB / 0.6474 GB, free: 15.88 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.1935, allocations: 75.72 kB / 0.6474 GB, free: 15.77 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.431e-05/0.1935, allocations: 22.72 kB / 0.6475 GB, free: 15.74 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.1936, allocations: 7.938 kB / 0.6475 GB, free: 15.73 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.1936, allocations: 38.56 kB / 0.6475 GB, free: 15.69 MB / 458.7 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.1936, allocations: 0 / 0.6475 GB, free: 15.69 MB / 458.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006222/0.1942, allocations: 298.1 kB / 0.6478 GB, free: 15.34 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.1943, allocations: 107.1 kB / 0.6479 GB, free: 15.21 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.175e-05/0.1944, allocations: 101.8 kB / 0.648 GB, free: 15.11 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.1944, allocations: 29.7 kB / 0.648 GB, free: 15.07 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.037e-05/0.1945, allocations: 92.03 kB / 0.6481 GB, free: 14.98 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.1945, allocations: 23.66 kB / 0.6481 GB, free: 14.95 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.985e-05/0.1945, allocations: 25.7 kB / 0.6481 GB, free: 14.92 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.1946, allocations: 318.8 kB / 0.6485 GB, free: 14.6 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.016e-05/0.1947, allocations: 15.98 kB / 0.6485 GB, free: 14.58 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.036e-05/0.1948, allocations: 57.03 kB / 0.6485 GB, free: 14.51 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.888e-05/0.1949, allocations: 73.08 kB / 0.6486 GB, free: 14.42 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1949, allocations: 4 kB / 0.6486 GB, free: 14.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001347/0.195, allocations: 97.45 kB / 0.6487 GB, free: 14.31 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.195, allocations: 4 kB / 0.6487 GB, free: 14.31 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.195, allocations: 4 kB / 0.6487 GB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.1951, allocations: 0 / 0.6487 GB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.5e-05/0.1952, allocations: 19.98 kB / 0.6487 GB, free: 14.29 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.1952, allocations: 7.938 kB / 0.6487 GB, free: 14.28 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.42e-05/0.1952, allocations: 0.7344 kB / 0.6487 GB, free: 14.28 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.1952, allocations: 12 kB / 0.6487 GB, free: 14.27 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 8.924e-05/0.1953, allocations: 117.8 kB / 0.6488 GB, free: 14.14 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.704e-05/0.1954, allocations: 4 kB / 0.6488 GB, free: 14.14 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.022e-05/0.1954, allocations: 7.562 kB / 0.6489 GB, free: 14.13 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.1954, allocations: 4 kB / 0.6489 GB, free: 14.13 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1954, allocations: 0 / 0.6489 GB, free: 14.13 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.1955, allocations: 7.969 kB / 0.6489 GB, free: 14.12 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003272/0.1958, allocations: 181.5 kB / 0.649 GB, free: 13.89 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1958, allocations: 4 kB / 0.649 GB, free: 13.89 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.533e-05/0.1959, allocations: 19.94 kB / 0.6491 GB, free: 13.87 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1959, allocations: 0 / 0.6491 GB, free: 13.87 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.1959, allocations: 8 kB / 0.6491 GB, free: 13.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1959, allocations: 4.062 kB / 0.6491 GB, free: 13.86 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1959, allocations: 0 / 0.6491 GB, free: 13.86 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.197, allocations: 1.225 MB / 0.6503 GB, free: 12.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.925e-05/0.1971, allocations: 77.11 kB / 0.6503 GB, free: 12.41 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.01e-05/0.1971, allocations: 8 kB / 0.6504 GB, free: 12.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.1973, allocations: 11.92 kB / 0.6504 GB, free: 12.39 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.359e-05/0.1973, allocations: 4 kB / 0.6504 GB, free: 12.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.1973, allocations: 4 kB / 0.6504 GB, free: 12.38 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.975e-05/0.1974, allocations: 83.28 kB / 0.6505 GB, free: 12.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1974, allocations: 0 / 0.6505 GB, free: 12.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003587/0.1977, allocations: 12 kB / 0.6505 GB, free: 12.29 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0001657/0.1979, allocations: 111.2 kB / 0.6506 GB, free: 12.16 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000121/0.198, allocations: 47.98 kB / 0.6506 GB, free: 12.12 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.198, allocations: 3.938 kB / 0.6506 GB, free: 12.11 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.869e-05/0.1981, allocations: 19.94 kB / 0.6506 GB, free: 12.09 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004506/0.1985, allocations: 10.61 kB / 0.6506 GB, free: 12.09 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007374/0.1993, allocations: 478.3 kB / 0.6511 GB, free: 11.57 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.1996, allocations: 0.6887 MB / 0.6518 GB, free: 10.86 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.973e-05/0.1996, allocations: 7.984 kB / 0.6518 GB, free: 10.85 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.497e-05/0.1997, allocations: 15.44 kB / 0.6518 GB, free: 10.83 MB / 458.7 MB Notification: Performance of SimCode: time 2.71e-07/0.1997, allocations: 0 / 0.6518 GB, free: 10.83 MB / 458.7 MB Notification: Performance of Templates: time 0.002856/0.2025, allocations: 0.6542 MB / 0.6524 GB, free: 10.19 MB / 458.7 MB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)