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.0008452/0.0008452, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008578/0.0008578, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8898/0.8898, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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.2446/0.2446, allocations: 32.79 MB / 293.5 MB, free: 1.242 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 439.6 MB, free: 4.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.458e-05, allocations: 8.672 kB / 439.6 MB, free: 4.223 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3039/0.3039, allocations: 132 MB / 0.5583 GB, free: 0.5508 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.004126/0.308, allocations: 4.744 MB / 0.5629 GB, free: 11.8 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.3081, allocations: 3.938 kB / 0.5629 GB, free: 11.8 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003603/0.3085, allocations: 55.55 kB / 0.5629 GB, free: 11.74 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003439/0.3119, allocations: 1.364 MB / 0.5643 GB, free: 10.38 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003124/0.3123, allocations: 151.3 kB / 0.5644 GB, free: 10.24 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005254/0.3128, allocations: 405.9 kB / 0.5648 GB, free: 9.84 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.776e-05/0.3128, allocations: 5.812 kB / 0.5648 GB, free: 9.836 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002585/0.3131, allocations: 223.4 kB / 0.565 GB, free: 9.617 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002382/0.3133, allocations: 171.6 kB / 0.5652 GB, free: 9.449 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.3133, allocations: 8 kB / 0.5652 GB, free: 9.441 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001996/0.3153, allocations: 0.9667 MB / 0.5661 GB, free: 8.473 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 8.462e-05/0.3154, allocations: 51.73 kB / 0.5662 GB, free: 8.422 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 7.326e-05/0.3155, allocations: 79.84 kB / 0.5663 GB, free: 8.344 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001184/0.3167, allocations: 0.9586 MB / 0.5672 GB, free: 7.383 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3167, allocations: 0 / 0.5672 GB, free: 7.383 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.604e-06/0.3167, allocations: 0 / 0.5672 GB, free: 7.383 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.3167, allocations: 3.938 kB / 0.5672 GB, free: 7.379 MB / 474.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.0009247/0.3176, allocations: 0.6223 MB / 0.5678 GB, free: 6.73 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.3177, allocations: 8.031 kB / 0.5678 GB, free: 6.723 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.309e-05/0.3177, allocations: 58.73 kB / 0.5679 GB, free: 6.656 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003658/0.3214, allocations: 0.6347 MB / 0.5685 GB, free: 6.027 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004094/0.3218, allocations: 205.6 kB / 0.5687 GB, free: 5.801 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.3219, allocations: 234.1 kB / 0.5689 GB, free: 5.523 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.832e-05/0.322, allocations: 24 kB / 0.5689 GB, free: 5.5 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008435/0.3228, allocations: 0.736 MB / 0.5697 GB, free: 4.688 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.3228, allocations: 7.875 kB / 0.5697 GB, free: 4.68 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.247e-05/0.3229, allocations: 12 kB / 0.5697 GB, free: 4.668 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.089e-05/0.3229, allocations: 8 kB / 0.5697 GB, free: 4.66 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000872/0.3238, allocations: 0.6223 MB / 0.5703 GB, free: 4.039 MB / 474.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.001341/0.3251, allocations: 1.444 MB / 0.5717 GB, free: 2.512 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.3254, allocations: 146.5 kB / 0.5718 GB, free: 2.359 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.414e-05/0.3255, allocations: 68.83 kB / 0.5719 GB, free: 2.289 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006099/0.3261, allocations: 479.2 kB / 0.5724 GB, free: 1.805 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.3261, allocations: 30.56 kB / 0.5724 GB, free: 1.766 MB / 474.7 MB Notification: Performance of pre-optimization done (n=19): time 2.324e-06/0.3261, allocations: 0 / 0.5724 GB, free: 1.766 MB / 474.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.0008857/0.327, allocations: 327.1 kB / 0.5727 GB, free: 1.441 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.327, allocations: 59.34 kB / 0.5728 GB, free: 1.371 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.3271, allocations: 199 kB / 0.573 GB, free: 1.168 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.3271, allocations: 36.05 kB / 0.573 GB, free: 1.129 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.817e-05/0.3272, allocations: 183.8 kB / 0.5732 GB, free: 0.9414 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.548e-05/0.3273, allocations: 71.42 kB / 0.5732 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.599e-05/0.3273, allocations: 94 kB / 0.5733 GB, free: 0.7734 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.526e-05/0.3274, allocations: 326.8 kB / 0.5736 GB, free: 456 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.717e-05/0.3275, allocations: 68.7 kB / 0.5737 GB, free: 388 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.3277, allocations: 272 kB / 0.574 GB, free: 20 kB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/0.328, allocations: 363 kB / 0.5743 GB, free: 15.57 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.328, allocations: 4 kB / 0.5743 GB, free: 15.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003797/0.3284, allocations: 371.8 kB / 0.5747 GB, free: 15.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.3284, allocations: 8.125 kB / 0.5747 GB, free: 15.19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.3284, allocations: 8 kB / 0.5747 GB, free: 15.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.3284, allocations: 12 kB / 0.5747 GB, free: 15.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/0.3286, allocations: 127.8 kB / 0.5748 GB, free: 15.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002592/0.3289, allocations: 0.6055 MB / 0.5754 GB, free: 14.42 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.329, allocations: 47.25 kB / 0.5755 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.935e-05/0.3291, allocations: 43.98 kB / 0.5755 GB, free: 14.33 MB / 490.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 0.0001077/0.3292, allocations: 143.2 kB / 0.5756 GB, free: 14.18 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.583e-05/0.3292, allocations: 20 kB / 0.5756 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005246/0.3297, allocations: 461.8 kB / 0.5761 GB, free: 13.71 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3297, allocations: 0 / 0.5761 GB, free: 13.71 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.3297, allocations: 3.938 kB / 0.5761 GB, free: 13.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3297, allocations: 0 / 0.5761 GB, free: 13.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005238/0.3303, allocations: 0.5312 MB / 0.5766 GB, free: 13.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3303, allocations: 4 kB / 0.5766 GB, free: 13.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.3304, allocations: 55.97 kB / 0.5767 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.3304, allocations: 4 kB / 0.5767 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.3304, allocations: 7.984 kB / 0.5767 GB, free: 13.03 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002006/0.3306, allocations: 0.594 MB / 0.5773 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.3306, allocations: 12.03 kB / 0.5773 GB, free: 12.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002144/0.3308, allocations: 297.5 kB / 0.5776 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-05/0.3309, allocations: 27.89 kB / 0.5776 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.3309, allocations: 7.984 kB / 0.5776 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.331, allocations: 16.73 kB / 0.5776 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-05/0.3311, allocations: 23.84 kB / 0.5776 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/0.3311, allocations: 23.92 kB / 0.5777 GB, free: 11.98 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.273e-05/0.3311, allocations: 135 kB / 0.5778 GB, free: 11.84 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3311, allocations: 0 / 0.5778 GB, free: 11.84 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004481/0.3316, allocations: 183.5 kB / 0.578 GB, free: 11.66 MB / 490.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.0007252/0.3323, allocations: 0.9996 MB / 0.5789 GB, free: 10.62 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003214/0.3326, allocations: 217 kB / 0.5791 GB, free: 10.41 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3326, allocations: 0 / 0.5791 GB, free: 10.41 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.3328, allocations: 85.11 kB / 0.5792 GB, free: 10.33 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.3331, allocations: 59.45 kB / 0.5793 GB, free: 10.28 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002981/0.3361, allocations: 3.027 MB / 0.5822 GB, free: 6.945 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.086e-05/0.3362, allocations: 112.6 kB / 0.5823 GB, free: 6.816 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000431/0.3366, allocations: 378.4 kB / 0.5827 GB, free: 6.449 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.3367, allocations: 92.42 kB / 0.5828 GB, free: 6.355 MB / 490.7 MB Notification: Performance of SimCode: time 8.41e-07/0.3367, allocations: 7.938 kB / 0.5828 GB, free: 6.348 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02172/0.3585, allocations: 8.785 MB / 0.5914 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.131/8.489, allocations: 11.23 kB / 0.5914 GB, free: 13.74 MB / 0.4948 GB " [Timeout remaining time 651] (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: 10.554011876694858] 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.586192887276411 8.600354063 8.280763542 Calling exit ...