Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.CO2,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_trunk_ModelicaTest.Media.TestAllProperties.CO2") translateModel(ModelicaTest.Media.TestAllProperties.CO2,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_trunk_ModelicaTest.Media.TestAllProperties.CO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001502/0.001502, allocations: 197.2 kB / 18.11 MB, free: 3.742 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 226.5 MB / 245.4 MB, free: 8.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007667/0.0007667, allocations: 97.91 kB / 297.5 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4012/0.4012, allocations: 44.81 MB / 394.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002902/0.0002903, allocations: 12 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3632, allocations: 62.95 MB / 0.5184 GB, free: 37.49 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.169/1.532, allocations: 0.4912 GB / 1.01 GB, free: 115.5 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/1.532, allocations: 83.94 kB / 1.01 GB, free: 115.4 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.1053/1.638, allocations: 48.22 MB / 1.057 GB, free: 66.95 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.045e-06/1.638, allocations: 0 / 1.057 GB, free: 66.95 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.717e-05/1.638, allocations: 0 / 1.057 GB, free: 66.95 MB / 0.5417 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.001665/1.639, allocations: 0.6634 MB / 1.057 GB, free: 66.23 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/1.64, allocations: 8.031 kB / 1.057 GB, free: 66.23 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006685/1.646, allocations: 0.6131 MB / 1.058 GB, free: 65.61 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005191/1.647, allocations: 256 kB / 1.058 GB, free: 65.32 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/1.647, allocations: 127.9 kB / 1.058 GB, free: 65.18 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/1.647, allocations: 24.38 kB / 1.058 GB, free: 65.15 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/1.648, allocations: 0.5522 MB / 1.059 GB, free: 64.57 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/1.648, allocations: 3.938 kB / 1.059 GB, free: 64.56 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/1.648, allocations: 12 kB / 1.059 GB, free: 64.55 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.546e-05/1.648, allocations: 8 kB / 1.059 GB, free: 64.54 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/1.65, allocations: 0.6104 MB / 1.06 GB, free: 63.93 MB / 0.5417 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001954/1.652, allocations: 1.706 MB / 1.061 GB, free: 62.08 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003023/1.652, allocations: 154.5 kB / 1.061 GB, free: 61.92 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/1.652, allocations: 69 kB / 1.061 GB, free: 61.85 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001302/1.653, allocations: 1.491 MB / 1.063 GB, free: 60.09 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/1.653, allocations: 42.48 kB / 1.063 GB, free: 60.04 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=19): time 2.765e-06/1.653, allocations: 0 / 1.063 GB, free: 60.04 MB / 0.5417 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.00092/1.654, allocations: 327.3 kB / 1.063 GB, free: 59.72 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/1.654, allocations: 59.41 kB / 1.063 GB, free: 59.65 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/1.654, allocations: 175.1 kB / 1.063 GB, free: 59.46 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/1.655, allocations: 33.7 kB / 1.064 GB, free: 59.43 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.371e-05/1.655, allocations: 191.2 kB / 1.064 GB, free: 59.23 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/1.655, allocations: 59.11 kB / 1.064 GB, free: 59.18 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.763e-05/1.655, allocations: 8 kB / 1.064 GB, free: 59.17 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.417e-05/1.655, allocations: 326.8 kB / 1.064 GB, free: 58.84 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/1.655, allocations: 68.7 kB / 1.064 GB, free: 58.77 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/1.655, allocations: 260 kB / 1.064 GB, free: 58.42 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003697/1.655, allocations: 368.3 kB / 1.065 GB, free: 57.97 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/1.655, allocations: 7.938 kB / 1.065 GB, free: 57.96 MB / 0.5417 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005544/1.656, allocations: 373.5 kB / 1.065 GB, free: 57.59 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/1.656, allocations: 8 kB / 1.065 GB, free: 57.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/1.656, allocations: 4 kB / 1.065 GB, free: 57.58 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/1.656, allocations: 16 kB / 1.065 GB, free: 57.56 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003991/1.656, allocations: 123.8 kB / 1.065 GB, free: 57.44 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002861/1.657, allocations: 0.5977 MB / 1.066 GB, free: 56.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000261/1.657, allocations: 47.53 kB / 1.066 GB, free: 56.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.474e-05/1.657, allocations: 39.98 kB / 1.066 GB, free: 56.73 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000135/1.657, allocations: 153.7 kB / 1.066 GB, free: 56.57 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.641e-05/1.657, allocations: 15.81 kB / 1.066 GB, free: 56.56 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008658/1.658, allocations: 463 kB / 1.067 GB, free: 56.09 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/1.658, allocations: 7.984 kB / 1.067 GB, free: 56.08 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/1.658, allocations: 0 / 1.067 GB, free: 56.08 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/1.658, allocations: 0 / 1.067 GB, free: 56.08 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008854/1.659, allocations: 0.7507 MB / 1.067 GB, free: 55.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/1.659, allocations: 7.938 kB / 1.067 GB, free: 55.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/1.659, allocations: 63.95 kB / 1.067 GB, free: 55.14 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/1.659, allocations: 4 kB / 1.067 GB, free: 55.13 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/1.659, allocations: 12 kB / 1.067 GB, free: 55.12 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002091/1.66, allocations: 0.6019 MB / 1.068 GB, free: 54.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/1.66, allocations: 0 / 1.068 GB, free: 54.5 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003179/1.66, allocations: 316.9 kB / 1.068 GB, free: 54.14 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/1.66, allocations: 116.8 kB / 1.068 GB, free: 54.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.925e-05/1.66, allocations: 8 kB / 1.068 GB, free: 54 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/1.66, allocations: 8 kB / 1.068 GB, free: 54 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/1.66, allocations: 31.84 kB / 1.068 GB, free: 53.96 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.381e-05/1.66, allocations: 24 kB / 1.068 GB, free: 53.94 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 8.908e-05/1.661, allocations: 128.1 kB / 1.069 GB, free: 53.82 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/1.661, allocations: 0 / 1.069 GB, free: 53.82 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0009731/1.662, allocations: 215.8 kB / 1.069 GB, free: 53.61 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00132/1.663, allocations: 0.6756 MB / 1.069 GB, free: 52.93 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005031/1.663, allocations: 226.1 kB / 1.07 GB, free: 52.71 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/1.663, allocations: 0 / 1.07 GB, free: 52.71 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001895/1.664, allocations: 89.33 kB / 1.07 GB, free: 52.62 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005621/1.664, allocations: 67.53 kB / 1.07 GB, free: 52.57 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03768/1.702, allocations: 19.32 MB / 1.089 GB, free: 33.08 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002053/1.702, allocations: 0.7248 MB / 1.089 GB, free: 32.33 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0008928/1.703, allocations: 420.2 kB / 1.09 GB, free: 31.93 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/1.703, allocations: 63.39 kB / 1.09 GB, free: 31.86 MB / 0.5417 GB Notification: Performance of SimCode: time 9.31e-07/1.703, allocations: 0 / 1.09 GB, free: 31.86 MB / 0.5417 GB Notification: Performance of Templates: time 0.01593/1.719, allocations: 11.59 MB / 1.101 GB, free: 20.29 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1)