Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.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) 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.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_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.001237/0.001237, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.024/2.024, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009479/0.0009478, allocations: 86.64 kB / 261.8 MB, free: 1.672 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2458/0.2458, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.755e-05/1.757e-05, allocations: 0 / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1468, allocations: 58.85 MB / 477.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.343/2.49, allocations: 0.7635 GB / 1.23 GB, free: 55.87 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/2.49, allocations: 75.25 kB / 1.23 GB, free: 55.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.4038/2.894, allocations: 60.96 MB / 1.289 GB, free: 162.4 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.252e-06/2.894, allocations: 0 / 1.289 GB, free: 162.4 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.33e-05/2.894, allocations: 3.5 kB / 1.289 GB, free: 162.4 MB / 0.4948 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.0007946/2.895, allocations: 475.3 kB / 1.29 GB, free: 162 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.722e-05/2.895, allocations: 9.891 kB / 1.29 GB, free: 162 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005793/2.901, allocations: 0.6987 MB / 1.29 GB, free: 162 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005582/2.902, allocations: 276.5 kB / 1.291 GB, free: 161.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/2.902, allocations: 7.125 kB / 1.291 GB, free: 161.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/2.902, allocations: 12.47 kB / 1.291 GB, free: 161.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001195/2.903, allocations: 0.6412 MB / 1.291 GB, free: 161.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007064/2.904, allocations: 414.7 kB / 1.292 GB, free: 161.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/2.904, allocations: 0.75 kB / 1.292 GB, free: 161.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.467e-05/2.904, allocations: 2.75 kB / 1.292 GB, free: 161.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.065e-05/2.904, allocations: 11.56 kB / 1.292 GB, free: 161.7 MB / 0.4948 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.003157/2.907, allocations: 1.324 MB / 1.293 GB, free: 161.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004929/2.907, allocations: 321.6 kB / 1.293 GB, free: 161.1 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002864/2.908, allocations: 219.8 kB / 1.293 GB, free: 161.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005667/2.908, allocations: 250.7 kB / 1.294 GB, free: 160.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/2.908, allocations: 40.78 kB / 1.294 GB, free: 160.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 3.266e-06/2.908, allocations: 0 / 1.294 GB, free: 160.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28): time 0.0008922/2.909, allocations: 437.7 kB / 1.294 GB, free: 160.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/2.909, allocations: 85.77 kB / 1.294 GB, free: 160.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/2.909, allocations: 122.6 kB / 1.294 GB, free: 160.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.712e-05/2.909, allocations: 25.7 kB / 1.294 GB, free: 160.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.539e-05/2.909, allocations: 118.2 kB / 1.294 GB, free: 160.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.583e-05/2.91, allocations: 99.62 kB / 1.295 GB, free: 160.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/2.91, allocations: 1.031 kB / 1.295 GB, free: 160.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.101e-05/2.91, allocations: 326.6 kB / 1.295 GB, free: 160.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002909/2.91, allocations: 200 kB / 1.295 GB, free: 160.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003604/2.91, allocations: 302.3 kB / 1.295 GB, free: 160 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003991/2.911, allocations: 226.2 kB / 1.296 GB, free: 160 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/2.911, allocations: 2.125 kB / 1.296 GB, free: 160 MB / 0.4948 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001054/2.912, allocations: 0.5211 MB / 1.296 GB, free: 160 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/2.912, allocations: 6.375 kB / 1.296 GB, free: 160 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/2.912, allocations: 4.547 kB / 1.296 GB, free: 160 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/2.912, allocations: 6.938 kB / 1.296 GB, free: 160 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006823/2.913, allocations: 88.62 kB / 1.296 GB, free: 160 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.872e-05/2.913, allocations: 8.547 kB / 1.296 GB, free: 160 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004941/2.913, allocations: 46.97 kB / 1.296 GB, free: 160 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.475e-05/2.913, allocations: 18.3 kB / 1.296 GB, free: 160 MB / 0.4948 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 (41): * Single equations (assignments): 41 * 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.0001451/2.913, allocations: 116.5 kB / 1.296 GB, free: 159.9 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000841/2.914, allocations: 441.9 kB / 1.297 GB, free: 159.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/2.914, allocations: 17.19 kB / 1.297 GB, free: 159.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/2.915, allocations: 0.5245 MB / 1.297 GB, free: 159.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/2.915, allocations: 3.25 kB / 1.297 GB, free: 159.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/2.915, allocations: 1.5 kB / 1.297 GB, free: 159.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/2.915, allocations: 3.891 kB / 1.297 GB, free: 159.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007661/2.916, allocations: 0.5169 MB / 1.298 GB, free: 159.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/2.916, allocations: 1.5 kB / 1.298 GB, free: 159.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005597/2.917, allocations: 70.64 kB / 1.298 GB, free: 159.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/2.917, allocations: 1.312 kB / 1.298 GB, free: 159.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.199e-05/2.917, allocations: 9.438 kB / 1.298 GB, free: 159.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/2.917, allocations: 1.281 kB / 1.298 GB, free: 159.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/2.917, allocations: 1.125 kB / 1.298 GB, free: 159.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009958/2.918, allocations: 0.7273 MB / 1.299 GB, free: 159.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.567e-05/2.918, allocations: 94.75 kB / 1.299 GB, free: 159.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.564e-05/2.918, allocations: 6.875 kB / 1.299 GB, free: 159.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005645/2.919, allocations: 17.7 kB / 1.299 GB, free: 159.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.439e-05/2.919, allocations: 27.91 kB / 1.299 GB, free: 159.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-05/2.919, allocations: 18.95 kB / 1.299 GB, free: 159.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.442e-05/2.919, allocations: 99.56 kB / 1.299 GB, free: 159.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/2.919, allocations: 0 / 1.299 GB, free: 159.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001103/2.92, allocations: 190.5 kB / 1.299 GB, free: 159 MB / 0.4948 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 (28): * Single equations (assignments): 28 * 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.002729/2.923, allocations: 2.068 MB / 1.301 GB, free: 158.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000835/2.923, allocations: 470.3 kB / 1.301 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/2.924, allocations: 0 / 1.301 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003171/2.924, allocations: 234.6 kB / 1.302 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006523/2.924, allocations: 85.97 kB / 1.302 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/2.926, allocations: 0.8846 MB / 1.303 GB, free: 157.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/2.926, allocations: 0.7418 MB / 1.303 GB, free: 157.1 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0008407/2.927, allocations: 128.8 kB / 1.303 GB, free: 157 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002278/2.928, allocations: 59.08 kB / 1.304 GB, free: 157 MB / 0.4948 GB Notification: Performance of SimCode: time 4.41e-07/2.928, allocations: 0 / 1.304 GB, free: 157 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03794/2.966, allocations: 13.63 MB / 1.317 GB, free: 156 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/2.966, allocations: 123.9 kB / 1.317 GB, free: 155.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.088/5.054, allocations: 3.969 kB / 1.317 GB, free: 155.8 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.mat does not exist to compare? outputFormat=mat