Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.FlueGas.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) 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(Modelica.Media.Examples.TestOnly.FlueGas,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.FlueGas,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_TestOnly_FlueGas",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.001572/0.001571, allocations: 182.4 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.129/2.129, 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.00117/0.001169, allocations: 90.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.14e-05/4.16e-05, allocations: 4 kB / 321.6 MB, free: 17.74 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1362, allocations: 47.57 MB / 369.2 MB, free: 2.105 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.467/2.604, allocations: 0.7545 GB / 1.115 GB, free: 65.66 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/2.604, allocations: 79.52 kB / 1.115 GB, free: 65.62 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2072/2.811, allocations: 61.84 MB / 1.176 GB, free: 5.887 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.533e-06/2.811, allocations: 0 / 1.176 GB, free: 5.887 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.462e-05/2.811, allocations: 4 kB / 1.176 GB, free: 5.883 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0008235/2.812, allocations: 487.2 kB / 1.176 GB, free: 5.359 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/2.812, allocations: 12.03 kB / 1.176 GB, free: 5.348 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.957e-05/2.812, allocations: 54.55 kB / 1.176 GB, free: 5.285 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009337/2.822, allocations: 0.7019 MB / 1.177 GB, free: 4.582 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006795/2.822, allocations: 274.8 kB / 1.177 GB, free: 4.273 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/2.822, allocations: 12.33 kB / 1.177 GB, free: 4.262 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001746/2.823, allocations: 27.91 kB / 1.177 GB, free: 4.234 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001662/2.824, allocations: 0.6605 MB / 1.178 GB, free: 3.559 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/2.824, allocations: 0 / 1.178 GB, free: 3.559 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/2.824, allocations: 11.95 kB / 1.178 GB, free: 3.547 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.992e-05/2.824, allocations: 11.98 kB / 1.178 GB, free: 3.535 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001921/2.826, allocations: 0.7067 MB / 1.178 GB, free: 2.828 MB / 426.7 MB 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.004125/2.831, allocations: 1.214 MB / 1.18 GB, free: 1.566 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007154/2.831, allocations: 297.1 kB / 1.18 GB, free: 1.258 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004304/2.832, allocations: 189.7 kB / 1.18 GB, free: 1.066 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007804/2.833, allocations: 254.3 kB / 1.18 GB, free: 0.7812 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/2.833, allocations: 38.56 kB / 1.18 GB, free: 0.7344 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 2.945e-06/2.833, allocations: 0 / 1.18 GB, free: 0.7344 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.001159/2.834, allocations: 377.2 kB / 1.181 GB, free: 368 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/2.834, allocations: 77.11 kB / 1.181 GB, free: 272 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/2.834, allocations: 120.9 kB / 1.181 GB, free: 144 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.3e-05/2.834, allocations: 37.7 kB / 1.181 GB, free: 100 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2827/3.117, allocations: 178.6 kB / 1.181 GB, free: 128.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002123/3.117, allocations: 96.48 kB / 1.181 GB, free: 128.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.732e-05/3.117, allocations: 7.156 kB / 1.181 GB, free: 128.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.032e-05/3.117, allocations: 323.5 kB / 1.182 GB, free: 128.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005502/3.118, allocations: 165.1 kB / 1.182 GB, free: 128.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005933/3.118, allocations: 262 kB / 1.182 GB, free: 128 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006314/3.119, allocations: 207.2 kB / 1.182 GB, free: 128 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/3.119, allocations: 1.156 kB / 1.182 GB, free: 128 MB / 426.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001481/3.12, allocations: 483.4 kB / 1.183 GB, free: 128 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/3.121, allocations: 10.2 kB / 1.183 GB, free: 128 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/3.121, allocations: 2.844 kB / 1.183 GB, free: 128 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.67e-05/3.121, allocations: 5.75 kB / 1.183 GB, free: 128 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/3.122, allocations: 83.8 kB / 1.183 GB, free: 128 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.981e-05/3.122, allocations: 8.219 kB / 1.183 GB, free: 128 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007514/3.122, allocations: 42.92 kB / 1.183 GB, free: 128 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.943e-05/3.123, allocations: 19.38 kB / 1.183 GB, free: 128 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001909/3.123, allocations: 125.3 kB / 1.183 GB, free: 127.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/3.123, allocations: 15.09 kB / 1.183 GB, free: 127.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001539/3.124, allocations: 455.9 kB / 1.183 GB, free: 127.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/3.124, allocations: 7.453 kB / 1.183 GB, free: 127.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/3.125, allocations: 0 / 1.183 GB, free: 127.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/3.125, allocations: 3.656 kB / 1.183 GB, free: 127.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001278/3.126, allocations: 0.4889 MB / 1.184 GB, free: 127.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/3.126, allocations: 0 / 1.184 GB, free: 127.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009917/3.127, allocations: 61.95 kB / 1.184 GB, free: 127.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.939e-06/3.127, allocations: 1.312 kB / 1.184 GB, free: 127.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-05/3.127, allocations: 19.08 kB / 1.184 GB, free: 127.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.633e-06/3.127, allocations: 3.484 kB / 1.184 GB, free: 127.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/3.127, allocations: 2.312 kB / 1.184 GB, free: 127.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/3.129, allocations: 0.6418 MB / 1.185 GB, free: 127.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.676e-05/3.129, allocations: 96.75 kB / 1.185 GB, free: 127.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.776e-05/3.129, allocations: 8.344 kB / 1.185 GB, free: 127.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008231/3.13, allocations: 19.69 kB / 1.185 GB, free: 127.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.142e-05/3.13, allocations: 20.98 kB / 1.185 GB, free: 127.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.841e-05/3.13, allocations: 19.48 kB / 1.185 GB, free: 127.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.233e-05/3.13, allocations: 97.41 kB / 1.185 GB, free: 127.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.7e-07/3.13, allocations: 0 / 1.185 GB, free: 127.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00134/3.131, allocations: 206.1 kB / 1.185 GB, free: 127.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (state.p,state.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004162/3.135, allocations: 1.9 MB / 1.187 GB, free: 126.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001296/3.137, allocations: 406.6 kB / 1.187 GB, free: 126.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/3.137, allocations: 1.156 kB / 1.187 GB, free: 126.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000526/3.137, allocations: 197.6 kB / 1.187 GB, free: 126.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/3.138, allocations: 83.77 kB / 1.187 GB, free: 126.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002655/3.141, allocations: 0.9146 MB / 1.188 GB, free: 126 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/3.141, allocations: 0.7423 MB / 1.189 GB, free: 125.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004944/3.142, allocations: 67.09 kB / 1.189 GB, free: 125.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.292e-06/3.142, allocations: 4.062 kB / 1.189 GB, free: 125.3 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.919/6.061, allocations: 10.35 MB / 1.199 GB, free: 124.4 MB / 426.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.FlueGas.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.FlueGas.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.FlueGas_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_TestOnly_FlueGas.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.FlueGas.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.FlueGas_res.mat does not exist to compare? outputFormat=mat