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.002184/0.002184, allocations: 183.2 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.933/1.933, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 93.55 kB / 267.1 MB, free: 9.266 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.5287/0.5287, allocations: 43.48 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.324e-05/4.339e-05, allocations: 4 kB / 425.4 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1792, allocations: 58.83 MB / 484.2 MB, free: 13.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.467/2.646, allocations: 0.7641 GB / 1.237 GB, free: 54.96 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003297/2.647, allocations: 77.47 kB / 1.237 GB, free: 54.93 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.4987/3.145, allocations: 61.98 MB / 1.298 GB, free: 150.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.405e-06/3.146, allocations: 4.844 kB / 1.298 GB, free: 150.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.393e-05/3.146, allocations: 3.812 kB / 1.298 GB, free: 150.8 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.0008484/3.146, allocations: 471.1 kB / 1.298 GB, free: 150.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/3.146, allocations: 10.08 kB / 1.298 GB, free: 150.5 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.563e-05/3.147, allocations: 55.25 kB / 1.298 GB, free: 150.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005754/3.152, allocations: 0.7076 MB / 1.299 GB, free: 150.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006344/3.153, allocations: 272.6 kB / 1.299 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/3.153, allocations: 17.2 kB / 1.299 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/3.153, allocations: 18.78 kB / 1.299 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/3.155, allocations: 0.6643 MB / 1.3 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/3.155, allocations: 1.094 kB / 1.3 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.016e-05/3.155, allocations: 6.359 kB / 1.3 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.578e-05/3.155, allocations: 8.609 kB / 1.3 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001507/3.156, allocations: 0.718 MB / 1.3 GB, free: 150.2 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.003057/3.159, allocations: 1.219 MB / 1.302 GB, free: 149.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005695/3.16, allocations: 288.5 kB / 1.302 GB, free: 149.6 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003256/3.16, allocations: 190 kB / 1.302 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006495/3.161, allocations: 249.6 kB / 1.302 GB, free: 149.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/3.161, allocations: 39.59 kB / 1.302 GB, free: 149.3 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=25): time 2.945e-06/3.161, allocations: 0 / 1.302 GB, free: 149.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=25): time 0.001041/3.162, allocations: 364.1 kB / 1.303 GB, free: 149.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.714e-05/3.162, allocations: 91.66 kB / 1.303 GB, free: 149.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/3.162, allocations: 122.5 kB / 1.303 GB, free: 149.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.949e-05/3.162, allocations: 32.27 kB / 1.303 GB, free: 149.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.49e-05/3.163, allocations: 116.2 kB / 1.303 GB, free: 149 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/3.163, allocations: 104.3 kB / 1.303 GB, free: 148.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/3.163, allocations: 4.594 kB / 1.303 GB, free: 148.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001165/3.163, allocations: 330.3 kB / 1.304 GB, free: 148.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003686/3.163, allocations: 165.1 kB / 1.304 GB, free: 148.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005079/3.164, allocations: 272 kB / 1.304 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004941/3.164, allocations: 189.5 kB / 1.304 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/3.164, allocations: 1 kB / 1.304 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001201/3.165, allocations: 488.5 kB / 1.305 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.62e-05/3.165, allocations: 7.5 kB / 1.305 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/3.166, allocations: 3.438 kB / 1.305 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.854e-05/3.166, allocations: 5.875 kB / 1.305 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006174/3.166, allocations: 82.66 kB / 1.305 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.986e-05/3.166, allocations: 10.56 kB / 1.305 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004616/3.167, allocations: 39.86 kB / 1.305 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.796e-05/3.167, allocations: 23.91 kB / 1.305 GB, free: 148.4 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 (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.0001242/3.167, allocations: 125.4 kB / 1.305 GB, free: 148.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/3.167, allocations: 12.22 kB / 1.305 GB, free: 148.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/3.168, allocations: 458.9 kB / 1.305 GB, free: 148.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/3.168, allocations: 2.156 kB / 1.305 GB, free: 148.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/3.168, allocations: 1.188 kB / 1.305 GB, free: 148.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/3.168, allocations: 4.641 kB / 1.305 GB, free: 148.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000906/3.169, allocations: 0.5084 MB / 1.306 GB, free: 148 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/3.169, allocations: 0 / 1.306 GB, free: 148 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004955/3.17, allocations: 60.83 kB / 1.306 GB, free: 148 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/3.17, allocations: 2.719 kB / 1.306 GB, free: 148 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-05/3.17, allocations: 12.45 kB / 1.306 GB, free: 148 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/3.17, allocations: 0 / 1.306 GB, free: 148 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/3.17, allocations: 0 / 1.306 GB, free: 148 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/3.171, allocations: 0.6617 MB / 1.307 GB, free: 147.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/3.171, allocations: 89.38 kB / 1.307 GB, free: 147.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.356e-05/3.171, allocations: 9.094 kB / 1.307 GB, free: 147.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004736/3.172, allocations: 21.72 kB / 1.307 GB, free: 147.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.032e-05/3.172, allocations: 24.2 kB / 1.307 GB, free: 147.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.45e-05/3.172, allocations: 21.62 kB / 1.307 GB, free: 147.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 9.418e-05/3.172, allocations: 99.62 kB / 1.307 GB, free: 147.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/3.172, allocations: 0 / 1.307 GB, free: 147.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001464/3.173, allocations: 203.4 kB / 1.307 GB, free: 147.5 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 (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.003263/3.177, allocations: 1.895 MB / 1.309 GB, free: 146.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009181/3.177, allocations: 408 kB / 1.309 GB, free: 146.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/3.177, allocations: 0 / 1.309 GB, free: 146.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003417/3.178, allocations: 187.7 kB / 1.309 GB, free: 146.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007171/3.179, allocations: 91.22 kB / 1.309 GB, free: 146.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/3.181, allocations: 0.8775 MB / 1.31 GB, free: 146.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004494/3.181, allocations: 0.7425 MB / 1.311 GB, free: 145.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007629/3.182, allocations: 112.4 kB / 1.311 GB, free: 145.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002451/3.182, allocations: 64.19 kB / 1.311 GB, free: 145.7 MB / 0.5105 GB Notification: Performance of SimCode: time 8.61e-07/3.182, allocations: 0 / 1.311 GB, free: 145.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04735/3.229, allocations: 20.21 MB / 1.331 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001447/3.23, allocations: 141.7 kB / 1.331 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.344/5.574, allocations: 0 / 1.331 GB, free: 144.2 MB / 0.5105 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