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.001368/0.001368, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001496/0.001496, allocations: 212.7 kB / 23.73 MB, free: 4.164 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.452/1.452, allocations: 230.5 MB / 257.4 MB, free: 7.801 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.2932/0.2932, allocations: 46.97 MB / 360.8 MB, free: 3.938 MB / 286.1 MB " [Timeout remaining time 179] 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.002343/0.002343, allocations: 79.88 kB / 0.4962 GB, free: 7.531 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3409, allocations: 66.08 MB / 0.5607 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1735/0.5144, allocations: 132 MB / 0.6896 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006124/0.5205, allocations: 4.75 MB / 0.6943 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001694/0.5206, allocations: 11.94 kB / 0.6943 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003287/0.521, allocations: 47.62 kB / 0.6943 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003612/0.5246, allocations: 1.325 MB / 0.6956 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.5249, allocations: 150 kB / 0.6958 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005965/0.5255, allocations: 394.2 kB / 0.6961 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.57e-05/0.5256, allocations: 13.78 kB / 0.6961 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003351/0.5259, allocations: 179.3 kB / 0.6963 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003587/0.5263, allocations: 175.4 kB / 0.6965 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.775e-05/0.5263, allocations: 8 kB / 0.6965 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002189/0.5285, allocations: 0.9709 MB / 0.6974 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.5286, allocations: 43.81 kB / 0.6975 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.5288, allocations: 95.58 kB / 0.6976 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001887/0.5307, allocations: 0.8455 MB / 0.6984 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.5307, allocations: 0 / 0.6984 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.894e-06/0.5307, allocations: 0 / 0.6984 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.5307, allocations: 3.938 kB / 0.6984 GB, free: 6.496 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.001547/0.5322, allocations: 0.6216 MB / 0.699 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.5323, allocations: 8.031 kB / 0.699 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.161e-05/0.5324, allocations: 70.66 kB / 0.6991 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007875/0.5402, allocations: 0.6054 MB / 0.6997 GB, free: 5.152 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006281/0.5409, allocations: 205.4 kB / 0.6999 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002169/0.5411, allocations: 226.1 kB / 0.7001 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.5412, allocations: 20 kB / 0.7001 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.5427, allocations: 0.7461 MB / 0.7008 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.5427, allocations: 0 / 0.7008 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.17e-05/0.5428, allocations: 12 kB / 0.7008 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.676e-05/0.5428, allocations: 15.92 kB / 0.7009 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001534/0.5443, allocations: 0.6143 MB / 0.7015 GB, free: 3.168 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.002331/0.5466, allocations: 1.439 MB / 0.7029 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003825/0.547, allocations: 150.5 kB / 0.703 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.5472, allocations: 76.8 kB / 0.7031 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001153/0.5483, allocations: 471.1 kB / 0.7035 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/0.5484, allocations: 42.55 kB / 0.7036 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 1.883e-06/0.5484, allocations: 0 / 0.7036 GB, free: 0.8711 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.001008/0.5494, allocations: 324.2 kB / 0.7039 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.5494, allocations: 55.34 kB / 0.7039 GB, free: 496 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.5497, allocations: 202.4 kB / 0.7041 GB, free: 284 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.552e-05/0.5497, allocations: 33.7 kB / 0.7042 GB, free: 244 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.5498, allocations: 187.8 kB / 0.7043 GB, free: 52 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.766e-05/0.5499, allocations: 75.56 kB / 0.7044 GB, free: 15.97 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.5501, allocations: 94 kB / 0.7045 GB, free: 15.88 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.5502, allocations: 326.8 kB / 0.7048 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.5504, allocations: 68.7 kB / 0.7049 GB, free: 15.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000351/0.5507, allocations: 260 kB / 0.7051 GB, free: 15.13 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005614/0.5513, allocations: 369 kB / 0.7055 GB, free: 14.68 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.5513, allocations: 4 kB / 0.7055 GB, free: 14.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007091/0.552, allocations: 373.2 kB / 0.7058 GB, free: 14.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.552, allocations: 14.28 kB / 0.7059 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.5521, allocations: 8 kB / 0.7059 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.694e-05/0.5521, allocations: 8 kB / 0.7059 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004321/0.5525, allocations: 123.8 kB / 0.706 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004486/0.553, allocations: 0.6135 MB / 0.7066 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002496/0.5532, allocations: 47.83 kB / 0.7066 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.157e-05/0.5533, allocations: 43.92 kB / 0.7067 GB, free: 13.43 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.0001696/0.5534, allocations: 141.7 kB / 0.7068 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.117e-05/0.5535, allocations: 23.84 kB / 0.7068 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008775/0.5544, allocations: 451.3 kB / 0.7073 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.5544, allocations: 3.938 kB / 0.7073 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5544, allocations: 0 / 0.7073 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.5544, allocations: 0 / 0.7073 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009409/0.5553, allocations: 0.5396 MB / 0.7078 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.5553, allocations: 0 / 0.7078 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002207/0.5556, allocations: 51.97 kB / 0.7078 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.835e-06/0.5556, allocations: 4 kB / 0.7078 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/0.5556, allocations: 11.98 kB / 0.7079 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003911/0.556, allocations: 0.5977 MB / 0.7084 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/0.556, allocations: 0 / 0.7084 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004385/0.5564, allocations: 315.8 kB / 0.7087 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.5565, allocations: 39.73 kB / 0.7088 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.744e-05/0.5566, allocations: 4 kB / 0.7088 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002381/0.5568, allocations: 12 kB / 0.7088 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.5569, allocations: 19.91 kB / 0.7088 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.67e-05/0.5569, allocations: 23.98 kB / 0.7088 GB, free: 11.05 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001549/0.5571, allocations: 139.4 kB / 0.709 GB, free: 10.91 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.5571, allocations: 0 / 0.709 GB, free: 10.91 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007516/0.5578, allocations: 171.6 kB / 0.7091 GB, free: 10.75 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.001298/0.5591, allocations: 0.984 MB / 0.7101 GB, free: 9.711 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000572/0.5597, allocations: 228 kB / 0.7103 GB, free: 9.492 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.5597, allocations: 4 kB / 0.7103 GB, free: 9.488 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002094/0.5599, allocations: 76.33 kB / 0.7104 GB, free: 9.414 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005731/0.5605, allocations: 68.23 kB / 0.7105 GB, free: 9.348 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004505/0.565, allocations: 3.055 MB / 0.7134 GB, free: 5.984 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001386/0.5651, allocations: 112.5 kB / 0.7135 GB, free: 5.852 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007098/0.5658, allocations: 382.1 kB / 0.7139 GB, free: 5.48 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002151/0.566, allocations: 91.36 kB / 0.714 GB, free: 5.391 MB / 0.545 GB Notification: Performance of SimCode: time 7.12e-07/0.566, allocations: 0 / 0.714 GB, free: 5.391 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03854/0.6046, allocations: 8.652 MB / 0.7224 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/13.14, allocations: 10.72 kB / 0.7225 GB, free: 12.88 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 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.27923653414473] 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.256016654428095 13.51513518 12.749690028 Calling exit ...