Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002239/0.002239, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.042/2.042, allocations: 205.2 MB / 219.4 MB, free: 14.22 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002377/0.002377, allocations: 78.73 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2816/0.2816, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.232e-05/4.245e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1235, allocations: 58.86 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.092/1.216, allocations: 299.7 MB / 0.7655 GB, free: 123.6 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/1.216, allocations: 80.28 kB / 0.7656 GB, free: 123.6 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.0716/1.288, allocations: 20.16 MB / 0.7853 GB, free: 107 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.394e-06/1.288, allocations: 0 / 0.7853 GB, free: 107 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.394e-05/1.288, allocations: 3.938 kB / 0.7853 GB, free: 107 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001112/1.289, allocations: 0.5531 MB / 0.7858 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/1.289, allocations: 8.031 kB / 0.7858 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002041/1.289, allocations: 27.8 kB / 0.7859 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/1.289, allocations: 241.1 kB / 0.7861 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/1.289, allocations: 122.5 kB / 0.7862 GB, free: 106 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.78e-05/1.29, allocations: 15.94 kB / 0.7862 GB, free: 106 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005831/1.29, allocations: 322.5 kB / 0.7865 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/1.29, allocations: 0 / 0.7865 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.143e-05/1.29, allocations: 15.67 kB / 0.7865 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3e-05/1.29, allocations: 4 kB / 0.7865 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/1.291, allocations: 0.7254 MB / 0.7873 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001615/1.293, allocations: 1.171 MB / 0.7884 GB, free: 104 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004351/1.293, allocations: 159.3 kB / 0.7885 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/1.294, allocations: 71.41 kB / 0.7886 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002717/1.296, allocations: 2.866 MB / 0.7914 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/1.296, allocations: 45.62 kB / 0.7915 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 2.625e-06/1.296, allocations: 0 / 0.7915 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0008532/1.297, allocations: 201.5 kB / 0.7917 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/1.297, allocations: 55.36 kB / 0.7917 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/1.298, allocations: 194.2 kB / 0.7919 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/1.298, allocations: 36.58 kB / 0.7919 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/1.298, allocations: 274 kB / 0.7922 GB, free: 99.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.506e-05/1.298, allocations: 52.7 kB / 0.7922 GB, free: 99.76 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.003e-05/1.298, allocations: 14.06 kB / 0.7922 GB, free: 99.75 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.484e-05/1.298, allocations: 329.2 kB / 0.7926 GB, free: 99.43 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/1.298, allocations: 42.44 kB / 0.7926 GB, free: 99.39 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002334/1.298, allocations: 309.9 kB / 0.7929 GB, free: 98.99 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/1.298, allocations: 97.02 kB / 0.793 GB, free: 98.91 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/1.298, allocations: 4 kB / 0.793 GB, free: 98.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007439/1.299, allocations: 357.8 kB / 0.7933 GB, free: 98.59 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/1.299, allocations: 16.86 kB / 0.7934 GB, free: 98.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/1.299, allocations: 12 kB / 0.7934 GB, free: 98.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.145e-05/1.299, allocations: 12 kB / 0.7934 GB, free: 98.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006927/1.3, allocations: 114.6 kB / 0.7935 GB, free: 98.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.158e-05/1.3, allocations: 15.94 kB / 0.7935 GB, free: 98.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003991/1.3, allocations: 26.89 kB / 0.7935 GB, free: 98.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.78e-05/1.301, allocations: 31.92 kB / 0.7936 GB, free: 98.38 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * 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.0001152/1.301, allocations: 130.5 kB / 0.7937 GB, free: 98.26 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.082e-05/1.301, allocations: 19.81 kB / 0.7937 GB, free: 98.24 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005675/1.301, allocations: 188.2 kB / 0.7939 GB, free: 98.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/1.301, allocations: 0 / 0.7939 GB, free: 98.07 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/1.301, allocations: 4.125 kB / 0.7939 GB, free: 98.07 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/1.301, allocations: 7.984 kB / 0.7939 GB, free: 98.06 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007/1.302, allocations: 457.4 kB / 0.7943 GB, free: 97.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/1.302, allocations: 0 / 0.7943 GB, free: 97.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003393/1.302, allocations: 43.97 kB / 0.7944 GB, free: 97.56 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/1.302, allocations: 0 / 0.7944 GB, free: 97.56 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/1.303, allocations: 7.5 kB / 0.7944 GB, free: 97.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/1.303, allocations: 3.953 kB / 0.7944 GB, free: 97.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/1.303, allocations: 0 / 0.7944 GB, free: 97.55 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002852/1.303, allocations: 247 kB / 0.7946 GB, free: 97.29 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/1.303, allocations: 119.7 kB / 0.7947 GB, free: 97.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.707e-05/1.303, allocations: 1.438 kB / 0.7947 GB, free: 97.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000311/1.303, allocations: 9.562 kB / 0.7947 GB, free: 97.16 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/1.303, allocations: 13.67 kB / 0.7948 GB, free: 97.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.971e-05/1.303, allocations: 9.922 kB / 0.7948 GB, free: 97.14 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001352/1.304, allocations: 142.9 kB / 0.7949 GB, free: 97.02 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.61e-07/1.304, allocations: 4 kB / 0.7949 GB, free: 97.01 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000677/1.304, allocations: 101.8 kB / 0.795 GB, free: 96.92 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003172/1.305, allocations: 185.6 kB / 0.7952 GB, free: 96.73 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004305/1.305, allocations: 182.6 kB / 0.7953 GB, free: 96.58 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.305, allocations: 2 kB / 0.7954 GB, free: 96.58 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.81e-05/1.305, allocations: 37.81 kB / 0.7954 GB, free: 96.55 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005826/1.306, allocations: 53.38 kB / 0.7954 GB, free: 96.51 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01733/1.323, allocations: 5.495 MB / 0.8008 GB, free: 92.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001885/1.323, allocations: 0.7376 MB / 0.8015 GB, free: 91.44 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/1.323, allocations: 31.42 kB / 0.8016 GB, free: 91.41 MB / 0.4948 GB Notification: Performance of SimCode: time 1.633e-06/1.323, allocations: 0 / 0.8016 GB, free: 91.41 MB / 0.4948 GB Notification: Performance of Templates: time 0.007964/1.331, allocations: 3.616 MB / 0.8051 GB, free: 87.8 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1)