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.001291/0.001291, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001621/0.001621, allocations: 209.6 kB / 23.73 MB, free: 4.41 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.453/1.453, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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.2289/0.2289, allocations: 46.96 MB / 360.9 MB, free: 4.055 MB / 286.1 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 0.002051/0.002051, allocations: 63.89 kB / 0.4961 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3127, allocations: 66.03 MB / 0.5606 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1694/0.4822, allocations: 132 MB / 0.6895 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006118/0.4883, allocations: 4.746 MB / 0.6942 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.4884, allocations: 0 / 0.6942 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002915/0.4887, allocations: 55.66 kB / 0.6942 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003684/0.4924, allocations: 1.339 MB / 0.6955 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.4927, allocations: 139.1 kB / 0.6957 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005999/0.4933, allocations: 402.1 kB / 0.696 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.598e-05/0.4934, allocations: 13.73 kB / 0.6961 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002981/0.4937, allocations: 183.3 kB / 0.6962 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003152/0.494, allocations: 171.5 kB / 0.6964 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.409e-05/0.494, allocations: 8 kB / 0.6964 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002103/0.4962, allocations: 0.959 MB / 0.6973 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.383e-05/0.4962, allocations: 51.75 kB / 0.6974 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.4964, allocations: 91.64 kB / 0.6975 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.4976, allocations: 0.8532 MB / 0.6983 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.4977, allocations: 0 / 0.6983 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4977, allocations: 0 / 0.6983 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.4977, allocations: 0 / 0.6983 GB, free: 6.734 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.001273/0.4989, allocations: 0.6255 MB / 0.6989 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.499, allocations: 8.031 kB / 0.6989 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.719e-05/0.4991, allocations: 58.73 kB / 0.699 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007706/0.5068, allocations: 0.6054 MB / 0.6996 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005351/0.5073, allocations: 205.4 kB / 0.6998 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002003/0.5075, allocations: 234.1 kB / 0.7 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.991e-05/0.5076, allocations: 24 kB / 0.7 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.5089, allocations: 0.7383 MB / 0.7007 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.5089, allocations: 3.938 kB / 0.7007 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-05/0.509, allocations: 11.94 kB / 0.7008 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.509, allocations: 8 kB / 0.7008 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/0.5105, allocations: 0.626 MB / 0.7014 GB, free: 3.402 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.002187/0.5127, allocations: 1.439 MB / 0.7028 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003464/0.513, allocations: 150.5 kB / 0.7029 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.5132, allocations: 76.84 kB / 0.703 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/0.5143, allocations: 479 kB / 0.7034 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.5143, allocations: 34.56 kB / 0.7035 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 1.523e-06/0.5143, allocations: 0 / 0.7035 GB, free: 1.105 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.0009487/0.5152, allocations: 330.9 kB / 0.7038 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.5153, allocations: 59.39 kB / 0.7039 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.5155, allocations: 203 kB / 0.704 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.5155, allocations: 29.7 kB / 0.7041 GB, free: 480 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.5156, allocations: 183.9 kB / 0.7043 GB, free: 292 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.41e-05/0.5157, allocations: 79.28 kB / 0.7043 GB, free: 212 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.5158, allocations: 98 kB / 0.7044 GB, free: 108 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.516, allocations: 322.8 kB / 0.7047 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.5161, allocations: 72.64 kB / 0.7048 GB, free: 15.71 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003028/0.5164, allocations: 264 kB / 0.705 GB, free: 15.36 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004937/0.5169, allocations: 369.3 kB / 0.7054 GB, free: 14.91 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.5169, allocations: 3.938 kB / 0.7054 GB, free: 14.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006242/0.5176, allocations: 365.6 kB / 0.7058 GB, free: 14.54 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.5176, allocations: 12.11 kB / 0.7058 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.5176, allocations: 12 kB / 0.7058 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.5176, allocations: 8 kB / 0.7058 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004004/0.518, allocations: 123.8 kB / 0.7059 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004169/0.5184, allocations: 0.6093 MB / 0.7065 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/0.5187, allocations: 39.73 kB / 0.7065 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-05/0.5187, allocations: 40 kB / 0.7066 GB, free: 13.68 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.000149/0.5189, allocations: 147.3 kB / 0.7067 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.974e-05/0.5189, allocations: 27.94 kB / 0.7067 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000843/0.5198, allocations: 463.2 kB / 0.7072 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.5198, allocations: 0 / 0.7072 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.5198, allocations: 0 / 0.7072 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.5198, allocations: 0 / 0.7072 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008643/0.5207, allocations: 0.52 MB / 0.7077 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.5207, allocations: 4 kB / 0.7077 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002215/0.5209, allocations: 63.91 kB / 0.7078 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.5209, allocations: 8.25 kB / 0.7078 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.5209, allocations: 4 kB / 0.7078 GB, free: 12.35 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003664/0.5213, allocations: 0.5977 MB / 0.7083 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.5213, allocations: 4.031 kB / 0.7084 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000399/0.5217, allocations: 298.3 kB / 0.7086 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.226e-05/0.5218, allocations: 35.77 kB / 0.7087 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.464e-05/0.5218, allocations: 8 kB / 0.7087 GB, free: 11.35 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.522, allocations: 16.08 kB / 0.7087 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.5221, allocations: 23.91 kB / 0.7087 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.971e-05/0.5221, allocations: 16 kB / 0.7087 GB, free: 11.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00014/0.5223, allocations: 147.3 kB / 0.7089 GB, free: 11.15 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.5223, allocations: 0 / 0.7089 GB, free: 11.15 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006258/0.5229, allocations: 167.6 kB / 0.709 GB, free: 10.99 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.001156/0.524, allocations: 0.9907 MB / 0.71 GB, free: 9.949 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005273/0.5246, allocations: 217 kB / 0.7102 GB, free: 9.738 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5246, allocations: 4 kB / 0.7102 GB, free: 9.734 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002035/0.5248, allocations: 83.81 kB / 0.7103 GB, free: 9.652 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005402/0.5253, allocations: 67.31 kB / 0.7104 GB, free: 9.59 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0041/0.5294, allocations: 3.055 MB / 0.7133 GB, free: 6.227 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.5295, allocations: 116.5 kB / 0.7135 GB, free: 6.09 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006845/0.5302, allocations: 390.2 kB / 0.7138 GB, free: 5.711 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002085/0.5304, allocations: 83.38 kB / 0.7139 GB, free: 5.629 MB / 0.545 GB Notification: Performance of SimCode: time 6.62e-07/0.5304, allocations: 4 kB / 0.7139 GB, free: 5.625 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03511/0.5655, allocations: 8.652 MB / 0.7224 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.34, allocations: 6.719 kB / 0.7224 GB, free: 13.16 MB / 0.5606 GB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_CO2_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 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: 16.390459589194506] 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.458771452773362 13.707529425 12.982428638 Calling exit ...