Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.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.0008289/0.0008289, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.000882/0.000882, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.91/0.91, allocations: 177 MB / 204.1 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2662/0.2662, allocations: 34.23 MB / 294.8 MB, free: 0.6992 MB / 266.7 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.FlueGasSixComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 442.2 MB, free: 1.562 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/2.003e-05, allocations: 2.281 kB / 442.2 MB, free: 1.559 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.2757/0.2758, allocations: 132.3 MB / 0.561 GB, free: 12.21 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.00451/0.2803, allocations: 6.114 MB / 0.5669 GB, free: 6.086 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.939e-05/0.2804, allocations: 0 / 0.5669 GB, free: 6.086 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003414/0.2807, allocations: 71.52 kB / 0.567 GB, free: 6.016 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003136/0.2838, allocations: 2.314 MB / 0.5693 GB, free: 3.695 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.284, allocations: 151.2 kB / 0.5694 GB, free: 3.555 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004394/0.2845, allocations: 0.5362 MB / 0.5699 GB, free: 3.02 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.303e-05/0.2845, allocations: 12.59 kB / 0.57 GB, free: 3.012 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003554/0.2849, allocations: 318.9 kB / 0.5703 GB, free: 2.699 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005077/0.2854, allocations: 470.8 kB / 0.5707 GB, free: 2.238 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.2854, allocations: 12 kB / 0.5707 GB, free: 2.227 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0027/0.2881, allocations: 2.332 MB / 0.573 GB, free: 15.89 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.2882, allocations: 179.5 kB / 0.5732 GB, free: 15.71 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.2883, allocations: 159.7 kB / 0.5733 GB, free: 15.56 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001699/0.29, allocations: 1.999 MB / 0.5753 GB, free: 13.55 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.29, allocations: 0 / 0.5753 GB, free: 13.55 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.29, allocations: 0 / 0.5753 GB, free: 13.55 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.29, allocations: 0 / 0.5753 GB, free: 13.55 MB / 490.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.001472/0.2915, allocations: 0.9065 MB / 0.5762 GB, free: 12.62 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.2915, allocations: 12.03 kB / 0.5762 GB, free: 12.61 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.933e-05/0.2916, allocations: 90.64 kB / 0.5763 GB, free: 12.51 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001863/0.2935, allocations: 0.504 MB / 0.5767 GB, free: 12.01 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004289/0.2939, allocations: 313.2 kB / 0.577 GB, free: 11.68 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.294, allocations: 234.6 kB / 0.5773 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.293e-05/0.2941, allocations: 32 kB / 0.5773 GB, free: 11.36 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.2955, allocations: 1.41 MB / 0.5787 GB, free: 9.848 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.2955, allocations: 6.625 kB / 0.5787 GB, free: 9.844 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.946e-05/0.2956, allocations: 16 kB / 0.5787 GB, free: 9.828 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.735e-05/0.2956, allocations: 56.95 kB / 0.5788 GB, free: 9.773 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001939/0.2976, allocations: 2.244 MB / 0.5809 GB, free: 7.527 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.001976/0.2995, allocations: 2.088 MB / 0.583 GB, free: 5.379 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.2997, allocations: 90.56 kB / 0.5831 GB, free: 5.281 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.922e-05/0.2998, allocations: 49.09 kB / 0.5831 GB, free: 5.23 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001635/0.3014, allocations: 1.402 MB / 0.5845 GB, free: 3.809 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.3014, allocations: 42.5 kB / 0.5845 GB, free: 3.758 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.052e-06/0.3014, allocations: 0 / 0.5845 GB, free: 3.758 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.0006397/0.302, allocations: 305.2 kB / 0.5848 GB, free: 3.453 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.3021, allocations: 51.41 kB / 0.5849 GB, free: 3.391 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005005/0.3026, allocations: 407.9 kB / 0.5853 GB, free: 2.984 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.3026, allocations: 25.7 kB / 0.5853 GB, free: 2.953 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.3027, allocations: 375.6 kB / 0.5856 GB, free: 2.582 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.571e-05/0.3028, allocations: 67.47 kB / 0.5857 GB, free: 2.516 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.3029, allocations: 162.5 kB / 0.5859 GB, free: 2.352 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.447e-05/0.303, allocations: 346.7 kB / 0.5862 GB, free: 2.004 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.3031, allocations: 129.9 kB / 0.5863 GB, free: 1.875 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002976/0.3034, allocations: 0.5647 MB / 0.5869 GB, free: 1.09 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004665/0.3039, allocations: 0.7487 MB / 0.5876 GB, free: 124 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.3039, allocations: 4 kB / 0.5876 GB, free: 120 kB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0007837/0.3046, allocations: 0.747 MB / 0.5883 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.3047, allocations: 15.38 kB / 0.5883 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.3047, allocations: 16 kB / 0.5884 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.3047, allocations: 20 kB / 0.5884 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.305, allocations: 187.7 kB / 0.5886 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002377/0.3052, allocations: 0.6249 MB / 0.5892 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002332/0.3054, allocations: 91.3 kB / 0.5893 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.225e-05/0.3055, allocations: 60 kB / 0.5893 GB, free: 14.34 MB / 0.4948 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.0001366/0.3056, allocations: 206.7 kB / 0.5895 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001845/0.3058, allocations: 95.81 kB / 0.5896 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002315/0.306, allocations: 194.7 kB / 0.5898 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.306, allocations: 10.62 kB / 0.5898 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.306, allocations: 3.938 kB / 0.5898 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.306, allocations: 4.031 kB / 0.5898 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004039/0.3064, allocations: 0.5062 MB / 0.5903 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3064, allocations: 0 / 0.5903 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.912e-05/0.3065, allocations: 31.92 kB / 0.5903 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.3065, allocations: 4 kB / 0.5903 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.3065, allocations: 4 kB / 0.5903 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001794/0.3067, allocations: 0.5822 MB / 0.5909 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3067, allocations: 3.938 kB / 0.5909 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.3069, allocations: 268.7 kB / 0.5912 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.441e-05/0.3069, allocations: 39.7 kB / 0.5912 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.037e-05/0.3069, allocations: 7.953 kB / 0.5912 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.3071, allocations: 10.34 kB / 0.5912 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.182e-05/0.3071, allocations: 23.84 kB / 0.5912 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.3071, allocations: 8 kB / 0.5913 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001497/0.3072, allocations: 243.2 kB / 0.5915 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.3072, allocations: 0 / 0.5915 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008028/0.308, allocations: 351.2 kB / 0.5918 GB, free: 11.63 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.00122/0.3093, allocations: 1.345 MB / 0.5931 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003706/0.3096, allocations: 341.6 kB / 0.5935 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3096, allocations: 0 / 0.5935 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.014e-05/0.3097, allocations: 43.91 kB / 0.5935 GB, free: 9.871 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.31, allocations: 59.39 kB / 0.5936 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008434/0.3184, allocations: 10.14 MB / 0.6035 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.3186, allocations: 180.5 kB / 0.6036 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003446/0.3189, allocations: 236.9 kB / 0.6039 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.319, allocations: 116.5 kB / 0.604 GB, free: 14.58 MB / 0.5105 GB Notification: Performance of SimCode: time 7.51e-07/0.319, allocations: 0 / 0.604 GB, free: 14.58 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.3425, allocations: 13.79 MB / 0.6174 GB, free: 0.957 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.906/8.248, allocations: 7.875 kB / 0.6174 GB, free: 0.9492 MB / 0.5105 GB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.237017870880663] 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.344619264826179 8.353244764 8.061076907 Calling exit ...