Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001331/0.001331, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001463/0.001463, allocations: 204.6 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 230.5 MB / 257.4 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.224/0.224, allocations: 46.94 MB / 360.8 MB, free: 3.926 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002528/0.002528, allocations: 79.88 kB / 0.4962 GB, free: 7.512 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3209, allocations: 66.08 MB / 0.5607 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1745/0.4954, allocations: 132 MB / 0.6896 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007135/0.5025, allocations: 4.75 MB / 0.6943 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002564/0.5028, allocations: 4 kB / 0.6943 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003629/0.5031, allocations: 51.61 kB / 0.6943 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004756/0.5079, allocations: 1.334 MB / 0.6956 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004184/0.5083, allocations: 139.7 kB / 0.6958 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007169/0.509, allocations: 402.1 kB / 0.6961 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.456e-05/0.5091, allocations: 13.8 kB / 0.6962 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003683/0.5095, allocations: 171.4 kB / 0.6963 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004052/0.5099, allocations: 183.4 kB / 0.6965 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.48e-05/0.5099, allocations: 11.94 kB / 0.6965 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002614/0.5126, allocations: 0.9624 MB / 0.6974 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.5127, allocations: 43.77 kB / 0.6975 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.5128, allocations: 95.58 kB / 0.6976 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002006/0.5148, allocations: 0.8493 MB / 0.6984 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.5148, allocations: 4 kB / 0.6984 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5148, allocations: 0 / 0.6984 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.278e-05/0.5148, allocations: 0 / 0.6984 GB, free: 6.469 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.001509/0.5163, allocations: 0.6216 MB / 0.699 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.5164, allocations: 8.031 kB / 0.699 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.4e-05/0.5165, allocations: 66.67 kB / 0.6991 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007936/0.5244, allocations: 0.6093 MB / 0.6997 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00061/0.525, allocations: 205.4 kB / 0.6999 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002133/0.5252, allocations: 226.1 kB / 0.7001 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.5254, allocations: 20 kB / 0.7001 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/0.5268, allocations: 0.7422 MB / 0.7008 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.5268, allocations: 0 / 0.7008 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.103e-05/0.5269, allocations: 15.94 kB / 0.7009 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.462e-05/0.527, allocations: 11.94 kB / 0.7009 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001519/0.5285, allocations: 0.6182 MB / 0.7015 GB, free: 3.141 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.002579/0.5311, allocations: 1.439 MB / 0.7029 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003921/0.5314, allocations: 150.5 kB / 0.703 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.5316, allocations: 68.88 kB / 0.7031 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001258/0.5328, allocations: 479 kB / 0.7035 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.757e-05/0.5329, allocations: 38.56 kB / 0.7036 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 2.294e-06/0.5329, allocations: 0 / 0.7036 GB, free: 0.8477 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.001122/0.534, allocations: 330.6 kB / 0.7039 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.5341, allocations: 51.41 kB / 0.7039 GB, free: 472 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.5343, allocations: 206.4 kB / 0.7041 GB, free: 256 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.854e-05/0.5344, allocations: 33.7 kB / 0.7042 GB, free: 216 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.5345, allocations: 183.8 kB / 0.7043 GB, free: 28 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.5346, allocations: 79.48 kB / 0.7044 GB, free: 15.95 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001681/0.5348, allocations: 94 kB / 0.7045 GB, free: 15.85 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002162/0.535, allocations: 326.8 kB / 0.7048 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.5352, allocations: 68.7 kB / 0.7049 GB, free: 15.45 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00038/0.5356, allocations: 256 kB / 0.7051 GB, free: 15.11 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000582/0.5362, allocations: 370.2 kB / 0.7055 GB, free: 14.65 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/0.5362, allocations: 3.938 kB / 0.7055 GB, free: 14.65 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007223/0.5369, allocations: 375.2 kB / 0.7058 GB, free: 14.28 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.5369, allocations: 8.938 kB / 0.7059 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.5369, allocations: 8 kB / 0.7059 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.672e-05/0.537, allocations: 12 kB / 0.7059 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004337/0.5374, allocations: 123.8 kB / 0.706 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004668/0.5379, allocations: 0.613 MB / 0.7066 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002804/0.5381, allocations: 39.73 kB / 0.7066 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.414e-05/0.5382, allocations: 36 kB / 0.7067 GB, free: 13.42 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.0001831/0.5384, allocations: 149.6 kB / 0.7068 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.794e-05/0.5385, allocations: 19.84 kB / 0.7068 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00093/0.5394, allocations: 467.3 kB / 0.7073 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.5394, allocations: 0 / 0.7073 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.5394, allocations: 4 kB / 0.7073 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.5394, allocations: 0 / 0.7073 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.5404, allocations: 0.5355 MB / 0.7078 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.5404, allocations: 0 / 0.7078 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/0.5407, allocations: 51.97 kB / 0.7078 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.188e-06/0.5407, allocations: 4 kB / 0.7079 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.794e-05/0.5407, allocations: 16.23 kB / 0.7079 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004227/0.5411, allocations: 0.5977 MB / 0.7084 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.5411, allocations: 0 / 0.7084 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004334/0.5416, allocations: 306.3 kB / 0.7087 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.5417, allocations: 31.77 kB / 0.7088 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.827e-05/0.5417, allocations: 4 kB / 0.7088 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.542, allocations: 15.98 kB / 0.7088 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.542, allocations: 19.91 kB / 0.7088 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.373e-05/0.5421, allocations: 24.09 kB / 0.7088 GB, free: 11.03 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001385/0.5422, allocations: 143.3 kB / 0.709 GB, free: 10.89 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5422, allocations: 0 / 0.709 GB, free: 10.89 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006836/0.5429, allocations: 171.6 kB / 0.7091 GB, free: 10.72 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.001276/0.5442, allocations: 0.9907 MB / 0.7101 GB, free: 9.684 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000587/0.5447, allocations: 225.3 kB / 0.7103 GB, free: 9.465 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5447, allocations: 4 kB / 0.7103 GB, free: 9.461 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002011/0.545, allocations: 71.84 kB / 0.7104 GB, free: 9.391 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005864/0.5455, allocations: 72.66 kB / 0.7105 GB, free: 9.32 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004429/0.55, allocations: 3.055 MB / 0.7134 GB, free: 5.957 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/0.5501, allocations: 116.5 kB / 0.7136 GB, free: 5.82 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006655/0.5508, allocations: 378.1 kB / 0.7139 GB, free: 5.453 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002043/0.551, allocations: 91.36 kB / 0.714 GB, free: 5.363 MB / 0.545 GB Notification: Performance of SimCode: time 9.22e-07/0.551, allocations: 0 / 0.714 GB, free: 5.363 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04045/0.5914, allocations: 8.646 MB / 0.7224 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/13.27, allocations: 4.062 kB / 0.7224 GB, free: 12.86 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.58590779127553] 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.394418941345066 13.683325276 12.903998713 Calling exit ...