Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001292/0.001292, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001404/0.001404, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.389/1.389, allocations: 230.5 MB / 258.2 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2149/0.2149, allocations: 46.92 MB / 361.6 MB, free: 4.184 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002368/0.002368, allocations: 71.88 kB / 0.497 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2925, allocations: 66.09 MB / 0.5615 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.1748/0.4672, allocations: 153.8 MB / 0.7117 GB, free: 9.891 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008628/0.4758, allocations: 6.86 MB / 0.7184 GB, free: 3.012 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000222/0.4761, allocations: 0 / 0.7184 GB, free: 3.012 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004808/0.4765, allocations: 79.55 kB / 0.7185 GB, free: 2.934 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006799/0.4833, allocations: 2.274 MB / 0.7207 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004176/0.4838, allocations: 150.5 kB / 0.7208 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009796/0.4847, allocations: 0.5179 MB / 0.7214 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.359e-05/0.4848, allocations: 16.58 kB / 0.7214 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004491/0.4852, allocations: 262.9 kB / 0.7216 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008868/0.4861, allocations: 494.5 kB / 0.7221 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.959e-05/0.4862, allocations: 12 kB / 0.7221 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005758/0.4919, allocations: 2.802 MB / 0.7248 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001756/0.4921, allocations: 167.5 kB / 0.725 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000254/0.4924, allocations: 211 kB / 0.7252 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003343/0.4957, allocations: 1.863 MB / 0.727 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.4957, allocations: 0 / 0.727 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4957, allocations: 0 / 0.727 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.4957, allocations: 0 / 0.727 GB, free: 10.17 MB / 0.5606 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.002208/0.4979, allocations: 0.9174 MB / 0.7279 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.498, allocations: 8.031 kB / 0.7279 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.491e-05/0.4981, allocations: 90.69 kB / 0.728 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003443/0.5015, allocations: 0.504 MB / 0.7285 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006208/0.5021, allocations: 317.5 kB / 0.7288 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001941/0.5023, allocations: 234.2 kB / 0.729 GB, free: 8 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.5024, allocations: 31.98 kB / 0.7291 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/0.504, allocations: 1.113 MB / 0.7301 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.504, allocations: 4 kB / 0.7301 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.658e-05/0.5041, allocations: 16 kB / 0.7302 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.476e-05/0.5042, allocations: 52.97 kB / 0.7302 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003199/0.5074, allocations: 2.272 MB / 0.7324 GB, free: 4.473 MB / 0.5606 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.00354/0.5109, allocations: 2.282 MB / 0.7347 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/0.5112, allocations: 98.56 kB / 0.7348 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.357e-05/0.5113, allocations: 49.03 kB / 0.7348 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003319/0.5146, allocations: 1.401 MB / 0.7362 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.5146, allocations: 38.56 kB / 0.7362 GB, free: 468 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.763e-06/0.5146, allocations: 0 / 0.7362 GB, free: 468 kB / 0.5606 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.00107/0.5157, allocations: 301.2 kB / 0.7365 GB, free: 160 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.5157, allocations: 51.41 kB / 0.7365 GB, free: 96 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2305/0.7462, allocations: 379.3 kB / 0.7369 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.716e-05/0.7463, allocations: 30.7 kB / 0.7369 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002003/0.7465, allocations: 373.3 kB / 0.7373 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.139e-05/0.7465, allocations: 69.53 kB / 0.7374 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002523/0.7468, allocations: 165.4 kB / 0.7375 GB, free: 175 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.269e-05/0.7468, allocations: 343.6 kB / 0.7378 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002887/0.7471, allocations: 121.8 kB / 0.738 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004719/0.7476, allocations: 0.5695 MB / 0.7385 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000713/0.7483, allocations: 0.739 MB / 0.7392 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.577e-05/0.7483, allocations: 4.406 kB / 0.7392 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001471/0.7498, allocations: 0.7572 MB / 0.74 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.7498, allocations: 15.06 kB / 0.74 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.7498, allocations: 15.81 kB / 0.74 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.987e-05/0.7499, allocations: 21.19 kB / 0.74 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004895/0.7504, allocations: 184 kB / 0.7402 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002456/0.7506, allocations: 0.6165 MB / 0.7408 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004409/0.751, allocations: 95.14 kB / 0.7409 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.999e-05/0.7511, allocations: 57.39 kB / 0.741 GB, free: 172.4 MB / 0.5606 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.0001671/0.7513, allocations: 206.5 kB / 0.7411 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003129/0.7516, allocations: 96.72 kB / 0.7412 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003064/0.7519, allocations: 201.2 kB / 0.7414 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.7519, allocations: 0 / 0.7414 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.7519, allocations: 7.812 kB / 0.7414 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.7519, allocations: 4.469 kB / 0.7414 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005319/0.7524, allocations: 0.5122 MB / 0.7419 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.7524, allocations: 3.812 kB / 0.7419 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.7525, allocations: 27.55 kB / 0.742 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.7526, allocations: 3.906 kB / 0.742 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.7526, allocations: 8.859 kB / 0.742 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001586/0.7527, allocations: 0.5945 MB / 0.7426 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.7527, allocations: 0 / 0.7426 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001913/0.7529, allocations: 263.3 kB / 0.7428 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.934e-05/0.753, allocations: 41.84 kB / 0.7429 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.132e-05/0.753, allocations: 4.859 kB / 0.7429 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002321/0.7533, allocations: 10.88 kB / 0.7429 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.26e-05/0.7533, allocations: 8.109 kB / 0.7429 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.7533, allocations: 9.375 kB / 0.7429 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001942/0.7535, allocations: 245.9 kB / 0.7431 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.7535, allocations: 3.938 kB / 0.7431 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001039/0.7545, allocations: 356.4 kB / 0.7435 GB, free: 170.7 MB / 0.5606 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.001567/0.7561, allocations: 1.324 MB / 0.7448 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005363/0.7566, allocations: 331 kB / 0.7451 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.7566, allocations: 0 / 0.7451 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.977e-05/0.7567, allocations: 41.56 kB / 0.7451 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004741/0.7572, allocations: 65.58 kB / 0.7452 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/0.7674, allocations: 10.22 MB / 0.7552 GB, free: 160 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001686/0.7676, allocations: 0.7879 MB / 0.7559 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004634/0.7681, allocations: 239 kB / 0.7562 GB, free: 159 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.7682, allocations: 115.4 kB / 0.7563 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of SimCode: time 7.21e-07/0.7682, allocations: 0 / 0.7563 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0352/0.8034, allocations: 13.48 MB / 0.7694 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.96, allocations: 0 / 0.7694 GB, free: 145.5 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201879 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.836885207798332] 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'] 13.061205432284623 13.071239991 12.573250471 Calling exit ...