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.001532/0.001532, allocations: 105.1 kB / 21.22 MB, free: 0.6523 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.001785/0.001785, allocations: 212 kB / 24.52 MB, free: 3.945 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.43/1.43, allocations: 230.5 MB / 258.2 MB, free: 7.797 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.2155/0.2155, allocations: 46.96 MB / 361.6 MB, free: 3.941 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 75.88 kB / 0.4969 GB, free: 7.535 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3414, allocations: 66.08 MB / 0.5615 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1724/0.5139, allocations: 131.9 MB / 0.6903 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005992/0.5199, allocations: 4.754 MB / 0.6949 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.52, allocations: 0 / 0.6949 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002911/0.5203, allocations: 39.69 kB / 0.695 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003811/0.5241, allocations: 1.338 MB / 0.6963 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003452/0.5244, allocations: 150.2 kB / 0.6964 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006675/0.5251, allocations: 406.1 kB / 0.6968 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.218e-05/0.5252, allocations: 13.78 kB / 0.6968 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003064/0.5255, allocations: 175.4 kB / 0.697 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003456/0.5258, allocations: 179.3 kB / 0.6972 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.509e-05/0.5259, allocations: 8 kB / 0.6972 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002304/0.5282, allocations: 0.9944 MB / 0.6981 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.843e-05/0.5283, allocations: 47.81 kB / 0.6982 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.5284, allocations: 95.59 kB / 0.6983 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001415/0.5298, allocations: 0.8532 MB / 0.6991 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.5298, allocations: 0 / 0.6991 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.164e-06/0.5298, allocations: 0 / 0.6991 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.244e-05/0.5298, allocations: 3.938 kB / 0.6991 GB, free: 6.57 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.00141/0.5312, allocations: 0.6138 MB / 0.6997 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.5313, allocations: 12.03 kB / 0.6997 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.136e-05/0.5313, allocations: 8.688 kB / 0.6997 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.977e-05/0.5314, allocations: 62.72 kB / 0.6998 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0075/0.5389, allocations: 0.6054 MB / 0.7004 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005196/0.5394, allocations: 205.2 kB / 0.7006 GB, free: 5 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001954/0.5396, allocations: 230.1 kB / 0.7008 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.5397, allocations: 23.98 kB / 0.7008 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.5411, allocations: 0.7422 MB / 0.7015 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.5411, allocations: 7.938 kB / 0.7015 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.435e-05/0.5412, allocations: 16 kB / 0.7016 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/0.5412, allocations: 7.938 kB / 0.7016 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001518/0.5427, allocations: 0.6299 MB / 0.7022 GB, free: 3.219 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.002227/0.545, allocations: 1.435 MB / 0.7036 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003684/0.5453, allocations: 150.5 kB / 0.7037 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.5455, allocations: 72.86 kB / 0.7038 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001141/0.5466, allocations: 475.1 kB / 0.7043 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.5467, allocations: 38.55 kB / 0.7043 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 1.914e-06/0.5467, allocations: 0 / 0.7043 GB, free: 0.9297 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.001025/0.5477, allocations: 328.3 kB / 0.7046 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.5477, allocations: 51.41 kB / 0.7047 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.5479, allocations: 194.5 kB / 0.7048 GB, free: 352 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.684e-05/0.5479, allocations: 33.7 kB / 0.7049 GB, free: 312 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.5481, allocations: 187.8 kB / 0.705 GB, free: 120 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.09e-05/0.5481, allocations: 71.38 kB / 0.7051 GB, free: 48 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.5483, allocations: 101.9 kB / 0.7052 GB, free: 15.94 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.5485, allocations: 326.8 kB / 0.7055 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.5486, allocations: 68.7 kB / 0.7056 GB, free: 15.55 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003062/0.5489, allocations: 260 kB / 0.7058 GB, free: 15.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005116/0.5494, allocations: 368 kB / 0.7062 GB, free: 14.75 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.5494, allocations: 0 / 0.7062 GB, free: 14.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006702/0.5501, allocations: 377.3 kB / 0.7066 GB, free: 14.37 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.5501, allocations: 8 kB / 0.7066 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.5501, allocations: 8 kB / 0.7066 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.5502, allocations: 8 kB / 0.7066 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004252/0.5506, allocations: 123.8 kB / 0.7067 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004297/0.551, allocations: 0.6055 MB / 0.7073 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002471/0.5513, allocations: 48.09 kB / 0.7073 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.229e-05/0.5513, allocations: 43.98 kB / 0.7074 GB, free: 13.51 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.0001573/0.5515, allocations: 143 kB / 0.7075 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.009e-05/0.5516, allocations: 23.84 kB / 0.7075 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008841/0.5524, allocations: 462.1 kB / 0.708 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.5525, allocations: 7.922 kB / 0.708 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.5525, allocations: 0 / 0.708 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.5525, allocations: 0 / 0.708 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009226/0.5534, allocations: 0.5279 MB / 0.7085 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.5534, allocations: 4 kB / 0.7085 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002312/0.5536, allocations: 51.97 kB / 0.7085 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.5536, allocations: 7.938 kB / 0.7086 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.5536, allocations: 11.98 kB / 0.7086 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003808/0.554, allocations: 0.5977 MB / 0.7091 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.554, allocations: 0 / 0.7091 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004128/0.5544, allocations: 306.5 kB / 0.7094 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.695e-05/0.5545, allocations: 39.75 kB / 0.7095 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.627e-05/0.5546, allocations: 4 kB / 0.7095 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/0.5548, allocations: 12 kB / 0.7095 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.5549, allocations: 19.91 kB / 0.7095 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-05/0.5549, allocations: 23.98 kB / 0.7095 GB, free: 11.13 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001307/0.5551, allocations: 139.4 kB / 0.7097 GB, free: 10.99 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5551, allocations: 3.938 kB / 0.7097 GB, free: 10.99 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006556/0.5557, allocations: 163.7 kB / 0.7098 GB, free: 10.83 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.001303/0.557, allocations: 0.988 MB / 0.7108 GB, free: 9.789 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005816/0.5576, allocations: 215.6 kB / 0.711 GB, free: 9.578 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.5576, allocations: 5.812 kB / 0.711 GB, free: 9.574 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002173/0.5578, allocations: 79.83 kB / 0.7111 GB, free: 9.496 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005851/0.5584, allocations: 75.14 kB / 0.7112 GB, free: 9.426 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004227/0.5626, allocations: 3.059 MB / 0.7141 GB, free: 6.059 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.5628, allocations: 112.5 kB / 0.7142 GB, free: 5.922 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006906/0.5634, allocations: 382.1 kB / 0.7146 GB, free: 5.551 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/0.5637, allocations: 95.36 kB / 0.7147 GB, free: 5.457 MB / 0.545 GB Notification: Performance of SimCode: time 6.51e-07/0.5637, allocations: 0 / 0.7147 GB, free: 5.457 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03025/0.5939, allocations: 8.413 MB / 0.7229 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/13.3, allocations: 9.047 kB / 0.7229 GB, free: 13.2 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.345658245962113] 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.46976052399259 13.698632536 12.951752548 Calling exit ...