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.0007267/0.0007267, allocations: 83.69 kB / 20.67 MB, free: 3.891 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.000776/0.000776, allocations: 170 kB / 23.95 MB, free: 0.6172 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.9099/0.9099, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.2532/0.2532, allocations: 34.25 MB / 294.9 MB, free: 0.707 MB / 266.7 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 2.194e-06/2.194e-06, allocations: 0 / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.141e-05/3.36e-05, allocations: 6.219 kB / 442.2 MB, free: 1.633 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3059/0.3059, allocations: 132 MB / 0.5608 GB, free: 12.59 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.004096/0.31, allocations: 4.76 MB / 0.5654 GB, free: 7.824 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.384e-05/0.3101, allocations: 0 / 0.5654 GB, free: 7.824 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003046/0.3104, allocations: 47.62 kB / 0.5655 GB, free: 7.777 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002291/0.3127, allocations: 1.368 MB / 0.5668 GB, free: 6.406 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.3129, allocations: 142 kB / 0.5669 GB, free: 6.273 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004252/0.3134, allocations: 405.9 kB / 0.5673 GB, free: 5.875 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.699e-05/0.3134, allocations: 13.81 kB / 0.5673 GB, free: 5.863 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002584/0.3137, allocations: 223.3 kB / 0.5676 GB, free: 5.645 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.3139, allocations: 163.6 kB / 0.5677 GB, free: 5.484 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.3139, allocations: 8 kB / 0.5677 GB, free: 5.477 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.315, allocations: 0.9705 MB / 0.5687 GB, free: 4.504 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 7.731e-05/0.315, allocations: 51.77 kB / 0.5687 GB, free: 4.453 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 7.047e-05/0.3151, allocations: 83.81 kB / 0.5688 GB, free: 4.371 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008556/0.316, allocations: 0.9508 MB / 0.5697 GB, free: 3.418 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.316, allocations: 0 / 0.5697 GB, free: 3.418 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.316, allocations: 4 kB / 0.5697 GB, free: 3.414 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.316, allocations: 0 / 0.5697 GB, free: 3.414 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.0008849/0.3169, allocations: 0.6183 MB / 0.5703 GB, free: 2.77 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.3169, allocations: 8.031 kB / 0.5703 GB, free: 2.762 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.336e-05/0.317, allocations: 62.73 kB / 0.5704 GB, free: 2.691 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00362/0.3206, allocations: 0.6423 MB / 0.571 GB, free: 2.055 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003626/0.3209, allocations: 201.4 kB / 0.5712 GB, free: 1.832 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.3211, allocations: 239.5 kB / 0.5714 GB, free: 1.551 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.535e-05/0.3211, allocations: 20 kB / 0.5715 GB, free: 1.531 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.3222, allocations: 0.7345 MB / 0.5722 GB, free: 0.7227 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.3222, allocations: 7.375 kB / 0.5722 GB, free: 0.7188 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.773e-05/0.3222, allocations: 8 kB / 0.5722 GB, free: 0.7109 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.3222, allocations: 8 kB / 0.5722 GB, free: 0.7031 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008373/0.3231, allocations: 0.6223 MB / 0.5728 GB, free: 84 kB / 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.001335/0.3244, allocations: 1.447 MB / 0.5742 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/0.3247, allocations: 152.3 kB / 0.5744 GB, free: 14.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.328e-05/0.3247, allocations: 68.88 kB / 0.5744 GB, free: 14.33 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005704/0.3253, allocations: 471.3 kB / 0.5749 GB, free: 13.85 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.3253, allocations: 38.5 kB / 0.5749 GB, free: 13.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=19): time 1.153e-06/0.3253, allocations: 0 / 0.5749 GB, free: 13.8 MB / 490.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.0006295/0.326, allocations: 333.4 kB / 0.5752 GB, free: 13.48 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.326, allocations: 53.75 kB / 0.5753 GB, free: 13.41 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.3261, allocations: 203 kB / 0.5755 GB, free: 13.21 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.3261, allocations: 25.7 kB / 0.5755 GB, free: 13.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.3262, allocations: 191.8 kB / 0.5757 GB, free: 12.98 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.95e-05/0.3263, allocations: 71.42 kB / 0.5758 GB, free: 12.91 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.289e-05/0.3263, allocations: 90.02 kB / 0.5758 GB, free: 12.82 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.616e-05/0.3264, allocations: 330.8 kB / 0.5762 GB, free: 12.48 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.53e-05/0.3265, allocations: 64.7 kB / 0.5762 GB, free: 12.42 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.3267, allocations: 268 kB / 0.5765 GB, free: 12.07 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002829/0.327, allocations: 376.6 kB / 0.5768 GB, free: 11.61 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.327, allocations: 0 / 0.5768 GB, free: 11.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003691/0.3273, allocations: 369.5 kB / 0.5772 GB, free: 11.24 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.3274, allocations: 12.19 kB / 0.5772 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.3274, allocations: 11.98 kB / 0.5772 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.3274, allocations: 8 kB / 0.5772 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/0.3276, allocations: 127.8 kB / 0.5773 GB, free: 11.08 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002581/0.3279, allocations: 0.6016 MB / 0.5779 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.328, allocations: 51.62 kB / 0.578 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.824e-05/0.328, allocations: 39.98 kB / 0.578 GB, free: 10.37 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.0001041/0.3281, allocations: 142.8 kB / 0.5782 GB, free: 10.22 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.404e-05/0.3282, allocations: 24 kB / 0.5782 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000791/0.329, allocations: 458.2 kB / 0.5786 GB, free: 9.742 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.329, allocations: 7.938 kB / 0.5786 GB, free: 9.734 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.329, allocations: 0 / 0.5786 GB, free: 9.734 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.329, allocations: 3.984 kB / 0.5786 GB, free: 9.73 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005172/0.3295, allocations: 0.5289 MB / 0.5791 GB, free: 9.133 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3295, allocations: 0 / 0.5791 GB, free: 9.133 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.3296, allocations: 63.89 kB / 0.5792 GB, free: 9.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.3296, allocations: 7.938 kB / 0.5792 GB, free: 9.062 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.3296, allocations: 11.19 kB / 0.5792 GB, free: 9.055 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002133/0.3298, allocations: 0.6057 MB / 0.5798 GB, free: 8.426 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3298, allocations: 0 / 0.5798 GB, free: 8.426 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.3301, allocations: 286.2 kB / 0.5801 GB, free: 8.105 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.928e-05/0.3301, allocations: 31.81 kB / 0.5801 GB, free: 8.074 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.3301, allocations: 8 kB / 0.5801 GB, free: 8.066 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.3302, allocations: 15.92 kB / 0.5801 GB, free: 8.051 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-05/0.3303, allocations: 15.98 kB / 0.5802 GB, free: 8.035 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.3303, allocations: 19.98 kB / 0.5802 GB, free: 8.016 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.72e-05/0.3304, allocations: 139 kB / 0.5803 GB, free: 7.879 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3304, allocations: 4.062 kB / 0.5803 GB, free: 7.875 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003923/0.3308, allocations: 167.6 kB / 0.5805 GB, free: 7.711 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.0007274/0.3315, allocations: 1.012 MB / 0.5815 GB, free: 6.648 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003161/0.3318, allocations: 219.8 kB / 0.5817 GB, free: 6.438 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3318, allocations: 0.5 kB / 0.5817 GB, free: 6.438 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.3319, allocations: 79.89 kB / 0.5817 GB, free: 6.359 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.3323, allocations: 71.25 kB / 0.5818 GB, free: 6.297 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00251/0.3348, allocations: 3.022 MB / 0.5848 GB, free: 2.969 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.467e-05/0.3348, allocations: 112.6 kB / 0.5849 GB, free: 2.84 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000676/0.3355, allocations: 378.1 kB / 0.5852 GB, free: 2.473 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.3356, allocations: 88.44 kB / 0.5853 GB, free: 2.383 MB / 490.7 MB Notification: Performance of SimCode: time 6.12e-07/0.3356, allocations: 4 kB / 0.5853 GB, free: 2.379 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01939/0.355, allocations: 8.778 MB / 0.5939 GB, free: 9.781 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.032/8.387, allocations: 11.94 kB / 0.5939 GB, free: 9.77 MB / 0.4948 GB " [Timeout remaining time 652] (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: 10.543554434552789] 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.480961121618748 8.489979783 8.171575742 Calling exit ...