Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.002388/0.002387, allocations: 178.3 kB / 8.362 MB, free: 0.7148 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.159/2.159, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001138/0.001137, allocations: 75.89 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3103/0.3103, allocations: 43.5 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.263e-05/2.274e-05, allocations: 0 / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4272/0.4273, allocations: 58.85 MB / 477.2 MB, free: 5.152 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.389/2.817, allocations: 0.7635 GB / 1.229 GB, free: 140.4 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/2.817, allocations: 75.75 kB / 1.23 GB, free: 140.4 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 0.205/3.022, allocations: 60.96 MB / 1.289 GB, free: 106.3 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.373e-06/3.022, allocations: 0 / 1.289 GB, free: 106.3 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 1.412e-05/3.022, allocations: 0 / 1.289 GB, free: 106.3 MB / 0.4952 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.0009166/3.023, allocations: 487.1 kB / 1.29 GB, free: 105.8 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/3.023, allocations: 8.031 kB / 1.29 GB, free: 105.8 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009237/3.032, allocations: 0.698 MB / 1.29 GB, free: 105.1 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006806/3.033, allocations: 274.8 kB / 1.29 GB, free: 104.8 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/3.033, allocations: 8 kB / 1.291 GB, free: 104.8 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001698/3.033, allocations: 15.95 kB / 1.291 GB, free: 104.8 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001702/3.035, allocations: 0.6445 MB / 1.291 GB, free: 104.1 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008631/3.036, allocations: 408.5 kB / 1.292 GB, free: 103.7 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/3.036, allocations: 0 / 1.292 GB, free: 103.7 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-05/3.036, allocations: 4 kB / 1.292 GB, free: 103.7 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.893e-05/3.036, allocations: 11.94 kB / 1.292 GB, free: 103.7 MB / 0.4952 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.004437/3.04, allocations: 1.324 MB / 1.293 GB, free: 102.3 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006678/3.041, allocations: 317.1 kB / 1.293 GB, free: 102 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004323/3.042, allocations: 225.7 kB / 1.293 GB, free: 101.8 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008016/3.042, allocations: 254.1 kB / 1.294 GB, free: 101.5 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/3.042, allocations: 34.5 kB / 1.294 GB, free: 101.4 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=28): time 3.426e-06/3.042, allocations: 0 / 1.294 GB, free: 101.4 MB / 0.4952 GB Notification: Performance of matching and sorting (n=28): time 0.001231/3.044, allocations: 437.9 kB / 1.294 GB, free: 101 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/3.044, allocations: 81.11 kB / 1.294 GB, free: 100.9 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/3.044, allocations: 120.8 kB / 1.294 GB, free: 100.8 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 6.037e-05/3.044, allocations: 29.7 kB / 1.294 GB, free: 100.7 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 6.029e-05/3.044, allocations: 186.9 kB / 1.294 GB, free: 100.6 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/3.044, allocations: 106.3 kB / 1.295 GB, free: 100.4 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.078e-05/3.044, allocations: 0 / 1.295 GB, free: 100.4 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 6.894e-05/3.044, allocations: 330.8 kB / 1.295 GB, free: 100.1 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000451/3.045, allocations: 200 kB / 1.295 GB, free: 99.92 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004626/3.045, allocations: 300.6 kB / 1.295 GB, free: 99.58 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005337/3.046, allocations: 227.1 kB / 1.296 GB, free: 99.36 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/3.046, allocations: 4 kB / 1.296 GB, free: 99.36 MB / 0.4952 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001299/3.047, allocations: 0.5207 MB / 1.296 GB, free: 98.83 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/3.047, allocations: 8 kB / 1.296 GB, free: 98.82 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/3.047, allocations: 4 kB / 1.296 GB, free: 98.82 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/3.047, allocations: 8 kB / 1.296 GB, free: 98.81 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/3.048, allocations: 84.28 kB / 1.296 GB, free: 98.73 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/3.048, allocations: 11.94 kB / 1.296 GB, free: 98.72 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000761/3.049, allocations: 43.66 kB / 1.296 GB, free: 98.68 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.04e-05/3.049, allocations: 19.98 kB / 1.296 GB, free: 98.66 MB / 0.4952 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.0001762/3.049, allocations: 116.8 kB / 1.296 GB, free: 98.54 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001155/3.05, allocations: 445.2 kB / 1.297 GB, free: 98.09 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/3.051, allocations: 11.91 kB / 1.297 GB, free: 98.08 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/3.052, allocations: 0.5326 MB / 1.297 GB, free: 97.54 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/3.052, allocations: 4 kB / 1.297 GB, free: 97.54 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/3.052, allocations: 0 / 1.297 GB, free: 97.54 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/3.052, allocations: 4 kB / 1.297 GB, free: 97.54 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/3.053, allocations: 0.5113 MB / 1.298 GB, free: 96.99 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/3.053, allocations: 0 / 1.298 GB, free: 96.99 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/3.054, allocations: 67.95 kB / 1.298 GB, free: 96.93 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.227e-06/3.055, allocations: 3.984 kB / 1.298 GB, free: 96.92 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.42e-05/3.055, allocations: 11.94 kB / 1.298 GB, free: 96.91 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/3.055, allocations: 3.984 kB / 1.298 GB, free: 96.91 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/3.055, allocations: 0 / 1.298 GB, free: 96.91 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/3.056, allocations: 0.7193 MB / 1.299 GB, free: 96.16 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 6.908e-05/3.056, allocations: 96.86 kB / 1.299 GB, free: 96.05 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.808e-05/3.056, allocations: 7.984 kB / 1.299 GB, free: 96.04 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008544/3.057, allocations: 15.98 kB / 1.299 GB, free: 96.03 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.194e-05/3.057, allocations: 27.95 kB / 1.299 GB, free: 96 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.93e-05/3.057, allocations: 11.98 kB / 1.299 GB, free: 95.99 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 6.947e-05/3.057, allocations: 103.2 kB / 1.299 GB, free: 95.89 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.41e-07/3.057, allocations: 4 kB / 1.299 GB, free: 95.88 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.001151/3.058, allocations: 187.8 kB / 1.299 GB, free: 95.7 MB / 0.4952 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.003506/3.062, allocations: 2.079 MB / 1.301 GB, free: 93.59 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.001128/3.063, allocations: 472.2 kB / 1.302 GB, free: 93.12 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/3.063, allocations: 4.25 kB / 1.302 GB, free: 93.12 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.0004947/3.064, allocations: 231.9 kB / 1.302 GB, free: 92.89 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/3.065, allocations: 79.84 kB / 1.302 GB, free: 92.82 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002465/3.067, allocations: 0.916 MB / 1.303 GB, free: 91.86 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/3.068, allocations: 0.7447 MB / 1.303 GB, free: 91.09 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005159/3.068, allocations: 63.41 kB / 1.304 GB, free: 91.02 MB / 0.4952 GB Notification: Performance of SimCode: time 1.032e-06/3.068, allocations: 0 / 1.304 GB, free: 91.02 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.962/6.03, allocations: 10.72 MB / 1.314 GB, free: 80.27 MB / 0.4952 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas_res.mat does not exist to compare? outputFormat=mat