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.001845/0.001845, allocations: 107.8 kB / 20.48 MB, free: 1.125 MB / 14.72 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.00246/0.00246, allocations: 212.9 kB / 23.78 MB, free: 4.328 MB / 14.72 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 1.466/1.466, allocations: 230.5 MB / 257.4 MB, free: 7.727 MB / 206.1 MB " [Timeout remaining time 178] 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.223/0.223, allocations: 46.95 MB / 360.9 MB, free: 3.918 MB / 286.1 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 0.00367/0.00367, allocations: 79.88 kB / 0.4963 GB, free: 7.492 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3649, allocations: 66.08 MB / 0.5608 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1668/0.5316, allocations: 132 MB / 0.6897 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006183/0.5378, allocations: 4.758 MB / 0.6943 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.5379, allocations: 4 kB / 0.6943 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003127/0.5382, allocations: 51.61 kB / 0.6944 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003449/0.5417, allocations: 1.331 MB / 0.6957 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003475/0.542, allocations: 149.3 kB / 0.6958 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000617/0.5426, allocations: 402.1 kB / 0.6962 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.221e-05/0.5427, allocations: 9.797 kB / 0.6962 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003054/0.543, allocations: 179.3 kB / 0.6964 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003436/0.5433, allocations: 167.5 kB / 0.6965 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.84e-05/0.5434, allocations: 8 kB / 0.6966 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002051/0.5454, allocations: 0.9671 MB / 0.6975 GB, free: 7.492 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.964e-05/0.5455, allocations: 47.77 kB / 0.6975 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.5457, allocations: 91.64 kB / 0.6976 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001472/0.5471, allocations: 0.8532 MB / 0.6985 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.5471, allocations: 0 / 0.6985 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5471, allocations: 0 / 0.6985 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.5471, allocations: 0 / 0.6985 GB, free: 6.5 MB / 0.5294 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.001358/0.5485, allocations: 0.6255 MB / 0.6991 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.5485, allocations: 8.031 kB / 0.6991 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.069e-05/0.5486, allocations: 58.73 kB / 0.6991 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007964/0.5566, allocations: 0.6405 MB / 0.6998 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005456/0.5571, allocations: 205.4 kB / 0.7 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002044/0.5573, allocations: 234.1 kB / 0.7002 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.108e-05/0.5574, allocations: 24 kB / 0.7002 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.5588, allocations: 0.7421 MB / 0.7009 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.5588, allocations: 7.938 kB / 0.7009 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.069e-05/0.5588, allocations: 8 kB / 0.7009 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.205e-05/0.5589, allocations: 8 kB / 0.701 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001472/0.5603, allocations: 0.6221 MB / 0.7016 GB, free: 3.133 MB / 0.5294 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.002221/0.5626, allocations: 1.439 MB / 0.703 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000375/0.5629, allocations: 150.5 kB / 0.7031 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.5631, allocations: 68.88 kB / 0.7032 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001124/0.5642, allocations: 475 kB / 0.7036 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.5642, allocations: 34.56 kB / 0.7037 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 1.944e-06/0.5642, allocations: 0 / 0.7037 GB, free: 0.8477 MB / 0.5294 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.0009945/0.5652, allocations: 336.2 kB / 0.704 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.5653, allocations: 51.41 kB / 0.704 GB, free: 464 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.5655, allocations: 210.4 kB / 0.7042 GB, free: 244 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/0.5655, allocations: 25.7 kB / 0.7043 GB, free: 212 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.5656, allocations: 191.8 kB / 0.7044 GB, free: 16 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.678e-05/0.5657, allocations: 75.36 kB / 0.7045 GB, free: 15.94 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.5658, allocations: 94.02 kB / 0.7046 GB, free: 15.84 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.566, allocations: 326.8 kB / 0.7049 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.5661, allocations: 64.72 kB / 0.705 GB, free: 15.45 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003042/0.5664, allocations: 264 kB / 0.7052 GB, free: 15.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005159/0.5669, allocations: 370.2 kB / 0.7056 GB, free: 14.64 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.567, allocations: 8 kB / 0.7056 GB, free: 14.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000647/0.5676, allocations: 364.5 kB / 0.7059 GB, free: 14.28 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.5676, allocations: 8 kB / 0.7059 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/0.5676, allocations: 11.98 kB / 0.706 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.5677, allocations: 8 kB / 0.706 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000409/0.5681, allocations: 127.8 kB / 0.7061 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004326/0.5685, allocations: 0.6058 MB / 0.7067 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/0.5687, allocations: 51.83 kB / 0.7067 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-05/0.5688, allocations: 40 kB / 0.7068 GB, free: 13.41 MB / 0.545 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 (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 0.0001643/0.569, allocations: 147 kB / 0.7069 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.291e-05/0.569, allocations: 19.84 kB / 0.7069 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008904/0.5699, allocations: 463.2 kB / 0.7074 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.5699, allocations: 0 / 0.7074 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.5699, allocations: 0 / 0.7074 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.5699, allocations: 4 kB / 0.7074 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009215/0.5709, allocations: 0.524 MB / 0.7079 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.5709, allocations: 0 / 0.7079 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000221/0.5711, allocations: 59.91 kB / 0.7079 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.5711, allocations: 4 kB / 0.7079 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.5711, allocations: 12 kB / 0.708 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003801/0.5715, allocations: 0.5938 MB / 0.7085 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.5715, allocations: 0 / 0.7085 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004083/0.5719, allocations: 310.5 kB / 0.7088 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.556e-05/0.572, allocations: 31.77 kB / 0.7089 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.213e-05/0.572, allocations: 11.94 kB / 0.7089 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002323/0.5723, allocations: 7.984 kB / 0.7089 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.287e-05/0.5723, allocations: 23.91 kB / 0.7089 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.123e-05/0.5723, allocations: 19.94 kB / 0.7089 GB, free: 11.03 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001377/0.5725, allocations: 143.4 kB / 0.7091 GB, free: 10.89 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5725, allocations: 0 / 0.7091 GB, free: 10.89 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006488/0.5731, allocations: 167.6 kB / 0.7092 GB, free: 10.73 MB / 0.545 GB 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.001103/0.5742, allocations: 0.9984 MB / 0.7102 GB, free: 9.68 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005339/0.5748, allocations: 221.3 kB / 0.7104 GB, free: 9.465 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.5748, allocations: 0 / 0.7104 GB, free: 9.465 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.575, allocations: 84.33 kB / 0.7105 GB, free: 9.383 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005475/0.5755, allocations: 60.22 kB / 0.7105 GB, free: 9.324 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004127/0.5796, allocations: 3.071 MB / 0.7135 GB, free: 5.945 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.5797, allocations: 108.5 kB / 0.7136 GB, free: 5.816 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006832/0.5804, allocations: 382.1 kB / 0.714 GB, free: 5.445 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/0.5806, allocations: 91.31 kB / 0.7141 GB, free: 5.355 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.5806, allocations: 0 / 0.7141 GB, free: 5.355 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03697/0.6176, allocations: 8.747 MB / 0.7226 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.3, allocations: 7.938 kB / 0.7226 GB, free: 12.75 MB / 0.5606 GB " [Timeout remaining time 647] (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: 16.492060508113354] 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'] 13.421633382793516 13.676268654 12.884865153 Calling exit ...