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.0008409/0.0008409, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0008713/0.0008713, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8848/0.8848, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2315/0.2315, allocations: 32.79 MB / 293.5 MB, free: 1.238 MB / 266.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 3.938 kB / 439.6 MB, free: 4.262 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.14e-05/2.316e-05, allocations: 4.109 kB / 439.6 MB, free: 4.258 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.274/0.274, allocations: 132.3 MB / 0.5585 GB, free: 244 kB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.00468/0.2787, allocations: 6.102 MB / 0.5644 GB, free: 10.13 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.2788, allocations: 4 kB / 0.5644 GB, free: 10.12 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004012/0.2792, allocations: 79.44 kB / 0.5645 GB, free: 10.05 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003884/0.2831, allocations: 2.312 MB / 0.5668 GB, free: 7.73 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002433/0.2833, allocations: 151.1 kB / 0.5669 GB, free: 7.586 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005108/0.2838, allocations: 0.5262 MB / 0.5674 GB, free: 7.059 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.939e-05/0.2839, allocations: 12.59 kB / 0.5674 GB, free: 7.051 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003566/0.2842, allocations: 322.9 kB / 0.5677 GB, free: 6.734 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005349/0.2848, allocations: 470.8 kB / 0.5682 GB, free: 6.273 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.843e-05/0.2848, allocations: 12 kB / 0.5682 GB, free: 6.262 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003225/0.288, allocations: 2.33 MB / 0.5705 GB, free: 3.926 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.2882, allocations: 183.5 kB / 0.5707 GB, free: 3.746 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.2883, allocations: 159.7 kB / 0.5708 GB, free: 3.59 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00249/0.2908, allocations: 1.991 MB / 0.5728 GB, free: 1.594 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2908, allocations: 3.938 kB / 0.5728 GB, free: 1.59 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2908, allocations: 0 / 0.5728 GB, free: 1.59 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.2908, allocations: 0 / 0.5728 GB, free: 1.59 MB / 474.7 MB 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.001586/0.2924, allocations: 0.9065 MB / 0.5736 GB, free: 0.6562 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.2924, allocations: 8.031 kB / 0.5736 GB, free: 0.6484 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.567e-05/0.2925, allocations: 86.7 kB / 0.5737 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001948/0.2944, allocations: 0.5118 MB / 0.5742 GB, free: 44 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004558/0.2949, allocations: 321.1 kB / 0.5745 GB, free: 15.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.295, allocations: 230.8 kB / 0.5748 GB, free: 15.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.425e-05/0.2951, allocations: 31.94 kB / 0.5748 GB, free: 15.39 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.2962, allocations: 1.414 MB / 0.5762 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.2962, allocations: 0 / 0.5762 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.844e-05/0.2963, allocations: 21.48 kB / 0.5762 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.875e-05/0.2964, allocations: 56.91 kB / 0.5762 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00202/0.2984, allocations: 2.247 MB / 0.5784 GB, free: 11.55 MB / 490.7 MB 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.002272/0.3006, allocations: 2.068 MB / 0.5805 GB, free: 9.422 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.3008, allocations: 102.6 kB / 0.5806 GB, free: 9.312 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.581e-05/0.3009, allocations: 48.72 kB / 0.5806 GB, free: 9.266 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001843/0.3027, allocations: 1.401 MB / 0.582 GB, free: 7.844 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.3028, allocations: 38.56 kB / 0.582 GB, free: 7.797 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 2.214e-06/0.3028, allocations: 0 / 0.582 GB, free: 7.797 MB / 490.7 MB 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.0007211/0.3035, allocations: 302.6 kB / 0.5823 GB, free: 7.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.3035, allocations: 55.41 kB / 0.5823 GB, free: 7.434 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002633/0.3038, allocations: 419.7 kB / 0.5827 GB, free: 7.016 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.3038, allocations: 29.7 kB / 0.5828 GB, free: 6.98 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.3039, allocations: 366.8 kB / 0.5831 GB, free: 6.617 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.304, allocations: 71.47 kB / 0.5832 GB, free: 6.547 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.3041, allocations: 162.5 kB / 0.5834 GB, free: 6.383 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.399e-05/0.3042, allocations: 346.7 kB / 0.5837 GB, free: 6.035 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.3043, allocations: 121.9 kB / 0.5838 GB, free: 5.914 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003224/0.3046, allocations: 0.5725 MB / 0.5844 GB, free: 5.117 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005241/0.3052, allocations: 0.7446 MB / 0.5851 GB, free: 4.152 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.3052, allocations: 8 kB / 0.5851 GB, free: 4.145 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0008226/0.306, allocations: 0.7463 MB / 0.5858 GB, free: 3.395 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.306, allocations: 12 kB / 0.5858 GB, free: 3.383 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.306, allocations: 16 kB / 0.5858 GB, free: 3.367 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.3061, allocations: 20 kB / 0.5859 GB, free: 3.348 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/0.3063, allocations: 187.7 kB / 0.586 GB, free: 3.164 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002923/0.3066, allocations: 0.621 MB / 0.5867 GB, free: 2.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.3069, allocations: 99.64 kB / 0.5867 GB, free: 2.422 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-05/0.3069, allocations: 59.98 kB / 0.5868 GB, free: 2.363 MB / 490.7 MB 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.0001506/0.3071, allocations: 205.4 kB / 0.587 GB, free: 2.152 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001983/0.3073, allocations: 87.73 kB / 0.5871 GB, free: 2.066 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002677/0.3075, allocations: 215.8 kB / 0.5873 GB, free: 1.848 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3075, allocations: 3.938 kB / 0.5873 GB, free: 1.844 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3076, allocations: 0 / 0.5873 GB, free: 1.844 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3076, allocations: 4 kB / 0.5873 GB, free: 1.84 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004498/0.308, allocations: 0.4985 MB / 0.5878 GB, free: 1.273 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.308, allocations: 0 / 0.5878 GB, free: 1.273 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.273e-05/0.3081, allocations: 31.92 kB / 0.5878 GB, free: 1.242 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.3081, allocations: 4.188 kB / 0.5878 GB, free: 1.238 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-06/0.3081, allocations: 5.969 kB / 0.5878 GB, free: 1.234 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002116/0.3083, allocations: 0.5853 MB / 0.5884 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.3083, allocations: 11.91 kB / 0.5884 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.3085, allocations: 252.5 kB / 0.5886 GB, free: 344 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.654e-05/0.3085, allocations: 35.77 kB / 0.5887 GB, free: 308 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.273e-05/0.3086, allocations: 11.95 kB / 0.5887 GB, free: 296 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.3087, allocations: 4.938 kB / 0.5887 GB, free: 292 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.226e-05/0.3087, allocations: 23.95 kB / 0.5887 GB, free: 268 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.3087, allocations: 15.98 kB / 0.5887 GB, free: 252 kB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001519/0.3089, allocations: 243.2 kB / 0.589 GB, free: 8 kB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3089, allocations: 0 / 0.589 GB, free: 8 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008566/0.3097, allocations: 347.2 kB / 0.5893 GB, free: 15.67 MB / 0.4948 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.00138/0.3111, allocations: 1.349 MB / 0.5906 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000413/0.3115, allocations: 327.2 kB / 0.5909 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3115, allocations: 0 / 0.5909 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.857e-05/0.3116, allocations: 44.53 kB / 0.591 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.3119, allocations: 65.86 kB / 0.591 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009176/0.3211, allocations: 10.15 MB / 0.6009 GB, free: 3.148 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.3212, allocations: 180.5 kB / 0.6011 GB, free: 2.949 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003955/0.3216, allocations: 246.3 kB / 0.6014 GB, free: 2.715 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.3218, allocations: 112.5 kB / 0.6015 GB, free: 2.602 MB / 0.4948 GB Notification: Performance of SimCode: time 1.342e-06/0.3218, allocations: 0 / 0.6015 GB, free: 2.602 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02823/0.35, allocations: 13.8 MB / 0.6149 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.016/8.366, allocations: 7 kB / 0.6149 GB, free: 4.992 MB / 0.5105 GB " [Timeout remaining time 652] (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: 10.284142100252211] 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'] 8.461417846381664 8.47360605 8.180008185 Calling exit ...