Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001033/0.001033, allocations: 196.3 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009086/0.0009087, allocations: 87.38 kB / 292.1 MB, free: 5.949 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2023/0.2023, allocations: 45.15 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.301e-05/3.31e-05, allocations: 3.984 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1174, allocations: 63.25 MB / 0.5115 GB, free: 6.711 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.674/1.791, allocations: 0.7335 GB / 1.245 GB, free: 139.2 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/1.792, allocations: 67.84 kB / 1.245 GB, free: 139.1 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.1141/1.906, allocations: 63.59 MB / 1.307 GB, free: 82.94 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.663e-06/1.906, allocations: 0 / 1.307 GB, free: 82.94 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.345e-05/1.906, allocations: 4 kB / 1.307 GB, free: 82.93 MB / 0.5417 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.000646/1.906, allocations: 491.1 kB / 1.308 GB, free: 82.41 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/1.906, allocations: 11.97 kB / 1.308 GB, free: 82.39 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.928e-05/1.906, allocations: 50.55 kB / 1.308 GB, free: 82.34 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005179/1.912, allocations: 0.7141 MB / 1.308 GB, free: 81.62 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004393/1.912, allocations: 278.8 kB / 1.309 GB, free: 81.31 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/1.912, allocations: 24.27 kB / 1.309 GB, free: 81.29 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/1.912, allocations: 16 kB / 1.309 GB, free: 81.27 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008948/1.913, allocations: 0.6489 MB / 1.309 GB, free: 80.61 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/1.913, allocations: 0 / 1.309 GB, free: 80.61 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.882e-05/1.913, allocations: 8 kB / 1.309 GB, free: 80.6 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/1.913, allocations: 7.984 kB / 1.309 GB, free: 80.59 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009821/1.914, allocations: 0.6911 MB / 1.31 GB, free: 79.9 MB / 0.5417 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.002274/1.917, allocations: 1.222 MB / 1.311 GB, free: 78.62 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003784/1.917, allocations: 289 kB / 1.311 GB, free: 78.32 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/1.917, allocations: 189.7 kB / 1.312 GB, free: 78.13 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000673/1.918, allocations: 367.2 kB / 1.312 GB, free: 77.71 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/1.918, allocations: 42.55 kB / 1.312 GB, free: 77.66 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=25): time 1.674e-06/1.918, allocations: 0 / 1.312 GB, free: 77.66 MB / 0.5417 GB Notification: Performance of matching and sorting (n=25): time 0.0006733/1.919, allocations: 371.2 kB / 1.312 GB, free: 77.3 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/1.919, allocations: 77.11 kB / 1.312 GB, free: 77.2 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.648e-05/1.919, allocations: 122 kB / 1.313 GB, free: 77.08 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.687e-05/1.919, allocations: 33.7 kB / 1.313 GB, free: 77.04 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.855e-05/1.919, allocations: 112.3 kB / 1.313 GB, free: 76.93 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.078e-05/1.919, allocations: 106.7 kB / 1.313 GB, free: 76.82 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.652e-05/1.919, allocations: 4 kB / 1.313 GB, free: 76.82 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.665e-05/1.919, allocations: 330.8 kB / 1.313 GB, free: 76.48 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/1.919, allocations: 168 kB / 1.313 GB, free: 76.32 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/1.919, allocations: 268.5 kB / 1.314 GB, free: 76.01 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002524/1.92, allocations: 197.2 kB / 1.314 GB, free: 75.82 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.92, allocations: 4 kB / 1.314 GB, free: 75.82 MB / 0.5417 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006607/1.92, allocations: 481.4 kB / 1.314 GB, free: 75.34 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/1.92, allocations: 5.562 kB / 1.314 GB, free: 75.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/1.92, allocations: 7.984 kB / 1.314 GB, free: 75.33 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/1.92, allocations: 4 kB / 1.314 GB, free: 75.32 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004675/1.921, allocations: 83.83 kB / 1.314 GB, free: 75.24 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/1.921, allocations: 4 kB / 1.314 GB, free: 75.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000382/1.921, allocations: 43.66 kB / 1.314 GB, free: 75.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.527e-05/1.921, allocations: 27.97 kB / 1.314 GB, free: 75.17 MB / 0.5417 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 9.275e-05/1.921, allocations: 120.9 kB / 1.314 GB, free: 75.04 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.663e-05/1.922, allocations: 19.89 kB / 1.314 GB, free: 75.02 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007327/1.922, allocations: 450 kB / 1.315 GB, free: 74.58 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/1.922, allocations: 4 kB / 1.315 GB, free: 74.57 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/1.922, allocations: 0 / 1.315 GB, free: 74.57 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/1.922, allocations: 11.98 kB / 1.315 GB, free: 74.56 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005673/1.923, allocations: 0.497 MB / 1.315 GB, free: 74.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/1.923, allocations: 0 / 1.315 GB, free: 74.02 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004503/1.923, allocations: 55.89 kB / 1.315 GB, free: 73.96 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/1.923, allocations: 4 kB / 1.315 GB, free: 73.96 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.848e-05/1.923, allocations: 11.98 kB / 1.315 GB, free: 73.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/1.923, allocations: 0 / 1.315 GB, free: 73.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.923, allocations: 4 kB / 1.315 GB, free: 73.94 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007232/1.924, allocations: 0.6396 MB / 1.316 GB, free: 73.27 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.853e-05/1.924, allocations: 88.95 kB / 1.316 GB, free: 73.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.907e-05/1.924, allocations: 8 kB / 1.316 GB, free: 73.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004349/1.925, allocations: 23.97 kB / 1.316 GB, free: 73.14 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.214e-05/1.925, allocations: 23.83 kB / 1.316 GB, free: 73.11 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.223e-05/1.925, allocations: 15.98 kB / 1.316 GB, free: 73.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.068e-05/1.925, allocations: 107.7 kB / 1.316 GB, free: 72.99 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/1.925, allocations: 0 / 1.316 GB, free: 72.99 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0007394/1.926, allocations: 215.9 kB / 1.317 GB, free: 72.78 MB / 0.5417 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.002042/1.928, allocations: 1.904 MB / 1.318 GB, free: 70.86 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005293/1.928, allocations: 403.6 kB / 1.319 GB, free: 70.46 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.928, allocations: 0 / 1.319 GB, free: 70.46 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002271/1.928, allocations: 191.8 kB / 1.319 GB, free: 70.27 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005265/1.929, allocations: 90.02 kB / 1.319 GB, free: 70.19 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/1.93, allocations: 0.9002 MB / 1.32 GB, free: 69.25 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/1.93, allocations: 0.7406 MB / 1.321 GB, free: 68.48 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006437/1.931, allocations: 109.4 kB / 1.321 GB, free: 68.38 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001865/1.931, allocations: 59.41 kB / 1.321 GB, free: 68.32 MB / 0.5417 GB Notification: Performance of SimCode: time 4.01e-07/1.931, allocations: 0 / 1.321 GB, free: 68.32 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02908/1.96, allocations: 20.18 MB / 1.341 GB, free: 48.23 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001372/1.961, allocations: 140.6 kB / 1.341 GB, free: 48 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.045/4.006, allocations: 2 kB / 1.341 GB, free: 48 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.mat does not exist to compare? outputFormat=mat