Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.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.001569/0.001569, 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 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.001414/0.001414, allocations: 211.8 kB / 24.51 MB, free: 3.973 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.454/1.454, allocations: 230.6 MB / 258.3 MB, free: 7.809 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.2289/0.2289, allocations: 44.93 MB / 359.6 MB, free: 6.082 MB / 286.1 MB " [Timeout remaining time 180] 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.FlueGasSixComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",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.002755/0.002755, allocations: 63.89 kB / 0.4938 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3378, allocations: 65.47 MB / 0.5577 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.1798/0.5176, allocations: 132.2 MB / 0.6868 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008104/0.5257, allocations: 6.109 MB / 0.6928 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001911/0.5259, allocations: 0 / 0.6928 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004148/0.5263, allocations: 83.5 kB / 0.6928 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00616/0.5325, allocations: 2.258 MB / 0.695 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004058/0.5329, allocations: 155.2 kB / 0.6952 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0009494/0.5339, allocations: 0.5178 MB / 0.6957 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.892e-05/0.5339, allocations: 16.58 kB / 0.6957 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006733/0.5346, allocations: 263 kB / 0.696 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/0.5357, allocations: 498.5 kB / 0.6964 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.502e-05/0.5358, allocations: 12 kB / 0.6964 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005624/0.5414, allocations: 2.334 MB / 0.6987 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002556/0.5417, allocations: 171.5 kB / 0.6989 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003628/0.542, allocations: 183.3 kB / 0.6991 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004718/0.5467, allocations: 1.812 MB / 0.7008 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.5467, allocations: 0 / 0.7008 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.004e-06/0.5467, allocations: 0 / 0.7008 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.089e-05/0.5468, allocations: 0 / 0.7008 GB, free: 4.473 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.003194/0.55, allocations: 0.916 MB / 0.7017 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.131e-05/0.55, allocations: 8.031 kB / 0.7017 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.508e-05/0.5501, allocations: 9.188 kB / 0.7017 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001546/0.5502, allocations: 94.62 kB / 0.7018 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004016/0.5542, allocations: 0.504 MB / 0.7023 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007603/0.555, allocations: 321.3 kB / 0.7026 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002087/0.5552, allocations: 234.3 kB / 0.7029 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001586/0.5554, allocations: 35.98 kB / 0.7029 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001989/0.5573, allocations: 1.406 MB / 0.7043 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.5574, allocations: 0 / 0.7043 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.5575, allocations: 16 kB / 0.7043 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-05/0.5575, allocations: 52.97 kB / 0.7043 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003502/0.561, allocations: 2.276 MB / 0.7066 GB, free: 14.4 MB / 0.545 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.004105/0.5651, allocations: 2.076 MB / 0.7086 GB, free: 12.24 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.5654, allocations: 114.3 kB / 0.7087 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.5655, allocations: 52.94 kB / 0.7087 GB, free: 12.06 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003672/0.5692, allocations: 1.378 MB / 0.7101 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.5692, allocations: 34.56 kB / 0.7101 GB, free: 10.62 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 2.044e-06/0.5692, allocations: 4 kB / 0.7101 GB, free: 10.62 MB / 0.545 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=16): time 0.001176/0.5704, allocations: 299.4 kB / 0.7104 GB, free: 10.32 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.5704, allocations: 63.28 kB / 0.7105 GB, free: 10.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004554/0.5709, allocations: 376.1 kB / 0.7108 GB, free: 9.871 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/0.5709, allocations: 37.64 kB / 0.7109 GB, free: 9.828 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002637/0.5712, allocations: 374.8 kB / 0.7112 GB, free: 9.457 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.578e-05/0.5713, allocations: 75.45 kB / 0.7113 GB, free: 9.383 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002112/0.5715, allocations: 162.5 kB / 0.7114 GB, free: 9.219 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.5716, allocations: 338.8 kB / 0.7118 GB, free: 8.879 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.5718, allocations: 129.8 kB / 0.7119 GB, free: 8.75 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000565/0.5724, allocations: 0.5725 MB / 0.7125 GB, free: 7.957 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008824/0.5733, allocations: 0.7431 MB / 0.7132 GB, free: 6.992 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/0.5733, allocations: 4 kB / 0.7132 GB, free: 6.988 MB / 0.545 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001478/0.5748, allocations: 0.7424 MB / 0.7139 GB, free: 6.242 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.5748, allocations: 12 kB / 0.7139 GB, free: 6.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.205e-05/0.5748, allocations: 16 kB / 0.7139 GB, free: 6.215 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.859e-05/0.5749, allocations: 24.05 kB / 0.714 GB, free: 6.191 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005428/0.5754, allocations: 191.7 kB / 0.7141 GB, free: 6.004 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004364/0.5758, allocations: 0.6171 MB / 0.7147 GB, free: 5.363 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004725/0.5763, allocations: 99.25 kB / 0.7148 GB, free: 5.266 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.948e-05/0.5764, allocations: 60.3 kB / 0.7149 GB, free: 5.207 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (92): * Single equations (assignments): 91 * 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.0002393/0.5766, allocations: 213.4 kB / 0.7151 GB, free: 4.988 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003719/0.577, allocations: 83.67 kB / 0.7152 GB, free: 4.906 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003961/0.5774, allocations: 203 kB / 0.7154 GB, free: 4.691 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.5774, allocations: 4 kB / 0.7154 GB, free: 4.688 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5774, allocations: 0 / 0.7154 GB, free: 4.688 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.5774, allocations: 4 kB / 0.7154 GB, free: 4.684 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00076/0.5782, allocations: 0.5023 MB / 0.7159 GB, free: 4.113 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.5782, allocations: 0 / 0.7159 GB, free: 4.113 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.5783, allocations: 31.92 kB / 0.7159 GB, free: 4.082 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.909e-06/0.5783, allocations: 4 kB / 0.7159 GB, free: 4.078 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.5783, allocations: 8.188 kB / 0.7159 GB, free: 4.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003538/0.5787, allocations: 0.5898 MB / 0.7165 GB, free: 3.457 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.5787, allocations: 4.031 kB / 0.7165 GB, free: 3.453 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003048/0.579, allocations: 260.5 kB / 0.7167 GB, free: 3.164 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.63e-05/0.5791, allocations: 43.67 kB / 0.7168 GB, free: 3.121 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.622e-05/0.5792, allocations: 7.984 kB / 0.7168 GB, free: 3.113 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002522/0.5794, allocations: 8 kB / 0.7168 GB, free: 3.105 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.917e-05/0.5794, allocations: 11.98 kB / 0.7168 GB, free: 3.094 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.5795, allocations: 16.08 kB / 0.7168 GB, free: 3.078 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002706/0.5797, allocations: 243.2 kB / 0.7171 GB, free: 2.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5797, allocations: 3.938 kB / 0.7171 GB, free: 2.836 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001188/0.5809, allocations: 355.2 kB / 0.7174 GB, free: 2.488 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (13): * Single equations (assignments): 12 * 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.002302/0.5832, allocations: 1.318 MB / 0.7187 GB, free: 1.125 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006999/0.5839, allocations: 325.5 kB / 0.719 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5839, allocations: 2 kB / 0.719 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.584, allocations: 39.92 kB / 0.719 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005462/0.5846, allocations: 65.77 kB / 0.7191 GB, free: 0.707 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01587/0.6005, allocations: 10.22 MB / 0.7291 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/0.6007, allocations: 180.5 kB / 0.7293 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006143/0.6013, allocations: 239.2 kB / 0.7295 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/0.6015, allocations: 115.4 kB / 0.7296 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of SimCode: time 7.51e-07/0.6015, allocations: 0 / 0.7296 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2805/0.882, allocations: 13.54 MB / 0.7428 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/14.44, allocations: 5.375 kB / 0.7428 GB, free: 172.1 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.35136818489991] Failed to read output from testmodel.py, exit status != 0: ['time', '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]', 'dddX[2]', 'dddX[3]', 'dddX[4]', 'dddX[5]', 'dddX[6]', 'MM', 'h2', 'd2', 'err_T', 'err_d', 'err_u', 's_is', 'err_h_is'] 14.622278729919344 14.63037617 14.08126721 Calling exit ...