Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 180.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.739/1.739, allocations: 221.3 MB / 236 MB, free: 2.965 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 91.73 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2752/0.2752, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.683e-05/3.687e-05, allocations: 224 / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1728, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.394/2.567, allocations: 0.7325 GB / 1.234 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/2.568, allocations: 75.95 kB / 1.234 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1236/2.691, allocations: 63.55 MB / 1.296 GB, free: 45.12 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.274e-06/2.691, allocations: 0 / 1.296 GB, free: 45.12 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.644e-05/2.691, allocations: 4 kB / 1.296 GB, free: 45.12 MB / 0.5261 GB 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.0008077/2.692, allocations: 486.5 kB / 1.297 GB, free: 44.59 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/2.692, allocations: 8.031 kB / 1.297 GB, free: 44.59 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.451e-05/2.692, allocations: 54.55 kB / 1.297 GB, free: 44.52 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005244/2.697, allocations: 0.7219 MB / 1.298 GB, free: 43.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005148/2.698, allocations: 278.7 kB / 1.298 GB, free: 43.49 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/2.698, allocations: 16.33 kB / 1.298 GB, free: 43.47 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/2.698, allocations: 16 kB / 1.298 GB, free: 43.46 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/2.699, allocations: 0.645 MB / 1.299 GB, free: 42.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/2.699, allocations: 0 / 1.299 GB, free: 42.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.259e-05/2.699, allocations: 7.953 kB / 1.299 GB, free: 42.79 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.542e-05/2.699, allocations: 11.94 kB / 1.299 GB, free: 42.78 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/2.7, allocations: 0.695 MB / 1.299 GB, free: 42.08 MB / 0.5261 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.002419/2.703, allocations: 1.206 MB / 1.3 GB, free: 40.82 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004121/2.703, allocations: 289 kB / 1.301 GB, free: 40.52 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/2.703, allocations: 189.7 kB / 1.301 GB, free: 40.32 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007771/2.704, allocations: 367.2 kB / 1.301 GB, free: 39.91 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/2.704, allocations: 46.5 kB / 1.301 GB, free: 39.86 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=25): time 3.046e-06/2.704, allocations: 0 / 1.301 GB, free: 39.86 MB / 0.5261 GB Notification: Performance of matching and sorting (n=25): time 0.0007269/2.705, allocations: 363.1 kB / 1.302 GB, free: 39.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/2.705, allocations: 85.05 kB / 1.302 GB, free: 39.39 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.397e-05/2.705, allocations: 126 kB / 1.302 GB, free: 39.27 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.004e-05/2.705, allocations: 29.7 kB / 1.302 GB, free: 39.23 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.832e-05/2.705, allocations: 116.4 kB / 1.302 GB, free: 39.11 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.351e-05/2.705, allocations: 106.5 kB / 1.302 GB, free: 39.01 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-05/2.705, allocations: 8 kB / 1.302 GB, free: 39 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.124e-05/2.706, allocations: 322.8 kB / 1.302 GB, free: 38.68 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002274/2.706, allocations: 160 kB / 1.303 GB, free: 38.52 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002739/2.706, allocations: 268.8 kB / 1.303 GB, free: 38.21 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/2.706, allocations: 193.4 kB / 1.303 GB, free: 38.02 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/2.706, allocations: 0 / 1.303 GB, free: 38.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007268/2.707, allocations: 481.2 kB / 1.303 GB, free: 37.55 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/2.707, allocations: 15.94 kB / 1.303 GB, free: 37.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/2.707, allocations: 4 kB / 1.303 GB, free: 37.53 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/2.707, allocations: 4 kB / 1.303 GB, free: 37.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005065/2.708, allocations: 79.89 kB / 1.304 GB, free: 37.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/2.708, allocations: 7.938 kB / 1.304 GB, free: 37.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004069/2.708, allocations: 43.91 kB / 1.304 GB, free: 37.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.214e-05/2.708, allocations: 20 kB / 1.304 GB, free: 37.38 MB / 0.5261 GB 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.0001499/2.708, allocations: 124.8 kB / 1.304 GB, free: 37.25 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/2.708, allocations: 15.81 kB / 1.304 GB, free: 37.23 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008096/2.709, allocations: 463 kB / 1.304 GB, free: 36.77 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/2.709, allocations: 4 kB / 1.304 GB, free: 36.77 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/2.709, allocations: 4 kB / 1.304 GB, free: 36.77 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/2.709, allocations: 3.984 kB / 1.304 GB, free: 36.76 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006821/2.71, allocations: 0.4971 MB / 1.305 GB, free: 36.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/2.71, allocations: 0 / 1.305 GB, free: 36.22 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004609/2.71, allocations: 63.83 kB / 1.305 GB, free: 36.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/2.71, allocations: 7.953 kB / 1.305 GB, free: 36.15 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.101e-05/2.71, allocations: 11.98 kB / 1.305 GB, free: 36.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/2.711, allocations: 4 kB / 1.305 GB, free: 36.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/2.711, allocations: 0 / 1.305 GB, free: 36.13 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008201/2.711, allocations: 0.6469 MB / 1.305 GB, free: 35.46 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.883e-05/2.711, allocations: 88.95 kB / 1.305 GB, free: 35.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.022e-05/2.711, allocations: 8 kB / 1.305 GB, free: 35.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004493/2.712, allocations: 27.88 kB / 1.305 GB, free: 35.32 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/2.712, allocations: 11.98 kB / 1.306 GB, free: 35.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.141e-05/2.712, allocations: 23.97 kB / 1.306 GB, free: 35.28 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.119e-05/2.712, allocations: 103.7 kB / 1.306 GB, free: 35.18 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/2.712, allocations: 0 / 1.306 GB, free: 35.18 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009857/2.713, allocations: 199.8 kB / 1.306 GB, free: 34.98 MB / 0.5261 GB 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.002548/2.716, allocations: 1.905 MB / 1.308 GB, free: 33.05 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006119/2.716, allocations: 399.7 kB / 1.308 GB, free: 32.66 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/2.716, allocations: 0 / 1.308 GB, free: 32.66 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002472/2.717, allocations: 185.1 kB / 1.308 GB, free: 32.48 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005893/2.717, allocations: 92.66 kB / 1.308 GB, free: 32.39 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/2.719, allocations: 0.8882 MB / 1.309 GB, free: 31.46 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/2.719, allocations: 0.7445 MB / 1.31 GB, free: 30.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007009/2.72, allocations: 105.5 kB / 1.31 GB, free: 30.59 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000202/2.72, allocations: 59.41 kB / 1.31 GB, free: 30.54 MB / 0.5261 GB Notification: Performance of SimCode: time 6.61e-07/2.72, allocations: 4 kB / 1.31 GB, free: 30.53 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03668/2.757, allocations: 20.18 MB / 1.33 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002122/2.757, allocations: 144.7 kB / 1.33 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.36/5.117, allocations: 4.062 kB / 1.33 GB, free: 10.21 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.mat does not exist to compare? outputFormat=mat