Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001866/0.001866, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.002033/0.002033, allocations: 204.2 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.431/1.431, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2253/0.2253, allocations: 46.96 MB / 360.9 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 67.91 kB / 0.4961 GB, free: 7.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3226, allocations: 66.04 MB / 0.5606 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1687/0.4913, allocations: 132 MB / 0.6895 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006133/0.4974, allocations: 4.765 MB / 0.6942 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001499/0.4976, allocations: 0 / 0.6942 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003091/0.4979, allocations: 43.69 kB / 0.6942 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003566/0.5014, allocations: 1.342 MB / 0.6955 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003452/0.5018, allocations: 143.5 kB / 0.6957 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006024/0.5024, allocations: 402.1 kB / 0.6961 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.506e-05/0.5024, allocations: 13.8 kB / 0.6961 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002781/0.5027, allocations: 183.3 kB / 0.6962 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002953/0.503, allocations: 179.4 kB / 0.6964 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.268e-05/0.503, allocations: 8 kB / 0.6964 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001926/0.505, allocations: 0.9866 MB / 0.6974 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.943e-05/0.505, allocations: 39.88 kB / 0.6974 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.5052, allocations: 103.6 kB / 0.6975 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.5065, allocations: 0.8493 MB / 0.6984 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.5065, allocations: 3.938 kB / 0.6984 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5065, allocations: 0 / 0.6984 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.5065, allocations: 0 / 0.6984 GB, free: 6.641 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.001221/0.5077, allocations: 0.6138 MB / 0.699 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.5077, allocations: 8.031 kB / 0.699 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.007e-05/0.5078, allocations: 70.7 kB / 0.699 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007169/0.515, allocations: 0.6053 MB / 0.6996 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005505/0.5155, allocations: 213.4 kB / 0.6998 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001827/0.5157, allocations: 222.1 kB / 0.7 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-05/0.5158, allocations: 24 kB / 0.7001 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.5171, allocations: 0.7422 MB / 0.7008 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.5171, allocations: 3.938 kB / 0.7008 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-05/0.5172, allocations: 12 kB / 0.7008 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.13e-05/0.5172, allocations: 8 kB / 0.7008 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/0.5186, allocations: 0.6221 MB / 0.7014 GB, free: 3.312 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.002134/0.5207, allocations: 1.432 MB / 0.7028 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003384/0.5211, allocations: 146.5 kB / 0.703 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.5212, allocations: 76.86 kB / 0.703 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001049/0.5222, allocations: 479 kB / 0.7035 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.5223, allocations: 38.56 kB / 0.7035 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 1.563e-06/0.5223, allocations: 3.938 kB / 0.7035 GB, free: 1.02 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.000942/0.5232, allocations: 323.9 kB / 0.7038 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.5233, allocations: 59.34 kB / 0.7039 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.5235, allocations: 203 kB / 0.7041 GB, free: 432 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/0.5235, allocations: 29.7 kB / 0.7041 GB, free: 396 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.5236, allocations: 187.8 kB / 0.7043 GB, free: 204 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.865e-05/0.5237, allocations: 75.38 kB / 0.7044 GB, free: 128 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.5238, allocations: 94 kB / 0.7045 GB, free: 28 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.524, allocations: 326.8 kB / 0.7048 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.5241, allocations: 68.7 kB / 0.7048 GB, free: 15.63 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002998/0.5244, allocations: 264 kB / 0.7051 GB, free: 15.28 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004902/0.5249, allocations: 358.2 kB / 0.7054 GB, free: 14.84 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.5249, allocations: 4 kB / 0.7054 GB, free: 14.83 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006485/0.5256, allocations: 380.7 kB / 0.7058 GB, free: 14.46 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.5256, allocations: 8 kB / 0.7058 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.5256, allocations: 8 kB / 0.7058 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.539e-05/0.5256, allocations: 11.98 kB / 0.7058 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004078/0.526, allocations: 123.8 kB / 0.7059 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004502/0.5265, allocations: 0.6132 MB / 0.7065 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.5267, allocations: 35.73 kB / 0.7066 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.336e-05/0.5268, allocations: 43.98 kB / 0.7066 GB, free: 13.59 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.0001929/0.527, allocations: 145.8 kB / 0.7068 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.078e-05/0.527, allocations: 23.84 kB / 0.7068 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009163/0.5279, allocations: 455.3 kB / 0.7072 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.5279, allocations: 7.938 kB / 0.7072 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.528, allocations: 0 / 0.7072 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.528, allocations: 0 / 0.7072 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009354/0.5289, allocations: 0.5278 MB / 0.7077 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.5289, allocations: 4.25 kB / 0.7077 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002115/0.5291, allocations: 59.95 kB / 0.7078 GB, free: 12.28 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.5291, allocations: 7.938 kB / 0.7078 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.5291, allocations: 8 kB / 0.7078 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003976/0.5295, allocations: 0.5899 MB / 0.7084 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.5295, allocations: 8.016 kB / 0.7084 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004013/0.5299, allocations: 306.2 kB / 0.7087 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.084e-05/0.53, allocations: 35.81 kB / 0.7087 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.365e-05/0.5301, allocations: 12.03 kB / 0.7087 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/0.5303, allocations: 15.98 kB / 0.7087 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.985e-05/0.5303, allocations: 15.92 kB / 0.7088 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.362e-05/0.5304, allocations: 19.98 kB / 0.7088 GB, free: 11.21 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001279/0.5305, allocations: 143.4 kB / 0.7089 GB, free: 11.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.5305, allocations: 0 / 0.7089 GB, free: 11.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000661/0.5312, allocations: 171.6 kB / 0.7091 GB, free: 10.9 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.5323, allocations: 0.9818 MB / 0.71 GB, free: 9.867 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005224/0.5328, allocations: 227.2 kB / 0.7103 GB, free: 9.648 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.5328, allocations: 0 / 0.7103 GB, free: 9.648 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.533, allocations: 81.33 kB / 0.7103 GB, free: 9.57 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005489/0.5335, allocations: 72.11 kB / 0.7104 GB, free: 9.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003953/0.5375, allocations: 3.054 MB / 0.7134 GB, free: 6.141 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.5376, allocations: 116.5 kB / 0.7135 GB, free: 6.004 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006609/0.5383, allocations: 378.1 kB / 0.7139 GB, free: 5.637 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001911/0.5385, allocations: 87.38 kB / 0.7139 GB, free: 5.551 MB / 0.545 GB Notification: Performance of SimCode: time 5.41e-07/0.5385, allocations: 0 / 0.7139 GB, free: 5.551 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03519/0.5736, allocations: 8.752 MB / 0.7225 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/12.99, allocations: 0 / 0.7225 GB, free: 12.98 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.20239978900645] 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.107023210002808 13.365434085 12.620965418 Calling exit ...