Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003195/0.003194, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.089/2.089, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001128/0.001127, allocations: 86.66 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2976/0.2976, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.739e-05/3.749e-05, allocations: 4 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1267, allocations: 58.86 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.931/3.058, allocations: 0.8671 GB / 1.34 GB, free: 160.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/3.058, allocations: 78.08 kB / 1.34 GB, free: 160.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.4194/3.477, allocations: 110.7 MB / 1.448 GB, free: 64.61 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.783e-06/3.477, allocations: 0 / 1.448 GB, free: 64.61 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.719e-05/3.477, allocations: 11.98 kB / 1.448 GB, free: 64.59 MB / 0.5105 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.003498/3.481, allocations: 0.9153 MB / 1.449 GB, free: 63.63 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/3.481, allocations: 12.03 kB / 1.449 GB, free: 63.62 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001296/3.481, allocations: 90.5 kB / 1.449 GB, free: 63.52 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01583/3.497, allocations: 1.256 MB / 1.45 GB, free: 62.27 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/3.498, allocations: 386.3 kB / 1.451 GB, free: 61.85 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001581/3.498, allocations: 127.6 kB / 1.451 GB, free: 61.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002726/3.499, allocations: 32 kB / 1.451 GB, free: 61.66 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003225/3.502, allocations: 1.352 MB / 1.452 GB, free: 60.29 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.844e-05/3.502, allocations: 3.938 kB / 1.452 GB, free: 60.28 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002322/3.502, allocations: 19.94 kB / 1.452 GB, free: 60.26 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-05/3.502, allocations: 48.75 kB / 1.452 GB, free: 60.21 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005241/3.508, allocations: 2.052 MB / 1.454 GB, free: 58.16 MB / 0.5105 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.004883/3.513, allocations: 3.008 MB / 1.457 GB, free: 54.87 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/3.513, allocations: 106.6 kB / 1.457 GB, free: 54.76 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/3.513, allocations: 48.94 kB / 1.457 GB, free: 54.71 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00198/3.515, allocations: 1.169 MB / 1.459 GB, free: 53.37 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/3.515, allocations: 38.52 kB / 1.459 GB, free: 53.32 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 3.126e-06/3.515, allocations: 0 / 1.459 GB, free: 53.32 MB / 0.5105 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=18): time 0.001877/3.517, allocations: 357.1 kB / 1.459 GB, free: 52.96 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/3.517, allocations: 55.39 kB / 1.459 GB, free: 52.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004134/3.517, allocations: 310.2 kB / 1.459 GB, free: 52.59 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/3.517, allocations: 29.7 kB / 1.459 GB, free: 52.55 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001884/3.518, allocations: 419.9 kB / 1.46 GB, free: 52.13 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.699e-05/3.518, allocations: 71.03 kB / 1.46 GB, free: 52.06 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/3.518, allocations: 12 kB / 1.46 GB, free: 52.05 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.33e-05/3.518, allocations: 338.8 kB / 1.46 GB, free: 51.71 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/3.518, allocations: 105.5 kB / 1.46 GB, free: 51.61 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004462/3.519, allocations: 0.5238 MB / 1.461 GB, free: 50.88 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000437/3.519, allocations: 225.4 kB / 1.461 GB, free: 50.66 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/3.519, allocations: 8 kB / 1.461 GB, free: 50.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001404/3.52, allocations: 0.6332 MB / 1.462 GB, free: 50.02 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/3.521, allocations: 12 kB / 1.462 GB, free: 50.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.118e-05/3.521, allocations: 19.95 kB / 1.462 GB, free: 49.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.103e-05/3.521, allocations: 28.06 kB / 1.462 GB, free: 49.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009172/3.522, allocations: 179.7 kB / 1.462 GB, free: 49.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003322/3.522, allocations: 0.6094 MB / 1.462 GB, free: 49.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007216/3.523, allocations: 99.02 kB / 1.462 GB, free: 49.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.189e-05/3.523, allocations: 60.09 kB / 1.462 GB, free: 49 MB / 0.5105 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.0001572/3.523, allocations: 156.6 kB / 1.463 GB, free: 48.84 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/3.523, allocations: 39.7 kB / 1.463 GB, free: 48.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007602/3.524, allocations: 244.3 kB / 1.463 GB, free: 48.55 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/3.524, allocations: 0 / 1.463 GB, free: 48.55 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/3.524, allocations: 8 kB / 1.463 GB, free: 48.54 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/3.524, allocations: 0 / 1.463 GB, free: 48.54 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/3.525, allocations: 0.7802 MB / 1.464 GB, free: 47.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/3.525, allocations: 4 kB / 1.464 GB, free: 47.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002677/3.525, allocations: 44.09 kB / 1.464 GB, free: 47.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.428e-06/3.525, allocations: 4 kB / 1.464 GB, free: 47.59 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/3.525, allocations: 8 kB / 1.464 GB, free: 47.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002563/3.526, allocations: 0.586 MB / 1.464 GB, free: 46.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/3.526, allocations: 0 / 1.464 GB, free: 46.98 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003989/3.526, allocations: 350.6 kB / 1.465 GB, free: 46.56 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001755/3.526, allocations: 124.7 kB / 1.465 GB, free: 46.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.091e-05/3.526, allocations: 11.98 kB / 1.465 GB, free: 46.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003973/3.527, allocations: 8 kB / 1.465 GB, free: 46.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.893e-05/3.527, allocations: 15.92 kB / 1.465 GB, free: 46.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.921e-05/3.527, allocations: 15.98 kB / 1.465 GB, free: 46.37 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002767/3.527, allocations: 222.1 kB / 1.465 GB, free: 46.16 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.61e-07/3.527, allocations: 0 / 1.465 GB, free: 46.16 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002081/3.529, allocations: 459.5 kB / 1.465 GB, free: 45.71 MB / 0.5105 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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.004002/3.533, allocations: 2.223 MB / 1.468 GB, free: 43.42 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009744/3.534, allocations: 319.4 kB / 1.468 GB, free: 43.11 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/3.534, allocations: 0 / 1.468 GB, free: 43.11 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001908/3.535, allocations: 55.86 kB / 1.468 GB, free: 43.05 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006756/3.535, allocations: 57.86 kB / 1.468 GB, free: 42.99 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5627/4.098, allocations: 52.41 MB / 1.519 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/4.098, allocations: 0.7936 MB / 1.52 GB, free: 132.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004691/4.099, allocations: 131.8 kB / 1.52 GB, free: 132.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.233e-06/4.099, allocations: 0 / 1.52 GB, free: 132.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.455/7.554, allocations: 15.22 MB / 1.535 GB, free: 132.1 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat does not exist to compare? outputFormat=mat