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.001906/0.001906, allocations: 175.9 kB / 17.06 MB, free: 5.098 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.53/1.53, allocations: 223.2 MB / 241 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 90.89 kB / 292.1 MB, free: 10.68 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.4638/0.4638, allocations: 44.21 MB / 387.5 MB, free: 38.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003885/0.0003889, allocations: 8 kB / 460 MB, free: 1.414 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4802/0.4806, allocations: 61.89 MB / 0.5096 GB, free: 37.87 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.997/2.478, allocations: 0.7325 GB / 1.242 GB, free: 56.37 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/2.478, allocations: 75.94 kB / 1.242 GB, free: 56.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.4642/2.942, allocations: 63.57 MB / 1.304 GB, free: 159.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.875e-06/2.942, allocations: 2.688 kB / 1.304 GB, free: 159.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.306e-05/2.942, allocations: 7.062 kB / 1.304 GB, free: 159.3 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.0007359/2.943, allocations: 480.3 kB / 1.305 GB, free: 158.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/2.943, allocations: 12.66 kB / 1.305 GB, free: 158.9 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.114e-05/2.943, allocations: 53.88 kB / 1.305 GB, free: 158.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005539/2.949, allocations: 0.7149 MB / 1.306 GB, free: 158.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004683/2.949, allocations: 278.8 kB / 1.306 GB, free: 158.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/2.949, allocations: 9.609 kB / 1.306 GB, free: 158.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/2.949, allocations: 30.86 kB / 1.306 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/2.951, allocations: 0.6805 MB / 1.307 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/2.951, allocations: 3.797 kB / 1.307 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.839e-05/2.951, allocations: 11.27 kB / 1.307 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/2.951, allocations: 8.781 kB / 1.307 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001475/2.952, allocations: 0.7513 MB / 1.307 GB, free: 158.6 MB / 0.5261 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.00248/2.955, allocations: 1.222 MB / 1.308 GB, free: 158 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006068/2.956, allocations: 316.3 kB / 1.309 GB, free: 158 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007797/2.956, allocations: 367.2 kB / 1.309 GB, free: 157.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/2.956, allocations: 39.75 kB / 1.309 GB, free: 157.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=25): time 2.134e-06/2.956, allocations: 0 / 1.309 GB, free: 157.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=25): time 0.001221/2.958, allocations: 0.5492 MB / 1.31 GB, free: 157.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/2.958, allocations: 79.98 kB / 1.31 GB, free: 157.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.482e-05/2.958, allocations: 120.6 kB / 1.31 GB, free: 157.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.279e-05/2.958, allocations: 31.45 kB / 1.31 GB, free: 157.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.337e-05/2.958, allocations: 119 kB / 1.31 GB, free: 157.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.574e-05/2.958, allocations: 94.97 kB / 1.31 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/2.958, allocations: 11.5 kB / 1.31 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.996e-05/2.958, allocations: 322.4 kB / 1.31 GB, free: 156.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003399/2.958, allocations: 183.3 kB / 1.311 GB, free: 156.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003715/2.959, allocations: 281.8 kB / 1.311 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003771/2.959, allocations: 212.6 kB / 1.311 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/2.959, allocations: 0 / 1.311 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009202/2.96, allocations: 0.5077 MB / 1.312 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/2.96, allocations: 11.09 kB / 1.312 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/2.96, allocations: 3.016 kB / 1.312 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/2.96, allocations: 2.844 kB / 1.312 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004929/2.961, allocations: 80.66 kB / 1.312 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/2.961, allocations: 15.33 kB / 1.312 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000418/2.961, allocations: 42.72 kB / 1.312 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.271e-05/2.961, allocations: 14.44 kB / 1.312 GB, free: 156.8 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 () * 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.0001469/2.961, allocations: 156.6 kB / 1.312 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.471e-05/2.961, allocations: 13 kB / 1.312 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009768/2.962, allocations: 489.8 kB / 1.312 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/2.962, allocations: 3.031 kB / 1.312 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/2.962, allocations: 0 / 1.312 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/2.962, allocations: 3.281 kB / 1.312 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006529/2.963, allocations: 0.4969 MB / 1.313 GB, free: 156.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/2.963, allocations: 2.812 kB / 1.313 GB, free: 156.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004961/2.964, allocations: 60.58 kB / 1.313 GB, free: 156.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/2.964, allocations: 0 / 1.313 GB, free: 156.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.456e-05/2.964, allocations: 13.81 kB / 1.313 GB, free: 156.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/2.964, allocations: 6.438 kB / 1.313 GB, free: 156.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/2.964, allocations: 0 / 1.313 GB, free: 156.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/2.965, allocations: 0.675 MB / 1.314 GB, free: 156 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.911e-05/2.965, allocations: 95.5 kB / 1.314 GB, free: 155.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.763e-05/2.965, allocations: 12.67 kB / 1.314 GB, free: 155.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004539/2.966, allocations: 22.31 kB / 1.314 GB, free: 155.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.014e-05/2.966, allocations: 20.84 kB / 1.314 GB, free: 155.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.168e-05/2.966, allocations: 19 kB / 1.314 GB, free: 155.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.714e-05/2.966, allocations: 100.7 kB / 1.314 GB, free: 155.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/2.966, allocations: 0 / 1.314 GB, free: 155.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001188/2.967, allocations: 210.9 kB / 1.314 GB, free: 155.9 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 () * 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.002861/2.97, allocations: 1.942 MB / 1.316 GB, free: 155 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009626/2.971, allocations: 428.9 kB / 1.316 GB, free: 155 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/2.971, allocations: 0 / 1.316 GB, free: 155 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003735/2.971, allocations: 203 kB / 1.317 GB, free: 155 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005487/2.972, allocations: 97.06 kB / 1.317 GB, free: 155 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003665/2.975, allocations: 4.127 MB / 1.321 GB, free: 152 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/2.976, allocations: 0.743 MB / 1.321 GB, free: 151.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000748/2.976, allocations: 111.7 kB / 1.322 GB, free: 151.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002076/2.977, allocations: 67.23 kB / 1.322 GB, free: 151.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.453e-06/2.977, allocations: 2.812 kB / 1.322 GB, free: 151.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0403/3.017, allocations: 18.35 MB / 1.34 GB, free: 150 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001536/3.017, allocations: 172 kB / 1.34 GB, free: 149.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.223/5.24, allocations: 0 / 1.34 GB, free: 149.8 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