Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen",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.001244/0.001244, allocations: 181.6 kB / 17.02 MB, free: 5.121 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.68/1.68, allocations: 205.4 MB / 223.1 MB, free: 9.039 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.0008545/0.0008543, allocations: 94.69 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003486, allocations: 4 kB / 328.4 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3002, allocations: 47.57 MB / 375.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9539/1.254, allocations: 438 MB / 0.7949 GB, free: 10.77 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/1.254, allocations: 115.3 kB / 0.795 GB, free: 10.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5469/1.801, allocations: 142.2 MB / 0.9338 GB, free: 43.88 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.435e-06/1.801, allocations: 0 / 0.9338 GB, free: 43.88 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.55e-05/1.802, allocations: 12 kB / 0.9339 GB, free: 43.86 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001218/1.803, allocations: 0.6165 MB / 0.9345 GB, free: 43.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/1.803, allocations: 8.031 kB / 0.9345 GB, free: 43.2 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001106/1.803, allocations: 70.53 kB / 0.9345 GB, free: 43.12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003121/1.803, allocations: 39.62 kB / 0.9346 GB, free: 43.08 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/1.804, allocations: 278.7 kB / 0.9348 GB, free: 42.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/1.804, allocations: 16.56 kB / 0.9349 GB, free: 42.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.058e-05/1.804, allocations: 24 kB / 0.9349 GB, free: 42.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004622/1.804, allocations: 323.6 kB / 0.9352 GB, free: 42.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/1.804, allocations: 0 / 0.9352 GB, free: 42.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.725e-05/1.804, allocations: 12 kB / 0.9352 GB, free: 42.37 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/1.804, allocations: 8 kB / 0.9352 GB, free: 42.36 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002923/1.805, allocations: 205.5 kB / 0.9354 GB, free: 42.16 MB / 426.7 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.001626/1.806, allocations: 1.574 MB / 0.9369 GB, free: 40.43 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002572/1.806, allocations: 163 kB / 0.9371 GB, free: 40.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.873e-05/1.807, allocations: 12.16 kB / 0.9371 GB, free: 40.25 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/1.807, allocations: 38.75 kB / 0.9371 GB, free: 40.21 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 2.184e-06/1.807, allocations: 4 kB / 0.9371 GB, free: 40.2 MB / 426.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.005407/1.812, allocations: 1.623 MB / 0.9387 GB, free: 38.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/1.812, allocations: 55.39 kB / 0.9388 GB, free: 38.39 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/1.812, allocations: 220.2 kB / 0.939 GB, free: 38.17 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.86e-05/1.812, allocations: 37.7 kB / 0.939 GB, free: 38.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.382e-05/1.812, allocations: 180.1 kB / 0.9392 GB, free: 37.94 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.97e-05/1.813, allocations: 90.66 kB / 0.9393 GB, free: 37.85 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/1.813, allocations: 8 kB / 0.9393 GB, free: 37.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.64e-05/1.813, allocations: 338.8 kB / 0.9396 GB, free: 37.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/1.813, allocations: 91.89 kB / 0.9397 GB, free: 37.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/1.813, allocations: 183.8 kB / 0.9399 GB, free: 37.19 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001893/1.813, allocations: 120.4 kB / 0.94 GB, free: 37.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.813, allocations: 0 / 0.94 GB, free: 37.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005419/1.814, allocations: 394.8 kB / 0.9404 GB, free: 36.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/1.814, allocations: 8 kB / 0.9404 GB, free: 36.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/1.814, allocations: 4 kB / 0.9404 GB, free: 36.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002217/1.814, allocations: 69.69 kB / 0.9405 GB, free: 36.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003189/1.814, allocations: 83.89 kB / 0.9405 GB, free: 36.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001052/1.815, allocations: 1.864 MB / 0.9424 GB, free: 34.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002697/1.816, allocations: 19.98 kB / 0.9424 GB, free: 34.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.983e-05/1.816, allocations: 39.98 kB / 0.9424 GB, free: 34.43 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001602/1.816, allocations: 157.7 kB / 0.9426 GB, free: 34.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.131e-05/1.816, allocations: 27.72 kB / 0.9426 GB, free: 34.24 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008326/1.817, allocations: 440.8 kB / 0.943 GB, free: 33.79 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/1.817, allocations: 4 kB / 0.943 GB, free: 33.79 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/1.817, allocations: 3.984 kB / 0.943 GB, free: 33.78 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004495/1.817, allocations: 0.5607 MB / 0.9436 GB, free: 33.13 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009023/1.818, allocations: 0.7251 MB / 0.9443 GB, free: 32.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/1.818, allocations: 0 / 0.9443 GB, free: 32.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000299/1.819, allocations: 71.89 kB / 0.9443 GB, free: 32.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.972e-05/1.819, allocations: 20.84 kB / 0.9444 GB, free: 32.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.621e-05/1.819, allocations: 12 kB / 0.9444 GB, free: 32.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006289/1.819, allocations: 1.284 MB / 0.9456 GB, free: 30.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/1.819, allocations: 0 / 0.9456 GB, free: 30.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005495/1.82, allocations: 0.494 MB / 0.9461 GB, free: 30.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-05/1.82, allocations: 104.8 kB / 0.9462 GB, free: 30.17 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.735e-05/1.82, allocations: 8 kB / 0.9462 GB, free: 30.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/1.82, allocations: 23.95 kB / 0.9462 GB, free: 30.14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/1.82, allocations: 27.91 kB / 0.9463 GB, free: 30.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.382e-05/1.82, allocations: 35.97 kB / 0.9463 GB, free: 30.07 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001762/1.821, allocations: 193.9 kB / 0.9465 GB, free: 29.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.91e-07/1.821, allocations: 0 / 0.9465 GB, free: 29.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008462/1.821, allocations: 188 kB / 0.9467 GB, free: 29.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.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 (26): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00214/1.824, allocations: 1.849 MB / 0.9485 GB, free: 27.81 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006327/1.824, allocations: 366.4 kB / 0.9488 GB, free: 27.44 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/1.824, allocations: 0 / 0.9488 GB, free: 27.44 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002438/1.824, allocations: 231.5 kB / 0.949 GB, free: 27.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008187/1.825, allocations: 156.7 kB / 0.9492 GB, free: 27.05 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003327/1.829, allocations: 3.846 MB / 0.9529 GB, free: 23.09 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/1.829, allocations: 0.7726 MB / 0.9537 GB, free: 22.29 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006434/1.83, allocations: 118.8 kB / 0.9538 GB, free: 22.17 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002713/1.83, allocations: 123.4 kB / 0.9539 GB, free: 22.05 MB / 426.7 MB Notification: Performance of SimCode: time 1.032e-06/1.83, allocations: 0 / 0.9539 GB, free: 22.05 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2575/2.087, allocations: 22.84 MB / 0.9762 GB, free: 99.19 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001535/2.088, allocations: 229.1 kB / 0.9764 GB, free: 98.95 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.473/4.56, allocations: 0 / 0.9764 GB, free: 98.95 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat does not exist to compare? outputFormat=mat