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.002057/0.002057, allocations: 171.2 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 221.5 MB / 230.7 MB, free: 7.566 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.0008852/0.0008852, allocations: 95.47 kB / 281.6 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2498/0.2498, allocations: 44.15 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.02e-05/2.022e-05, allocations: 4 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1626, allocations: 61.92 MB / 0.4948 GB, free: 1.164 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.22/2.382, allocations: 0.7318 GB / 1.227 GB, free: 66.16 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003122/2.383, allocations: 71.95 kB / 1.227 GB, free: 66.09 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.1206/2.503, allocations: 62.53 MB / 1.288 GB, free: 2.609 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.585e-06/2.503, allocations: 0 / 1.288 GB, free: 2.609 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.196e-05/2.503, allocations: 3.938 kB / 1.288 GB, free: 2.605 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0007089/2.504, allocations: 478.6 kB / 1.288 GB, free: 2.09 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/2.504, allocations: 15.98 kB / 1.288 GB, free: 2.074 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005372/2.51, allocations: 0.7258 MB / 1.289 GB, free: 1.348 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000434/2.51, allocations: 278.8 kB / 1.289 GB, free: 1.035 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/2.51, allocations: 4 kB / 1.289 GB, free: 1.031 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/2.51, allocations: 12 kB / 1.289 GB, free: 1.02 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009459/2.511, allocations: 0.625 MB / 1.29 GB, free: 404 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3597/2.871, allocations: 408.4 kB / 1.29 GB, free: 159.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.064e-05/2.871, allocations: 3.453 kB / 1.29 GB, free: 159.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001781/2.871, allocations: 0.9062 kB / 1.29 GB, free: 159.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.111e-05/2.871, allocations: 8.234 kB / 1.29 GB, free: 159.6 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.003347/2.875, allocations: 1.3 MB / 1.291 GB, free: 159.1 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004879/2.875, allocations: 327 kB / 1.292 GB, free: 159 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003933/2.875, allocations: 221.4 kB / 1.292 GB, free: 159 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008492/2.876, allocations: 371.8 kB / 1.292 GB, free: 158.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/2.876, allocations: 38.5 kB / 1.292 GB, free: 158.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 2.745e-06/2.876, allocations: 0 / 1.292 GB, free: 158.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=28): time 0.0009553/2.877, allocations: 442.9 kB / 1.293 GB, free: 158.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/2.877, allocations: 84.64 kB / 1.293 GB, free: 158.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/2.877, allocations: 121.5 kB / 1.293 GB, free: 158.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.598e-05/2.877, allocations: 26.73 kB / 1.293 GB, free: 158.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.06e-05/2.878, allocations: 113.2 kB / 1.293 GB, free: 158.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.771e-05/2.878, allocations: 103.4 kB / 1.293 GB, free: 158.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/2.878, allocations: 1 kB / 1.293 GB, free: 158.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.288e-05/2.878, allocations: 328.5 kB / 1.294 GB, free: 158 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002997/2.878, allocations: 197 kB / 1.294 GB, free: 158 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003744/2.878, allocations: 299.9 kB / 1.294 GB, free: 157.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003836/2.879, allocations: 224.6 kB / 1.294 GB, free: 157.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/2.879, allocations: 0.9688 kB / 1.294 GB, free: 157.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009549/2.88, allocations: 0.5322 MB / 1.295 GB, free: 157.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/2.88, allocations: 6.875 kB / 1.295 GB, free: 157.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/2.88, allocations: 3.25 kB / 1.295 GB, free: 157.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/2.88, allocations: 6.188 kB / 1.295 GB, free: 157.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006302/2.881, allocations: 84.25 kB / 1.295 GB, free: 157.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532e-05/2.881, allocations: 10.88 kB / 1.295 GB, free: 157.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004824/2.881, allocations: 41.38 kB / 1.295 GB, free: 157.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.431e-05/2.881, allocations: 21.3 kB / 1.295 GB, free: 157.8 MB / 0.5105 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.0001376/2.881, allocations: 121.6 kB / 1.295 GB, free: 157.7 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008027/2.882, allocations: 436.7 kB / 1.295 GB, free: 157.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/2.882, allocations: 19.91 kB / 1.295 GB, free: 157.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/2.883, allocations: 0.5111 MB / 1.296 GB, free: 157.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/2.883, allocations: 6.172 kB / 1.296 GB, free: 157.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/2.883, allocations: 1.219 kB / 1.296 GB, free: 157.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/2.883, allocations: 1.359 kB / 1.296 GB, free: 157.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008487/2.884, allocations: 0.5145 MB / 1.296 GB, free: 157.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/2.884, allocations: 1.625 kB / 1.296 GB, free: 157.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005777/2.885, allocations: 67.11 kB / 1.297 GB, free: 157.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/2.885, allocations: 1.5 kB / 1.297 GB, free: 157.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.862e-05/2.885, allocations: 13.11 kB / 1.297 GB, free: 157.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/2.885, allocations: 9.594 kB / 1.297 GB, free: 157.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/2.885, allocations: 3.75 kB / 1.297 GB, free: 157.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/2.886, allocations: 0.7242 MB / 1.297 GB, free: 157.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.051e-05/2.886, allocations: 91.72 kB / 1.297 GB, free: 157 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.473e-05/2.886, allocations: 2.875 kB / 1.297 GB, free: 157 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005141/2.887, allocations: 25.28 kB / 1.297 GB, free: 157 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.113e-05/2.887, allocations: 23.67 kB / 1.297 GB, free: 157 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.776e-05/2.887, allocations: 17.02 kB / 1.297 GB, free: 157 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.879e-05/2.887, allocations: 103.5 kB / 1.298 GB, free: 156.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.3e-07/2.887, allocations: 0 / 1.298 GB, free: 156.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001005/2.888, allocations: 194.5 kB / 1.298 GB, free: 156.9 MB / 0.5105 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.002742/2.89, allocations: 2.064 MB / 1.3 GB, free: 156 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008006/2.891, allocations: 470.2 kB / 1.3 GB, free: 156 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/2.891, allocations: 0 / 1.3 GB, free: 156 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003529/2.892, allocations: 241.2 kB / 1.3 GB, free: 156 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000659/2.892, allocations: 77.06 kB / 1.3 GB, free: 156 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/2.894, allocations: 0.8925 MB / 1.301 GB, free: 155.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/2.894, allocations: 0.7452 MB / 1.302 GB, free: 155.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008316/2.895, allocations: 129.2 kB / 1.302 GB, free: 155.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002276/2.895, allocations: 60.92 kB / 1.302 GB, free: 155.1 MB / 0.5105 GB Notification: Performance of SimCode: time 9.72e-07/2.895, allocations: 3.188 kB / 1.302 GB, free: 155.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0476/2.943, allocations: 13.58 MB / 1.316 GB, free: 154.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001634/2.943, allocations: 136.1 kB / 1.316 GB, free: 154 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.35/5.293, allocations: 3.938 kB / 1.316 GB, free: 154 MB / 0.5105 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