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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009643/0.0009643, allocations: 92.31 kB / 20.95 MB, free: 3.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008731/0.0008731, allocations: 160.9 kB / 24.26 MB, free: 292 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8615/0.8615, allocations: 177 MB / 204.5 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2366/0.2366, allocations: 34.25 MB / 295.2 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 376.7 MB, free: 3.418 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.243e-05/1.398e-05, allocations: 2.312 kB / 376.7 MB, free: 3.414 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.2696/0.2696, allocations: 132 MB / 0.4968 GB, free: 24.39 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00389/0.2735, allocations: 4.752 MB / 0.5015 GB, free: 21.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000164/0.2736, allocations: 1.062 kB / 0.5015 GB, free: 21.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003642/0.274, allocations: 62.33 kB / 0.5015 GB, free: 21.19 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003442/0.2774, allocations: 1.354 MB / 0.5029 GB, free: 20.46 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.2777, allocations: 143.7 kB / 0.503 GB, free: 20.39 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005401/0.2783, allocations: 410.9 kB / 0.5034 GB, free: 20.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.042e-05/0.2783, allocations: 8.688 kB / 0.5034 GB, free: 20.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003423/0.2787, allocations: 222 kB / 0.5036 GB, free: 20.12 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000289/0.279, allocations: 161.1 kB / 0.5038 GB, free: 20.08 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.389e-05/0.279, allocations: 12.22 kB / 0.5038 GB, free: 20.08 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001935/0.2809, allocations: 0.9694 MB / 0.5047 GB, free: 19.78 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.053e-05/0.281, allocations: 46.69 kB / 0.5048 GB, free: 19.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.2811, allocations: 85.89 kB / 0.5048 GB, free: 19.73 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00154/0.2826, allocations: 0.9581 MB / 0.5058 GB, free: 19.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2826, allocations: 0 / 0.5058 GB, free: 19.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2826, allocations: 0 / 0.5058 GB, free: 19.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.2827, allocations: 0 / 0.5058 GB, free: 19.42 MB / 410.7 MB 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.001194/0.2838, allocations: 0.6181 MB / 0.5064 GB, free: 18.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.2839, allocations: 10.67 kB / 0.5064 GB, free: 18.98 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.622e-05/0.284, allocations: 64.3 kB / 0.5065 GB, free: 18.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004154/0.2881, allocations: 0.7203 MB / 0.5072 GB, free: 18.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003955/0.2885, allocations: 203.5 kB / 0.5074 GB, free: 18.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.725e-05/0.2886, allocations: 230.4 kB / 0.5076 GB, free: 18.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.486e-05/0.2887, allocations: 21.75 kB / 0.5076 GB, free: 18.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008164/0.2895, allocations: 0.7394 MB / 0.5083 GB, free: 17.92 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.2895, allocations: 5.312 kB / 0.5083 GB, free: 17.92 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.688e-05/0.2896, allocations: 10.75 kB / 0.5083 GB, free: 17.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.753e-05/0.2896, allocations: 9.875 kB / 0.5083 GB, free: 17.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008753/0.2905, allocations: 0.5876 MB / 0.5089 GB, free: 17.77 MB / 410.7 MB 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.001331/0.2918, allocations: 1.441 MB / 0.5103 GB, free: 16.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000236/0.292, allocations: 147 kB / 0.5105 GB, free: 16.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.132e-05/0.2921, allocations: 75.27 kB / 0.5105 GB, free: 16.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006388/0.2927, allocations: 487.2 kB / 0.511 GB, free: 16.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.2928, allocations: 37.78 kB / 0.511 GB, free: 16.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.663e-06/0.2928, allocations: 0 / 0.511 GB, free: 16.2 MB / 410.7 MB 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.0006663/0.2934, allocations: 336 kB / 0.5114 GB, free: 16.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/0.2935, allocations: 56.45 kB / 0.5114 GB, free: 16.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.2936, allocations: 199.3 kB / 0.5116 GB, free: 15.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.2936, allocations: 32.58 kB / 0.5116 GB, free: 15.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.997e-05/0.2936, allocations: 187.1 kB / 0.5118 GB, free: 15.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.2937, allocations: 76.92 kB / 0.5119 GB, free: 15.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.217e-05/0.2938, allocations: 94.42 kB / 0.512 GB, free: 15.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.943e-05/0.2938, allocations: 330.1 kB / 0.5123 GB, free: 15.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.702e-05/0.2939, allocations: 68.17 kB / 0.5123 GB, free: 15.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.294, allocations: 252.6 kB / 0.5126 GB, free: 14.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002584/0.2943, allocations: 368.2 kB / 0.5129 GB, free: 14.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.2943, allocations: 7.125 kB / 0.5129 GB, free: 14.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004036/0.2947, allocations: 384.3 kB / 0.5133 GB, free: 14.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.2947, allocations: 7.594 kB / 0.5133 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.016e-06/0.2947, allocations: 5.812 kB / 0.5133 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.2947, allocations: 14.41 kB / 0.5133 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/0.295, allocations: 128.2 kB / 0.5135 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001973/0.2952, allocations: 0.6055 MB / 0.5141 GB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.2953, allocations: 47.61 kB / 0.5141 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.905e-05/0.2954, allocations: 41.41 kB / 0.5141 GB, free: 13.81 MB / 410.7 MB 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.79e-05/0.2955, allocations: 140.4 kB / 0.5143 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.693e-05/0.2955, allocations: 31.48 kB / 0.5143 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005036/0.296, allocations: 461.5 kB / 0.5147 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.296, allocations: 0 / 0.5147 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.296, allocations: 6.375 kB / 0.5147 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.296, allocations: 0 / 0.5147 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004725/0.2965, allocations: 0.5216 MB / 0.5153 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2965, allocations: 2.531 kB / 0.5153 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.2966, allocations: 64.2 kB / 0.5153 GB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.2966, allocations: 2.906 kB / 0.5153 GB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.2966, allocations: 9.531 kB / 0.5153 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001258/0.2967, allocations: 0.5978 MB / 0.5159 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.2967, allocations: 6.781 kB / 0.5159 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001964/0.2969, allocations: 302.6 kB / 0.5162 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.969e-05/0.297, allocations: 33.42 kB / 0.5162 GB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.297, allocations: 5.188 kB / 0.5162 GB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.2971, allocations: 20.94 kB / 0.5163 GB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.2972, allocations: 22.67 kB / 0.5163 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.2972, allocations: 17.36 kB / 0.5163 GB, free: 12.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.334e-05/0.2973, allocations: 131.6 kB / 0.5164 GB, free: 12.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2973, allocations: 0 / 0.5164 GB, free: 12.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006176/0.2979, allocations: 174.8 kB / 0.5166 GB, free: 12.08 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006416/0.2985, allocations: 1.011 MB / 0.5176 GB, free: 11.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003148/0.2988, allocations: 219 kB / 0.5178 GB, free: 11.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.2988, allocations: 2.75 kB / 0.5178 GB, free: 11.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.213e-05/0.2989, allocations: 78.12 kB / 0.5179 GB, free: 11.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.2993, allocations: 69.41 kB / 0.5179 GB, free: 11.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/0.3014, allocations: 3.028 MB / 0.5209 GB, free: 8.781 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.641e-05/0.3015, allocations: 115.9 kB / 0.521 GB, free: 8.703 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003911/0.3019, allocations: 381.7 kB / 0.5214 GB, free: 8.645 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.302, allocations: 92.42 kB / 0.5215 GB, free: 8.602 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.302, allocations: 0 / 0.5215 GB, free: 8.602 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0215/0.3235, allocations: 8.874 MB / 0.5301 GB, free: 5.73 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.824/8.148, allocations: 10.56 kB / 0.5301 GB, free: 5.727 MB / 410.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.9988e-05 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.01275782007724] Failed to read output from testmodel.py, exit status != 0: ['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'] 8.236663681454957 8.246638898 7.96076869 Calling exit ...