Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.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.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002443/0.002443, allocations: 198.6 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.583/1.583, allocations: 227.2 MB / 245 MB, free: 7.613 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001013/0.001013, allocations: 99.94 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.4635/0.4635, allocations: 45.24 MB / 394.7 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.0003549, allocations: 4 kB / 468.5 MB, free: 7.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5714/0.5717, allocations: 63.25 MB / 0.5193 GB, free: 43.65 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.17/2.741, allocations: 0.7336 GB / 1.253 GB, free: 75.02 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003426/2.742, allocations: 77.27 kB / 1.253 GB, free: 74.98 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.1295/2.871, allocations: 63.63 MB / 1.315 GB, free: 18.25 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.675e-06/2.871, allocations: 0 / 1.315 GB, free: 18.25 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.11e-05/2.872, allocations: 4 kB / 1.315 GB, free: 18.25 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001078/2.873, allocations: 491.4 kB / 1.316 GB, free: 17.71 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/2.873, allocations: 8.031 kB / 1.316 GB, free: 17.71 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001028/2.873, allocations: 54.55 kB / 1.316 GB, free: 17.64 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005689/2.878, allocations: 0.7127 MB / 1.316 GB, free: 16.93 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006838/2.879, allocations: 278.8 kB / 1.317 GB, free: 16.62 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/2.879, allocations: 20.28 kB / 1.317 GB, free: 16.6 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000171/2.879, allocations: 27.84 kB / 1.317 GB, free: 16.57 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/2.881, allocations: 0.6839 MB / 1.317 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/2.881, allocations: 4 kB / 1.317 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/2.881, allocations: 4 kB / 1.317 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.112e-05/2.881, allocations: 12 kB / 1.317 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001598/2.883, allocations: 0.7455 MB / 1.318 GB, free: 15.11 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.002767/2.886, allocations: 1.221 MB / 1.319 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006931/2.886, allocations: 321 kB / 1.319 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008249/2.887, allocations: 367.5 kB / 1.32 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/2.887, allocations: 42.5 kB / 1.32 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=25): time 3.226e-06/2.887, allocations: 0 / 1.32 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of matching and sorting (n=25): time 0.001281/2.888, allocations: 0.5466 MB / 1.32 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/2.888, allocations: 81.09 kB / 1.32 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/2.889, allocations: 118.5 kB / 1.321 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.275e-05/2.889, allocations: 29.7 kB / 1.321 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.55e-05/2.889, allocations: 124.3 kB / 1.321 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.559e-05/2.889, allocations: 98.64 kB / 1.321 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/2.889, allocations: 4 kB / 1.321 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.226e-05/2.889, allocations: 334.7 kB / 1.321 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003547/2.889, allocations: 189.5 kB / 1.321 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003877/2.89, allocations: 275 kB / 1.322 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004064/2.89, allocations: 203.9 kB / 1.322 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/2.89, allocations: 4 kB / 1.322 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009751/2.891, allocations: 0.5087 MB / 1.322 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/2.891, allocations: 4 kB / 1.322 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/2.891, allocations: 4 kB / 1.322 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/2.891, allocations: 4 kB / 1.322 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005018/2.892, allocations: 88.22 kB / 1.322 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/2.892, allocations: 8 kB / 1.322 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004588/2.892, allocations: 43.66 kB / 1.322 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.592e-05/2.892, allocations: 20 kB / 1.322 GB, free: 10.29 MB / 0.5417 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 () * Number of clocked 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.0001763/2.892, allocations: 145.7 kB / 1.323 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/2.893, allocations: 11.91 kB / 1.323 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/2.894, allocations: 492.2 kB / 1.323 GB, free: 9.641 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/2.894, allocations: 4 kB / 1.323 GB, free: 9.637 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/2.894, allocations: 0 / 1.323 GB, free: 9.637 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/2.894, allocations: 0 / 1.323 GB, free: 9.637 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008258/2.895, allocations: 0.5025 MB / 1.324 GB, free: 9.086 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/2.895, allocations: 0 / 1.324 GB, free: 9.086 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004904/2.895, allocations: 55.89 kB / 1.324 GB, free: 9.031 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.768e-06/2.895, allocations: 4 kB / 1.324 GB, free: 9.027 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.807e-05/2.895, allocations: 19.98 kB / 1.324 GB, free: 9.008 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/2.895, allocations: 0 / 1.324 GB, free: 9.008 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/2.895, allocations: 480 / 1.324 GB, free: 9.008 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/2.896, allocations: 0.6809 MB / 1.324 GB, free: 8.297 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 9.406e-05/2.896, allocations: 104.8 kB / 1.324 GB, free: 8.176 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.164e-05/2.897, allocations: 8 kB / 1.324 GB, free: 8.168 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004917/2.897, allocations: 15.98 kB / 1.324 GB, free: 8.152 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/2.897, allocations: 23.97 kB / 1.324 GB, free: 8.129 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.087e-05/2.897, allocations: 11.98 kB / 1.324 GB, free: 8.117 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.271e-05/2.897, allocations: 101.2 kB / 1.325 GB, free: 8.02 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1e-07/2.897, allocations: 0 / 1.325 GB, free: 8.02 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001205/2.898, allocations: 223.8 kB / 1.325 GB, free: 7.801 MB / 0.5417 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 () * Number of clocked 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.003135/2.902, allocations: 1.938 MB / 1.327 GB, free: 5.84 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0009385/2.903, allocations: 428.3 kB / 1.327 GB, free: 5.422 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.708e-06/2.903, allocations: 0 / 1.327 GB, free: 5.422 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003767/2.903, allocations: 218.5 kB / 1.327 GB, free: 5.211 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006108/2.904, allocations: 93.88 kB / 1.327 GB, free: 5.121 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00428/2.908, allocations: 4.128 MB / 1.331 GB, free: 0.8789 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/2.908, allocations: 0.7445 MB / 1.332 GB, free: 112 kB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0007728/2.909, allocations: 113.4 kB / 1.332 GB, free: 0 / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3354/3.244, allocations: 51.84 kB / 1.332 GB, free: 160.7 MB / 0.5417 GB Notification: Performance of SimCode: time 1.112e-06/3.244, allocations: 0 / 1.332 GB, free: 160.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0442/3.289, allocations: 18.34 MB / 1.35 GB, free: 160.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002205/3.289, allocations: 163.1 kB / 1.35 GB, free: 160 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.258/5.547, allocations: 0 / 1.35 GB, free: 160 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.mat does not exist to compare? outputFormat=mat