Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 80.53 kB / 19.92 MB, free: 4.637 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 169.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9179/0.9179, allocations: 158.6 MB / 185 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1421/0.1421, allocations: 32.37 MB / 269.6 MB, free: 14.98 MB / 266.7 MB " [Timeout remaining time 180] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 406.9 MB, free: 2.207 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.333e-05/2.569e-05, allocations: 6.078 kB / 406.9 MB, free: 2.203 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3408/0.3408, allocations: 130.2 MB / 0.5245 GB, free: 23.85 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004047/0.3449, allocations: 4.233 MB / 0.5287 GB, free: 21.07 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.345, allocations: 1.031 kB / 0.5287 GB, free: 21.07 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003267/0.3453, allocations: 55.22 kB / 0.5287 GB, free: 21.04 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003862/0.3492, allocations: 1.587 MB / 0.5303 GB, free: 20.22 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.3495, allocations: 152.3 kB / 0.5304 GB, free: 20.15 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000524/0.35, allocations: 407.1 kB / 0.5308 GB, free: 19.96 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.54e-05/0.3501, allocations: 7.25 kB / 0.5308 GB, free: 19.96 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000267/0.3503, allocations: 230.8 kB / 0.531 GB, free: 19.88 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002443/0.3506, allocations: 152.6 kB / 0.5312 GB, free: 19.84 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.3506, allocations: 8.844 kB / 0.5312 GB, free: 19.84 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002254/0.3529, allocations: 1.166 MB / 0.5323 GB, free: 19.48 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.129e-05/0.3529, allocations: 48.59 kB / 0.5324 GB, free: 19.46 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 8.489e-05/0.353, allocations: 82.55 kB / 0.5324 GB, free: 19.43 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001727/0.3548, allocations: 1.097 MB / 0.5335 GB, free: 19.07 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3548, allocations: 1.125 kB / 0.5335 GB, free: 19.07 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3548, allocations: 0.9375 kB / 0.5335 GB, free: 19.07 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.3548, allocations: 0 / 0.5335 GB, free: 19.07 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0009195/0.3557, allocations: 0.6426 MB / 0.5341 GB, free: 18.63 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.3557, allocations: 14.44 kB / 0.5342 GB, free: 18.63 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.365e-05/0.3558, allocations: 59.42 kB / 0.5342 GB, free: 18.57 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003519/0.3593, allocations: 0.619 MB / 0.5348 GB, free: 18.51 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000449/0.3597, allocations: 213.6 kB / 0.535 GB, free: 18.34 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.3598, allocations: 227 kB / 0.5352 GB, free: 18.08 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.637e-05/0.3599, allocations: 29.91 kB / 0.5353 GB, free: 18.07 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000791/0.3607, allocations: 0.7386 MB / 0.536 GB, free: 17.61 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.3607, allocations: 0 / 0.536 GB, free: 17.61 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.474e-05/0.3608, allocations: 15.58 kB / 0.536 GB, free: 17.6 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.497e-05/0.3608, allocations: 13.2 kB / 0.536 GB, free: 17.6 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008839/0.3617, allocations: 0.6156 MB / 0.5366 GB, free: 17.45 MB / 442.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.001147/0.3628, allocations: 1.424 MB / 0.538 GB, free: 16.27 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.3631, allocations: 144.5 kB / 0.5381 GB, free: 16.21 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.243e-05/0.3631, allocations: 75.97 kB / 0.5382 GB, free: 16.18 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000882/0.364, allocations: 0.7112 MB / 0.5389 GB, free: 15.87 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.364, allocations: 34.56 kB / 0.5389 GB, free: 15.83 MB / 442.7 MB Notification: Performance of pre-optimization done (n=20): time 1.903e-06/0.364, allocations: 1.969 kB / 0.5389 GB, free: 15.83 MB / 442.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=20): time 0.0006819/0.3647, allocations: 343.8 kB / 0.5393 GB, free: 15.71 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.3647, allocations: 60.88 kB / 0.5393 GB, free: 15.64 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.3649, allocations: 188.3 kB / 0.5395 GB, free: 15.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.3649, allocations: 32.42 kB / 0.5395 GB, free: 15.47 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.502e-05/0.3649, allocations: 181.4 kB / 0.5397 GB, free: 15.3 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.136e-05/0.365, allocations: 77.11 kB / 0.5398 GB, free: 15.24 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.191e-05/0.365, allocations: 84.09 kB / 0.5399 GB, free: 15.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.603e-05/0.3651, allocations: 331 kB / 0.5402 GB, free: 14.88 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.844e-05/0.3651, allocations: 67.5 kB / 0.5402 GB, free: 14.86 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.3653, allocations: 263.1 kB / 0.5405 GB, free: 14.59 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002381/0.3655, allocations: 368.6 kB / 0.5408 GB, free: 14.25 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.3655, allocations: 2.469 kB / 0.5409 GB, free: 14.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003556/0.3659, allocations: 374.3 kB / 0.5412 GB, free: 14.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.3659, allocations: 7.812 kB / 0.5412 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.3659, allocations: 5.531 kB / 0.5412 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.3659, allocations: 10.78 kB / 0.5412 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.3661, allocations: 123.4 kB / 0.5413 GB, free: 14.08 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001868/0.3663, allocations: 0.6071 MB / 0.5419 GB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.3665, allocations: 43.77 kB / 0.542 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.508e-05/0.3665, allocations: 38.33 kB / 0.542 GB, free: 13.46 MB / 442.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.481e-05/0.3666, allocations: 148.3 kB / 0.5422 GB, free: 13.31 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/0.3666, allocations: 20.03 kB / 0.5422 GB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004109/0.367, allocations: 327.3 kB / 0.5425 GB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.367, allocations: 2.906 kB / 0.5425 GB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.367, allocations: 0 / 0.5425 GB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.367, allocations: 7.875 kB / 0.5425 GB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003961/0.3674, allocations: 492.5 kB / 0.543 GB, free: 12.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.3674, allocations: 9.516 kB / 0.543 GB, free: 12.74 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.3676, allocations: 58.14 kB / 0.543 GB, free: 12.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.3676, allocations: 2.375 kB / 0.543 GB, free: 12.73 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.3676, allocations: 9.906 kB / 0.543 GB, free: 12.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001247/0.3677, allocations: 0.5876 MB / 0.5436 GB, free: 12.14 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3677, allocations: 5.938 kB / 0.5436 GB, free: 12.14 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001771/0.3679, allocations: 281.5 kB / 0.5439 GB, free: 11.92 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.54e-05/0.3679, allocations: 37.56 kB / 0.5439 GB, free: 11.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.368, allocations: 13.02 kB / 0.5439 GB, free: 11.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.3681, allocations: 12.52 kB / 0.544 GB, free: 11.89 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.157e-05/0.3681, allocations: 24.06 kB / 0.544 GB, free: 11.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.3681, allocations: 13.17 kB / 0.544 GB, free: 11.88 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.312e-05/0.3682, allocations: 140.8 kB / 0.5441 GB, free: 11.79 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3682, allocations: 2.781 kB / 0.5441 GB, free: 11.79 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006678/0.3689, allocations: 201.5 kB / 0.5443 GB, free: 11.75 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.0009637/0.3698, allocations: 1.066 MB / 0.5454 GB, free: 10.94 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003615/0.3702, allocations: 223.4 kB / 0.5456 GB, free: 10.88 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3702, allocations: 0.5 kB / 0.5456 GB, free: 10.88 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.3703, allocations: 80.84 kB / 0.5457 GB, free: 10.86 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.3707, allocations: 65.53 kB / 0.5457 GB, free: 10.84 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003269/0.3739, allocations: 4.11 MB / 0.5497 GB, free: 7.961 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.448e-05/0.374, allocations: 113.3 kB / 0.5498 GB, free: 7.887 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002733/0.3743, allocations: 99.38 kB / 0.5499 GB, free: 7.836 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.3744, allocations: 77.69 kB / 0.55 GB, free: 7.793 MB / 442.7 MB Notification: Performance of SimCode: time 8.72e-07/0.3744, allocations: 2.781 kB / 0.55 GB, free: 7.793 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02315/0.3976, allocations: 9.817 MB / 0.5596 GB, free: 3.219 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.191/8.588, allocations: 9.594 kB / 0.5596 GB, free: 3.215 MB / 442.7 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.774634804576635] 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.680825021117926 8.691889347 8.334996097 Calling exit ...