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.001114/0.001114, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.216/1.216, allocations: 225.4 MB / 240.1 MB, free: 15.17 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008819/0.0008818, allocations: 96.62 kB / 292.1 MB, free: 5.969 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1834/0.1834, allocations: 45.14 MB / 389.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.854e-05/2.856e-05, allocations: 4 kB / 460.5 MB, free: 69.95 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09606/0.09611, allocations: 63.24 MB / 0.5114 GB, free: 6.73 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.705/1.801, allocations: 0.8337 GB / 1.345 GB, free: 40.46 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/1.801, allocations: 71.78 kB / 1.345 GB, free: 40.43 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.4421/2.243, allocations: 102.8 MB / 1.446 GB, free: 170.4 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.142e-06/2.243, allocations: 0 / 1.446 GB, free: 170.4 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.157e-05/2.243, allocations: 4 kB / 1.446 GB, free: 170.4 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.002394/2.246, allocations: 1.001 MB / 1.447 GB, free: 169.3 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/2.246, allocations: 11.97 kB / 1.447 GB, free: 169.3 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.77e-05/2.246, allocations: 86.47 kB / 1.447 GB, free: 169.2 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008789/2.255, allocations: 1.307 MB / 1.448 GB, free: 167.9 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007071/2.255, allocations: 390.4 kB / 1.448 GB, free: 167.5 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.349e-05/2.255, allocations: 131.6 kB / 1.448 GB, free: 167.3 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/2.256, allocations: 32 kB / 1.448 GB, free: 167.3 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001738/2.257, allocations: 1.329 MB / 1.45 GB, free: 165.9 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/2.257, allocations: 0 / 1.45 GB, free: 165.9 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001315/2.257, allocations: 23.95 kB / 1.45 GB, free: 165.9 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.005e-05/2.258, allocations: 44.75 kB / 1.45 GB, free: 165.9 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002662/2.26, allocations: 2.037 MB / 1.452 GB, free: 163.8 MB / 0.5417 GB Warning: The model contains alias variables with conflicting start and/or 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.00283/2.263, allocations: 3.17 MB / 1.455 GB, free: 160.3 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/2.263, allocations: 78.59 kB / 1.455 GB, free: 160.2 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.911e-05/2.263, allocations: 37 kB / 1.455 GB, free: 160.2 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001332/2.265, allocations: 1.206 MB / 1.456 GB, free: 158.8 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/2.265, allocations: 38.5 kB / 1.456 GB, free: 158.8 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=12): time 2.375e-06/2.265, allocations: 3.938 kB / 1.456 GB, free: 158.8 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.0009945/2.266, allocations: 321 kB / 1.457 GB, free: 158.5 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.93e-05/2.266, allocations: 51.41 kB / 1.457 GB, free: 158.4 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/2.266, allocations: 326.3 kB / 1.457 GB, free: 158.1 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/2.266, allocations: 25.7 kB / 1.457 GB, free: 158 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/2.266, allocations: 369.1 kB / 1.457 GB, free: 157.7 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/2.266, allocations: 51.44 kB / 1.457 GB, free: 157.6 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.14e-05/2.266, allocations: 16 kB / 1.457 GB, free: 157.6 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.824e-05/2.266, allocations: 338.8 kB / 1.458 GB, free: 157.3 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/2.266, allocations: 113.5 kB / 1.458 GB, free: 157.2 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002434/2.267, allocations: 0.5285 MB / 1.458 GB, free: 156.4 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/2.267, allocations: 217.7 kB / 1.459 GB, free: 156.2 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.259e-06/2.267, allocations: 4 kB / 1.459 GB, free: 156.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007701/2.268, allocations: 0.642 MB / 1.459 GB, free: 155.6 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/2.268, allocations: 17.34 kB / 1.459 GB, free: 155.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/2.268, allocations: 16 kB / 1.459 GB, free: 155.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/2.268, allocations: 24 kB / 1.459 GB, free: 155.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004017/2.268, allocations: 175.7 kB / 1.459 GB, free: 155.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002071/2.268, allocations: 0.6171 MB / 1.46 GB, free: 154.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004037/2.269, allocations: 99.36 kB / 1.46 GB, free: 154.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.054e-05/2.269, allocations: 60 kB / 1.46 GB, free: 154.5 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 () * 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.0001029/2.269, allocations: 164.4 kB / 1.46 GB, free: 154.4 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.312e-05/2.269, allocations: 35.61 kB / 1.46 GB, free: 154.3 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002999/2.269, allocations: 163 kB / 1.46 GB, free: 154.2 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/2.269, allocations: 4 kB / 1.46 GB, free: 154.2 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/2.269, allocations: 4 kB / 1.46 GB, free: 154.1 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/2.269, allocations: 3.953 kB / 1.46 GB, free: 154.1 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004367/2.27, allocations: 484 kB / 1.461 GB, free: 153.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/2.27, allocations: 0 / 1.461 GB, free: 153.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.788e-05/2.27, allocations: 31.92 kB / 1.461 GB, free: 153.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/2.27, allocations: 96 / 1.461 GB, free: 153.6 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/2.27, allocations: 7.891 kB / 1.461 GB, free: 153.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001567/2.27, allocations: 0.5861 MB / 1.462 GB, free: 153 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/2.27, allocations: 0 / 1.462 GB, free: 153 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/2.27, allocations: 244.3 kB / 1.462 GB, free: 152.7 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 9.064e-05/2.27, allocations: 124.7 kB / 1.462 GB, free: 152.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.535e-05/2.27, allocations: 0 / 1.462 GB, free: 152.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/2.271, allocations: 8 kB / 1.462 GB, free: 152.5 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.726e-05/2.271, allocations: 7.984 kB / 1.462 GB, free: 152.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/2.271, allocations: 8 kB / 1.462 GB, free: 152.5 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000164/2.271, allocations: 238 kB / 1.462 GB, free: 152.3 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.31e-07/2.271, allocations: 0 / 1.462 GB, free: 152.3 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001313/2.272, allocations: 415.9 kB / 1.463 GB, free: 151.9 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 () * 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.001892/2.274, allocations: 1.724 MB / 1.464 GB, free: 150.1 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004351/2.274, allocations: 318.4 kB / 1.465 GB, free: 149.8 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/2.274, allocations: 4 kB / 1.465 GB, free: 149.8 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 7.7e-05/2.275, allocations: 31.92 kB / 1.465 GB, free: 149.8 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/2.275, allocations: 38.28 kB / 1.465 GB, free: 149.8 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09576/2.371, allocations: 56.12 MB / 1.519 GB, free: 92.82 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001809/2.371, allocations: 0.7921 MB / 1.52 GB, free: 92 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006508/2.371, allocations: 234.9 kB / 1.52 GB, free: 91.76 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/2.372, allocations: 119.4 kB / 1.521 GB, free: 91.64 MB / 0.5417 GB Notification: Performance of SimCode: time 1.002e-06/2.372, allocations: 0 / 1.521 GB, free: 91.64 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03244/2.404, allocations: 23.26 MB / 1.543 GB, free: 68.53 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001395/2.404, allocations: 240.7 kB / 1.543 GB, free: 68.25 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.431/4.835, allocations: 0 / 1.543 GB, free: 68.25 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