Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.Air,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air",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.001545/0.001545, allocations: 186 kB / 16.4 MB, free: 5.699 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.936/1.936, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001172/0.001172, allocations: 91.39 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004034/0.0004035, allocations: 16 kB / 327.1 MB, free: 92 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3593, allocations: 47.57 MB / 374.6 MB, free: 45.31 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.61/1.969, allocations: 0.5888 GB / 0.9546 GB, free: 8.402 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/1.97, allocations: 104.6 kB / 0.9547 GB, free: 8.34 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7537/2.723, allocations: 152.4 MB / 1.104 GB, free: 31.25 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.846e-06/2.723, allocations: 0 / 1.104 GB, free: 31.25 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.677e-05/2.723, allocations: 12 kB / 1.104 GB, free: 31.24 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.001248/2.725, allocations: 0.6209 MB / 1.104 GB, free: 30.57 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/2.725, allocations: 11.97 kB / 1.104 GB, free: 30.56 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001036/2.725, allocations: 62.55 kB / 1.104 GB, free: 30.49 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003542/2.725, allocations: 43.61 kB / 1.104 GB, free: 30.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004207/2.726, allocations: 278.5 kB / 1.105 GB, free: 30.14 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/2.726, allocations: 16.56 kB / 1.105 GB, free: 30.12 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.231e-05/2.726, allocations: 24 kB / 1.105 GB, free: 30.1 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006531/2.726, allocations: 319.6 kB / 1.105 GB, free: 29.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/2.727, allocations: 0 / 1.105 GB, free: 29.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.498e-05/2.727, allocations: 15.98 kB / 1.105 GB, free: 29.74 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/2.727, allocations: 8 kB / 1.105 GB, free: 29.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004573/2.727, allocations: 205.5 kB / 1.105 GB, free: 29.53 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.002231/2.729, allocations: 1.577 MB / 1.107 GB, free: 27.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003835/2.73, allocations: 163 kB / 1.107 GB, free: 27.63 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.053e-05/2.73, allocations: 192 / 1.107 GB, free: 27.63 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/2.73, allocations: 46.75 kB / 1.107 GB, free: 27.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 1.844e-06/2.73, allocations: 0 / 1.107 GB, free: 27.57 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.008911/2.739, allocations: 1.623 MB / 1.108 GB, free: 25.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/2.739, allocations: 59.39 kB / 1.108 GB, free: 25.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000301/2.739, allocations: 228.1 kB / 1.109 GB, free: 25.53 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.993e-05/2.739, allocations: 33.7 kB / 1.109 GB, free: 25.49 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.684e-05/2.739, allocations: 234.6 kB / 1.109 GB, free: 25.25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8e-05/2.739, allocations: 90.66 kB / 1.109 GB, free: 25.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/2.739, allocations: 12 kB / 1.109 GB, free: 25.15 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.258e-05/2.74, allocations: 318.8 kB / 1.109 GB, free: 24.83 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/2.74, allocations: 87.95 kB / 1.109 GB, free: 24.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002828/2.74, allocations: 191.7 kB / 1.11 GB, free: 24.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003021/2.74, allocations: 116.4 kB / 1.11 GB, free: 24.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/2.74, allocations: 0 / 1.11 GB, free: 24.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009359/2.741, allocations: 386.8 kB / 1.11 GB, free: 24.01 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/2.741, allocations: 8 kB / 1.11 GB, free: 24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/2.741, allocations: 7.938 kB / 1.11 GB, free: 24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003017/2.742, allocations: 65.69 kB / 1.11 GB, free: 23.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005915/2.742, allocations: 84.3 kB / 1.11 GB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001405/2.744, allocations: 1.864 MB / 1.112 GB, free: 21.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004612/2.744, allocations: 19.98 kB / 1.112 GB, free: 21.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.383e-05/2.744, allocations: 43.94 kB / 1.112 GB, free: 21.76 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.0002629/2.745, allocations: 161.6 kB / 1.112 GB, free: 21.59 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.79e-05/2.745, allocations: 31.81 kB / 1.112 GB, free: 21.56 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001399/2.746, allocations: 432.7 kB / 1.113 GB, free: 21.12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.537e-06/2.746, allocations: 7.984 kB / 1.113 GB, free: 21.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/2.746, allocations: 0 / 1.113 GB, free: 21.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006415/2.747, allocations: 0.5646 MB / 1.113 GB, free: 20.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/2.748, allocations: 0.7134 MB / 1.114 GB, free: 19.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/2.748, allocations: 0 / 1.114 GB, free: 19.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005661/2.749, allocations: 75.89 kB / 1.114 GB, free: 19.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001186/2.749, allocations: 20.84 kB / 1.114 GB, free: 19.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.684e-05/2.749, allocations: 20.05 kB / 1.114 GB, free: 19.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008529/2.75, allocations: 1.288 MB / 1.115 GB, free: 18.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/2.75, allocations: 3.984 kB / 1.115 GB, free: 18.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000995/2.751, allocations: 0.4899 MB / 1.116 GB, free: 17.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/2.751, allocations: 96.98 kB / 1.116 GB, free: 17.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.928e-05/2.751, allocations: 16 kB / 1.116 GB, free: 17.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004321/2.752, allocations: 23.84 kB / 1.116 GB, free: 17.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.513e-05/2.752, allocations: 23.97 kB / 1.116 GB, free: 17.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.315e-05/2.752, allocations: 31.98 kB / 1.116 GB, free: 17.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002462/2.752, allocations: 186 kB / 1.116 GB, free: 17.22 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.6e-07/2.752, allocations: 0 / 1.116 GB, free: 17.22 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001011/2.753, allocations: 191.9 kB / 1.116 GB, free: 17.04 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.002565/2.756, allocations: 1.847 MB / 1.118 GB, free: 15.15 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009697/2.757, allocations: 370.9 kB / 1.119 GB, free: 14.78 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/2.757, allocations: 0 / 1.119 GB, free: 14.78 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003807/2.757, allocations: 234.5 kB / 1.119 GB, free: 14.54 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001495/2.759, allocations: 160.8 kB / 1.119 GB, free: 14.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004099/2.763, allocations: 3.882 MB / 1.123 GB, free: 10.37 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/2.763, allocations: 0.7765 MB / 1.123 GB, free: 9.562 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005107/2.763, allocations: 135.4 kB / 1.124 GB, free: 9.43 MB / 426.7 MB Notification: Performance of SimCode: time 1.262e-06/2.763, allocations: 0 / 1.124 GB, free: 9.43 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.214/5.978, allocations: 12.88 MB / 1.136 GB, free: 92.62 MB / 426.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat does not exist to compare? outputFormat=mat