Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001347/0.001347, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001428/0.001428, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.436/1.436, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2186/0.2186, allocations: 44.93 MB / 358.8 MB, free: 6.039 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 75.86 kB / 0.4931 GB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3267, allocations: 65.47 MB / 0.557 GB, free: 7.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1573/0.484, allocations: 132 MB / 0.6859 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006033/0.49, allocations: 4.746 MB / 0.6905 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002078/0.4902, allocations: 4 kB / 0.6905 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003412/0.4906, allocations: 55.55 kB / 0.6906 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00391/0.4945, allocations: 1.335 MB / 0.6919 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003619/0.4948, allocations: 139.3 kB / 0.692 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006362/0.4955, allocations: 402.1 kB / 0.6924 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.508e-05/0.4955, allocations: 13.8 kB / 0.6924 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003651/0.4959, allocations: 179.3 kB / 0.6926 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003681/0.4963, allocations: 175.5 kB / 0.6928 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.991e-05/0.4963, allocations: 11.94 kB / 0.6928 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002181/0.4985, allocations: 0.9593 MB / 0.6937 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.668e-05/0.4986, allocations: 47.81 kB / 0.6938 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.4987, allocations: 91.59 kB / 0.6939 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001745/0.5005, allocations: 0.8454 MB / 0.6947 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.5005, allocations: 0 / 0.6947 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5005, allocations: 0 / 0.6947 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.5005, allocations: 0 / 0.6947 GB, free: 9.988 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.001422/0.5019, allocations: 0.6255 MB / 0.6953 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/0.502, allocations: 8.031 kB / 0.6953 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.281e-05/0.502, allocations: 62.73 kB / 0.6954 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007861/0.5099, allocations: 0.6093 MB / 0.696 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000662/0.5106, allocations: 213.2 kB / 0.6962 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002123/0.5108, allocations: 230.1 kB / 0.6964 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.5109, allocations: 20 kB / 0.6964 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.5123, allocations: 0.7422 MB / 0.6971 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.5123, allocations: 0 / 0.6971 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.427e-05/0.5124, allocations: 11.98 kB / 0.6971 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.395e-05/0.5124, allocations: 8 kB / 0.6971 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001468/0.5139, allocations: 0.6182 MB / 0.6977 GB, free: 6.656 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.002378/0.5162, allocations: 1.447 MB / 0.6992 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003697/0.5166, allocations: 146.5 kB / 0.6993 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.5167, allocations: 68.88 kB / 0.6994 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001155/0.5179, allocations: 475 kB / 0.6998 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.5179, allocations: 34.56 kB / 0.6998 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 1.603e-06/0.5179, allocations: 4 kB / 0.6998 GB, free: 4.363 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.0009855/0.5189, allocations: 338.8 kB / 0.7002 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.519, allocations: 51.41 kB / 0.7002 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.5192, allocations: 207 kB / 0.7004 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.641e-05/0.5192, allocations: 29.7 kB / 0.7004 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.5193, allocations: 195.8 kB / 0.7006 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.411e-05/0.5194, allocations: 67.38 kB / 0.7007 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.5195, allocations: 98 kB / 0.7008 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.5197, allocations: 322.8 kB / 0.7011 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.5198, allocations: 68.7 kB / 0.7012 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003046/0.5201, allocations: 264 kB / 0.7014 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005116/0.5206, allocations: 376.1 kB / 0.7018 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.5206, allocations: 0 / 0.7018 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007026/0.5213, allocations: 369 kB / 0.7021 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.5214, allocations: 8 kB / 0.7021 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.5214, allocations: 8 kB / 0.7021 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/0.5214, allocations: 8.75 kB / 0.7022 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004356/0.5218, allocations: 123.8 kB / 0.7023 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004794/0.5223, allocations: 0.6132 MB / 0.7029 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003144/0.5226, allocations: 43.73 kB / 0.7029 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.142e-05/0.5227, allocations: 39.98 kB / 0.7029 GB, free: 0.9258 MB / 0.5294 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.0001786/0.5229, allocations: 145.7 kB / 0.7031 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.896e-05/0.5229, allocations: 19.84 kB / 0.7031 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008707/0.5238, allocations: 465 kB / 0.7035 GB, free: 288 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.5238, allocations: 0 / 0.7035 GB, free: 288 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.5238, allocations: 0 / 0.7035 GB, free: 288 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.5238, allocations: 0 / 0.7035 GB, free: 288 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008668/0.5247, allocations: 0.5278 MB / 0.7041 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.5247, allocations: 0 / 0.7041 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002149/0.5249, allocations: 59.91 kB / 0.7041 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.5249, allocations: 4 kB / 0.7041 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/0.5249, allocations: 15.97 kB / 0.7041 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003422/0.5253, allocations: 0.5979 MB / 0.7047 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.5253, allocations: 8.062 kB / 0.7047 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003935/0.5257, allocations: 306.3 kB / 0.705 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.544e-05/0.5258, allocations: 35.7 kB / 0.7051 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.079e-05/0.5258, allocations: 11.98 kB / 0.7051 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000243/0.5261, allocations: 8 kB / 0.7051 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.5261, allocations: 19.97 kB / 0.7051 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.153e-05/0.5261, allocations: 16 kB / 0.7051 GB, free: 14.54 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001291/0.5263, allocations: 143.4 kB / 0.7052 GB, free: 14.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5263, allocations: 4 kB / 0.7053 GB, free: 14.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006694/0.5269, allocations: 171.6 kB / 0.7054 GB, free: 14.23 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.001162/0.5281, allocations: 0.9884 MB / 0.7064 GB, free: 13.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005187/0.5286, allocations: 220.9 kB / 0.7066 GB, free: 12.98 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.5286, allocations: 3.938 kB / 0.7066 GB, free: 12.98 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001901/0.5288, allocations: 76.34 kB / 0.7067 GB, free: 12.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005556/0.5294, allocations: 66.62 kB / 0.7067 GB, free: 12.84 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003913/0.5333, allocations: 3.059 MB / 0.7097 GB, free: 9.469 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.5334, allocations: 112.5 kB / 0.7098 GB, free: 9.336 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006395/0.534, allocations: 382.1 kB / 0.7102 GB, free: 8.965 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001925/0.5342, allocations: 91.36 kB / 0.7103 GB, free: 8.875 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.5342, allocations: 4 kB / 0.7103 GB, free: 8.871 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03409/0.5683, allocations: 8.659 MB / 0.7187 GB, free: 412 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/13.33, allocations: 3.984 kB / 0.7187 GB, free: 408 kB / 0.545 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.342038916889578] 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.471364445053041 13.495868831 12.990665785 Calling exit ...