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.001363/0.001363, allocations: 107.5 kB / 21.22 MB, free: 0.6289 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.00144/0.00144, allocations: 212.5 kB / 24.51 MB, free: 3.914 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.423/1.423, allocations: 230.6 MB / 258.3 MB, free: 7.738 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.2422/0.2422, allocations: 44.95 MB / 359.6 MB, free: 6.043 MB / 286.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_CO2",fmuType="cs",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.002025/0.002025, allocations: 59.89 kB / 0.4938 GB, free: 10.49 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3055, allocations: 65.47 MB / 0.5578 GB, free: 7.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1696/0.4752, allocations: 131.9 MB / 0.6866 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00648/0.4816, allocations: 4.734 MB / 0.6912 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001817/0.4818, allocations: 4 kB / 0.6912 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003037/0.4821, allocations: 51.61 kB / 0.6913 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003904/0.486, allocations: 1.331 MB / 0.6926 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003962/0.4864, allocations: 143.9 kB / 0.6927 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007226/0.4871, allocations: 402.1 kB / 0.6931 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.981e-05/0.4872, allocations: 13.8 kB / 0.6931 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003827/0.4876, allocations: 187.2 kB / 0.6933 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003778/0.488, allocations: 175.5 kB / 0.6934 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.043e-05/0.488, allocations: 8 kB / 0.6935 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002421/0.4904, allocations: 0.9905 MB / 0.6944 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.4905, allocations: 43.77 kB / 0.6945 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.4907, allocations: 99.58 kB / 0.6946 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001927/0.4926, allocations: 0.8455 MB / 0.6954 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.4926, allocations: 4 kB / 0.6954 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4926, allocations: 0 / 0.6954 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.4926, allocations: 0 / 0.6954 GB, free: 9.914 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.001671/0.4943, allocations: 0.6176 MB / 0.696 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.4944, allocations: 8.031 kB / 0.696 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.944e-05/0.4944, allocations: 16.62 kB / 0.696 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001013/0.4945, allocations: 62.7 kB / 0.6961 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007872/0.5024, allocations: 0.6054 MB / 0.6967 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006454/0.503, allocations: 213.1 kB / 0.6969 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002281/0.5032, allocations: 230.1 kB / 0.6971 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/0.5034, allocations: 20 kB / 0.6971 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.5049, allocations: 0.7461 MB / 0.6978 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.5049, allocations: 0 / 0.6978 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.219e-05/0.505, allocations: 12 kB / 0.6978 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.271e-05/0.505, allocations: 4 kB / 0.6979 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001611/0.5066, allocations: 0.6377 MB / 0.6985 GB, free: 6.555 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.002482/0.5091, allocations: 1.435 MB / 0.6999 GB, free: 5.027 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004004/0.5095, allocations: 154.3 kB / 0.7 GB, free: 4.871 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/0.5096, allocations: 64.83 kB / 0.7001 GB, free: 4.805 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001253/0.5109, allocations: 491 kB / 0.7006 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.356e-05/0.5109, allocations: 46.44 kB / 0.7006 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 2.104e-06/0.5109, allocations: 0 / 0.7006 GB, free: 4.254 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.001108/0.5121, allocations: 322.8 kB / 0.7009 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.5121, allocations: 55.41 kB / 0.701 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.5123, allocations: 199.1 kB / 0.7011 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.751e-05/0.5124, allocations: 29.7 kB / 0.7012 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.5125, allocations: 187.8 kB / 0.7014 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.615e-05/0.5126, allocations: 71.36 kB / 0.7014 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.5127, allocations: 90.02 kB / 0.7015 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.5129, allocations: 326.8 kB / 0.7018 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.513, allocations: 68.7 kB / 0.7019 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003157/0.5133, allocations: 264 kB / 0.7021 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005338/0.5139, allocations: 369.4 kB / 0.7025 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.5139, allocations: 4 kB / 0.7025 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007174/0.5146, allocations: 365.6 kB / 0.7028 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.5146, allocations: 8.156 kB / 0.7029 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.5146, allocations: 12 kB / 0.7029 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.5147, allocations: 8 kB / 0.7029 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004507/0.5151, allocations: 131.8 kB / 0.703 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004513/0.5156, allocations: 0.6016 MB / 0.7036 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/0.5158, allocations: 43.69 kB / 0.7036 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.716e-05/0.5159, allocations: 43.98 kB / 0.7037 GB, free: 0.8477 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.0001748/0.5161, allocations: 141.7 kB / 0.7038 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.317e-05/0.5162, allocations: 23.94 kB / 0.7038 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009321/0.5171, allocations: 455.3 kB / 0.7043 GB, free: 220 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.5171, allocations: 0 / 0.7043 GB, free: 220 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.5171, allocations: 3.938 kB / 0.7043 GB, free: 216 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.5171, allocations: 3.984 kB / 0.7043 GB, free: 212 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.5181, allocations: 0.5278 MB / 0.7048 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.5181, allocations: 0 / 0.7048 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002472/0.5184, allocations: 64.14 kB / 0.7048 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.5184, allocations: 8 kB / 0.7049 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.5184, allocations: 12 kB / 0.7049 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004003/0.5188, allocations: 0.6015 MB / 0.7055 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.5188, allocations: 0 / 0.7055 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004254/0.5192, allocations: 302.2 kB / 0.7057 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.5193, allocations: 39.75 kB / 0.7058 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.387e-05/0.5194, allocations: 4 kB / 0.7058 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002675/0.5196, allocations: 20.08 kB / 0.7058 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.5197, allocations: 15.98 kB / 0.7058 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-05/0.5197, allocations: 19.98 kB / 0.7058 GB, free: 14.46 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001454/0.5199, allocations: 139.4 kB / 0.706 GB, free: 14.33 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5199, allocations: 0 / 0.706 GB, free: 14.33 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00072/0.5206, allocations: 167.7 kB / 0.7061 GB, free: 14.16 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.001275/0.5219, allocations: 1.007 MB / 0.7071 GB, free: 13.11 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005921/0.5225, allocations: 220.9 kB / 0.7073 GB, free: 12.89 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.5225, allocations: 0 / 0.7073 GB, free: 12.89 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002159/0.5227, allocations: 75.89 kB / 0.7074 GB, free: 12.82 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005635/0.5232, allocations: 60.94 kB / 0.7075 GB, free: 12.76 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004414/0.5277, allocations: 3.055 MB / 0.7104 GB, free: 9.395 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.5278, allocations: 108.5 kB / 0.7105 GB, free: 9.266 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007105/0.5285, allocations: 394.1 kB / 0.7109 GB, free: 8.883 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002124/0.5287, allocations: 83.33 kB / 0.711 GB, free: 8.801 MB / 0.545 GB Notification: Performance of SimCode: time 6.11e-07/0.5287, allocations: 7.938 kB / 0.711 GB, free: 8.793 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03413/0.5628, allocations: 8.411 MB / 0.7192 GB, free: 0.582 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/13.66, allocations: 7.625 kB / 0.7192 GB, free: 0.5781 MB / 0.545 GB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_CO2_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 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.58893162792083] 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.836580693954602 13.866056973 13.367939585 Calling exit ...