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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001378/0.001378, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.503/1.503, allocations: 227.2 MB / 245 MB, free: 7.648 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001066/0.001066, allocations: 108.4 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5272/0.5272, allocations: 45.23 MB / 394.6 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003108/0.0003109, allocations: 8 kB / 468.5 MB, free: 7.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5197/0.52, allocations: 63.24 MB / 0.5193 GB, free: 43.86 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.205/2.725, allocations: 0.8338 GB / 1.353 GB, free: 158.3 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003113/2.725, allocations: 81.69 kB / 1.353 GB, free: 158.3 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.2162/2.941, allocations: 102.8 MB / 1.454 GB, free: 91.77 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.823e-06/2.941, allocations: 0 / 1.454 GB, free: 91.77 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.699e-05/2.941, allocations: 8 kB / 1.454 GB, free: 91.76 MB / 0.5417 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.002998/2.944, allocations: 1.006 MB / 1.454 GB, free: 90.71 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/2.944, allocations: 11.97 kB / 1.455 GB, free: 90.7 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.927e-05/2.944, allocations: 94.45 kB / 1.455 GB, free: 90.59 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009177/2.954, allocations: 1.307 MB / 1.456 GB, free: 89.29 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/2.955, allocations: 382.5 kB / 1.456 GB, free: 88.87 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/2.955, allocations: 139.7 kB / 1.456 GB, free: 88.71 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/2.955, allocations: 31.95 kB / 1.456 GB, free: 88.68 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002321/2.957, allocations: 1.396 MB / 1.458 GB, free: 87.25 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/2.957, allocations: 3.938 kB / 1.458 GB, free: 87.25 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/2.957, allocations: 16 kB / 1.458 GB, free: 87.23 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.93e-05/2.958, allocations: 56.91 kB / 1.458 GB, free: 87.18 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003472/2.961, allocations: 2.119 MB / 1.46 GB, free: 85.05 MB / 0.5417 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.003564/2.965, allocations: 3.172 MB / 1.463 GB, free: 81.56 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/2.965, allocations: 78.52 kB / 1.463 GB, free: 81.48 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001468/2.966, allocations: 1.198 MB / 1.464 GB, free: 80.11 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/2.966, allocations: 34.55 kB / 1.464 GB, free: 80.06 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=12): time 2.495e-06/2.966, allocations: 4 kB / 1.464 GB, free: 80.06 MB / 0.5417 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=12): time 0.001174/2.968, allocations: 331.4 kB / 1.465 GB, free: 79.73 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/2.968, allocations: 67.3 kB / 1.465 GB, free: 79.65 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002985/2.968, allocations: 323.3 kB / 1.465 GB, free: 79.33 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/2.968, allocations: 33.7 kB / 1.465 GB, free: 79.29 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/2.968, allocations: 369.1 kB / 1.465 GB, free: 78.92 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.491e-05/2.968, allocations: 51.34 kB / 1.465 GB, free: 78.87 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-05/2.968, allocations: 16 kB / 1.465 GB, free: 78.86 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.997e-05/2.968, allocations: 338.8 kB / 1.466 GB, free: 78.52 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/2.968, allocations: 109.9 kB / 1.466 GB, free: 78.41 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003392/2.969, allocations: 0.5424 MB / 1.466 GB, free: 77.66 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002415/2.969, allocations: 211.8 kB / 1.467 GB, free: 77.45 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.341e-06/2.969, allocations: 4 kB / 1.467 GB, free: 77.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008292/2.97, allocations: 0.6462 MB / 1.467 GB, free: 76.79 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/2.97, allocations: 12 kB / 1.467 GB, free: 76.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/2.97, allocations: 16 kB / 1.467 GB, free: 76.77 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.626e-05/2.97, allocations: 20 kB / 1.467 GB, free: 76.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005243/2.97, allocations: 187.7 kB / 1.467 GB, free: 76.56 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000303/2.971, allocations: 0.6132 MB / 1.468 GB, free: 75.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000476/2.971, allocations: 99.09 kB / 1.468 GB, free: 75.83 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.987e-05/2.971, allocations: 67.98 kB / 1.468 GB, free: 75.76 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * 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 (86): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000188/2.972, allocations: 198.3 kB / 1.468 GB, free: 75.56 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.338e-05/2.972, allocations: 31.72 kB / 1.468 GB, free: 75.53 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003331/2.972, allocations: 182.6 kB / 1.469 GB, free: 75.33 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/2.972, allocations: 0 / 1.469 GB, free: 75.33 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/2.972, allocations: 0 / 1.469 GB, free: 75.33 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/2.972, allocations: 7.984 kB / 1.469 GB, free: 75.32 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004631/2.973, allocations: 487.9 kB / 1.469 GB, free: 74.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/2.973, allocations: 4 kB / 1.469 GB, free: 74.78 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/2.973, allocations: 27.98 kB / 1.469 GB, free: 74.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/2.973, allocations: 0 / 1.469 GB, free: 74.75 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/2.973, allocations: 4 kB / 1.469 GB, free: 74.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001769/2.973, allocations: 0.586 MB / 1.47 GB, free: 74.14 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/2.973, allocations: 0 / 1.47 GB, free: 74.14 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001746/2.973, allocations: 240.2 kB / 1.47 GB, free: 73.87 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/2.973, allocations: 120.9 kB / 1.47 GB, free: 73.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.262e-05/2.973, allocations: 4 kB / 1.47 GB, free: 73.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/2.973, allocations: 11.92 kB / 1.47 GB, free: 73.72 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.092e-05/2.973, allocations: 7.953 kB / 1.47 GB, free: 73.71 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/2.973, allocations: 15.98 kB / 1.47 GB, free: 73.7 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001881/2.974, allocations: 231 kB / 1.47 GB, free: 73.47 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.31e-07/2.974, allocations: 0 / 1.47 GB, free: 73.47 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00163/2.975, allocations: 407.9 kB / 1.471 GB, free: 73.07 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002274/2.978, allocations: 1.741 MB / 1.472 GB, free: 71.31 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005509/2.978, allocations: 311.1 kB / 1.473 GB, free: 71.01 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/2.978, allocations: 0 / 1.473 GB, free: 71.01 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.124e-05/2.978, allocations: 39.98 kB / 1.473 GB, free: 70.97 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/2.979, allocations: 41.34 kB / 1.473 GB, free: 70.93 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1052/3.084, allocations: 67.97 MB / 1.539 GB, free: 1.809 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/3.084, allocations: 0.7921 MB / 1.54 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0007339/3.085, allocations: 246.9 kB / 1.54 GB, free: 0.7422 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001894/3.085, allocations: 119.4 kB / 1.54 GB, free: 0.625 MB / 0.5417 GB Notification: Performance of SimCode: time 1.283e-06/3.085, allocations: 0 / 1.54 GB, free: 0.625 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3352/3.42, allocations: 21.22 MB / 1.561 GB, free: 127.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/3.42, allocations: 259.6 kB / 1.561 GB, free: 127.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.875/6.295, allocations: 0 / 1.561 GB, free: 127.4 MB / 0.5417 GB (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/linux/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 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat does not exist to compare? outputFormat=mat