Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.FlueGas,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.FlueGas,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008936/0.0008936, allocations: 96.86 kB / 16.95 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008049/0.0008049, allocations: 177.6 kB / 17.84 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004734/0.0004734, allocations: 12 kB / 280.9 MB, free: 3.633 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1158, allocations: 47.58 MB / 328.5 MB, free: 3.98 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.387/0.5029, allocations: 136.9 MB / 465.4 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002587/0.5055, allocations: 1.941 MB / 467.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.744e-05/0.5056, allocations: 0 / 467.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002886/0.5059, allocations: 39.81 kB / 467.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00134/0.5073, allocations: 433.9 kB / 467.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.5076, allocations: 87.81 kB / 467.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000604/0.5082, allocations: 302.9 kB / 468.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.28e-05/0.5083, allocations: 4 kB / 468.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003224/0.5086, allocations: 123.5 kB / 468.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000371/0.509, allocations: 103.7 kB / 468.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.133e-05/0.509, allocations: 4 kB / 468.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001938/0.511, allocations: 0.858 MB / 469.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.5111, allocations: 87.75 kB / 469.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.829e-05/0.5112, allocations: 61.62 kB / 469.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008535/0.5121, allocations: 492.8 kB / 469.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.5121, allocations: 0 / 469.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5121, allocations: 0 / 469.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.5121, allocations: 4 kB / 469.9 MB, free: 12.82 MB / 366.1 MB 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.0008865/0.513, allocations: 464 kB / 470.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.5131, allocations: 8.031 kB / 470.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.33e-05/0.5132, allocations: 54.55 kB / 470.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006017/0.5192, allocations: 0.7219 MB / 471.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004513/0.5197, allocations: 286.6 kB / 471.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.5197, allocations: 12.33 kB / 471.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.5198, allocations: 19.94 kB / 471.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.5213, allocations: 0.7034 MB / 472.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.5213, allocations: 0 / 472.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.567e-05/0.5214, allocations: 12 kB / 472.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.486e-05/0.5214, allocations: 8 kB / 472.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/0.5234, allocations: 0.9211 MB / 473.1 MB, free: 9.523 MB / 366.1 MB 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.004517/0.5279, allocations: 2.009 MB / 475.1 MB, free: 7.336 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.529, allocations: 0.5009 MB / 475.6 MB, free: 6.816 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006185/0.5296, allocations: 321.5 kB / 475.9 MB, free: 6.496 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006731/0.5303, allocations: 270.1 kB / 476.2 MB, free: 6.195 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.5304, allocations: 42.86 kB / 476.2 MB, free: 6.145 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 3.125e-06/0.5304, allocations: 0 / 476.2 MB, free: 6.145 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.002169/0.5326, allocations: 0.9032 MB / 477.1 MB, free: 5.234 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.5327, allocations: 81.11 kB / 477.2 MB, free: 5.137 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.5328, allocations: 128 kB / 477.3 MB, free: 5.004 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.048e-05/0.5329, allocations: 33.7 kB / 477.3 MB, free: 4.965 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.908e-05/0.533, allocations: 124.4 kB / 477.5 MB, free: 4.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.5331, allocations: 98.56 kB / 477.6 MB, free: 4.742 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.044e-05/0.5331, allocations: 4 kB / 477.6 MB, free: 4.738 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.5333, allocations: 326.8 kB / 477.9 MB, free: 4.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006176/0.5339, allocations: 295.8 kB / 478.2 MB, free: 4.121 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007219/0.5347, allocations: 408.2 kB / 478.6 MB, free: 3.676 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006648/0.5353, allocations: 324.2 kB / 478.9 MB, free: 3.359 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.5354, allocations: 0 / 478.9 MB, free: 3.359 MB / 366.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001579/0.5369, allocations: 0.7392 MB / 479.6 MB, free: 2.613 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.537, allocations: 15.94 kB / 479.6 MB, free: 2.598 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.537, allocations: 0 / 479.6 MB, free: 2.598 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.537, allocations: 8 kB / 479.7 MB, free: 2.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008999/0.5379, allocations: 100.8 kB / 479.8 MB, free: 2.492 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.636e-05/0.538, allocations: 15.98 kB / 479.8 MB, free: 2.477 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007267/0.5387, allocations: 47.66 kB / 479.8 MB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-05/0.5388, allocations: 23.98 kB / 479.8 MB, free: 2.406 MB / 366.1 MB 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 (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.0002073/0.539, allocations: 149.6 kB / 480 MB, free: 2.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.5391, allocations: 19.91 kB / 480 MB, free: 2.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00195/0.5411, allocations: 0.7759 MB / 480.8 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.5411, allocations: 4 kB / 480.8 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.5411, allocations: 1.875 kB / 480.8 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.5411, allocations: 3.953 kB / 480.8 MB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.5422, allocations: 0.8058 MB / 481.6 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/0.5422, allocations: 4 kB / 481.6 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008619/0.5431, allocations: 75.86 kB / 481.7 MB, free: 464 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.5431, allocations: 4 kB / 481.7 MB, free: 460 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.488e-05/0.5432, allocations: 19.92 kB / 481.7 MB, free: 440 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.5432, allocations: 4 kB / 481.7 MB, free: 436 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.5432, allocations: 0 / 481.7 MB, free: 436 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001936/0.5451, allocations: 0.957 MB / 482.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.027e-05/0.5452, allocations: 96.86 kB / 482.7 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.915e-05/0.5453, allocations: 15.94 kB / 482.8 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007914/0.5461, allocations: 39.94 kB / 482.8 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/0.5462, allocations: 15.98 kB / 482.8 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.251e-05/0.5463, allocations: 20.84 kB / 482.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.077e-05/0.5464, allocations: 107.2 kB / 482.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5464, allocations: 4 kB / 482.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008765/0.5472, allocations: 180 kB / 483.1 MB, free: 14.96 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4],state.p,state.T) * 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 (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.003052/0.5503, allocations: 1.692 MB / 484.8 MB, free: 13.24 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00145/0.5518, allocations: 0.6563 MB / 485.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.5518, allocations: 0.8125 kB / 485.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006622/0.5525, allocations: 331.8 kB / 485.8 MB, free: 12.26 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007843/0.5533, allocations: 95.78 kB / 485.9 MB, free: 12.17 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004736/0.558, allocations: 2.367 MB / 488.3 MB, free: 9.711 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004905/0.5585, allocations: 0.7408 MB / 489 MB, free: 8.945 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001372/0.5599, allocations: 169.8 kB / 489.2 MB, free: 8.777 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003383/0.5603, allocations: 67.33 kB / 489.2 MB, free: 8.711 MB / 382.1 MB Notification: Performance of SimCode: time 3.257e-06/0.5603, allocations: 96 / 489.2 MB, free: 8.711 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02812/0.5884, allocations: 12.07 MB / 0.4896 GB, free: 12.59 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/0.5886, allocations: 168.4 kB / 0.4897 GB, free: 12.35 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.268/2.856, allocations: 0 / 0.4897 GB, free: 12.35 MB / 398.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_TestOnly_FlueGas.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.mat does not exist to compare? outputFormat=mat