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.002383/0.002383, allocations: 177.8 kB / 8.36 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.224/2.224, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001154/0.001153, allocations: 94.05 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.636e-05/2.64e-05, allocations: 7.938 kB / 314.9 MB, free: 9.035 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4291/0.4292, allocations: 47.56 MB / 362.4 MB, free: 45.85 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.603/2.032, allocations: 0.5386 GB / 0.8926 GB, free: 94.74 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003566/2.033, allocations: 103.1 kB / 0.8927 GB, free: 94.68 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.7794/2.812, allocations: 144.7 MB / 1.034 GB, free: 107.9 MB / 427.1 MB Notification: Performance of FrontEnd: time 1.733e-06/2.812, allocations: 2.625 kB / 1.034 GB, free: 107.9 MB / 427.1 MB Notification: Performance of Transformations before backend: time 2.918e-05/2.812, allocations: 10.2 kB / 1.034 GB, free: 107.9 MB / 427.1 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.001258/2.813, allocations: 0.6025 MB / 1.035 GB, free: 107.5 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/2.814, allocations: 9.844 kB / 1.035 GB, free: 107.5 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003838/2.814, allocations: 43.83 kB / 1.035 GB, free: 107.4 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000496/2.814, allocations: 276.5 kB / 1.035 GB, free: 107.2 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/2.815, allocations: 8.188 kB / 1.035 GB, free: 107.2 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.75e-05/2.815, allocations: 14.97 kB / 1.035 GB, free: 107.2 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004583/2.815, allocations: 176.8 kB / 1.035 GB, free: 107.2 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005851/2.816, allocations: 278 kB / 1.035 GB, free: 107.1 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/2.816, allocations: 0 / 1.035 GB, free: 107.1 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.184e-05/2.816, allocations: 0 / 1.035 GB, free: 107.1 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/2.816, allocations: 6.562 kB / 1.035 GB, free: 107.1 MB / 427.1 MB 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.002362/2.818, allocations: 1.554 MB / 1.037 GB, free: 106 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003024/2.818, allocations: 142 kB / 1.037 GB, free: 106 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/2.819, allocations: 79.03 kB / 1.037 GB, free: 106 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.411e-05/2.819, allocations: 9.219 kB / 1.037 GB, free: 106 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/2.819, allocations: 33.28 kB / 1.037 GB, free: 105.9 MB / 427.1 MB Notification: Performance of pre-optimization done (n=20): time 3.437e-06/2.819, allocations: 0 / 1.037 GB, free: 105.9 MB / 427.1 MB Notification: Performance of matching and sorting (n=25): time 0.006856/2.826, allocations: 1 MB / 1.038 GB, free: 105.5 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/2.826, allocations: 55.34 kB / 1.038 GB, free: 105.4 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/2.826, allocations: 201.2 kB / 1.038 GB, free: 105.3 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 4.045e-05/2.826, allocations: 29.36 kB / 1.038 GB, free: 105.3 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/2.826, allocations: 246 kB / 1.039 GB, free: 105.1 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.994e-05/2.826, allocations: 88.98 kB / 1.039 GB, free: 105.1 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/2.826, allocations: 0 / 1.039 GB, free: 105.1 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 7.729e-05/2.826, allocations: 325 kB / 1.039 GB, free: 104.8 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/2.827, allocations: 74.53 kB / 1.039 GB, free: 104.8 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002554/2.827, allocations: 173.6 kB / 1.039 GB, free: 104.7 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/2.827, allocations: 107.1 kB / 1.039 GB, free: 104.7 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/2.827, allocations: 3.969 kB / 1.039 GB, free: 104.7 MB / 427.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008968/2.828, allocations: 349.5 kB / 1.04 GB, free: 104.6 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/2.828, allocations: 9.969 kB / 1.04 GB, free: 104.6 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/2.828, allocations: 3.375 kB / 1.04 GB, free: 104.6 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003034/2.828, allocations: 67.31 kB / 1.04 GB, free: 104.6 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005977/2.829, allocations: 80.06 kB / 1.04 GB, free: 104.6 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001499/2.831, allocations: 1.815 MB / 1.042 GB, free: 102.9 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004763/2.831, allocations: 14.36 kB / 1.042 GB, free: 102.9 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.942e-05/2.831, allocations: 41.55 kB / 1.042 GB, free: 102.9 MB / 427.1 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 () * 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.0001698/2.831, allocations: 120.1 kB / 1.042 GB, free: 102.7 MB / 427.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006533/2.832, allocations: 259.4 kB / 1.042 GB, free: 102.7 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.21e-05/2.832, allocations: 33.36 kB / 1.042 GB, free: 102.7 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/2.833, allocations: 346.7 kB / 1.042 GB, free: 102.6 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/2.833, allocations: 7.406 kB / 1.042 GB, free: 102.6 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/2.833, allocations: 0 / 1.042 GB, free: 102.6 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005797/2.834, allocations: 0.5392 MB / 1.043 GB, free: 102.1 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/2.835, allocations: 0.6561 MB / 1.044 GB, free: 101.7 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/2.835, allocations: 0 / 1.044 GB, free: 101.7 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005543/2.836, allocations: 69.98 kB / 1.044 GB, free: 101.7 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001171/2.836, allocations: 20.05 kB / 1.044 GB, free: 101.7 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.856e-05/2.836, allocations: 17.92 kB / 1.044 GB, free: 101.7 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008545/2.837, allocations: 1.236 MB / 1.045 GB, free: 100.5 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/2.837, allocations: 0 / 1.045 GB, free: 100.5 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008864/2.838, allocations: 476.5 kB / 1.045 GB, free: 100.1 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/2.838, allocations: 97.86 kB / 1.045 GB, free: 100 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.523e-05/2.838, allocations: 0 / 1.045 GB, free: 100 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004281/2.838, allocations: 14.77 kB / 1.045 GB, free: 100 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.215e-05/2.839, allocations: 27.53 kB / 1.045 GB, free: 100 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.625e-05/2.839, allocations: 31.42 kB / 1.045 GB, free: 100 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0001945/2.839, allocations: 155.2 kB / 1.046 GB, free: 99.93 MB / 427.1 MB Notification: Performance of sort global known variables: time 4.71e-07/2.839, allocations: 0 / 1.046 GB, free: 99.93 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.001018/2.84, allocations: 161.8 kB / 1.046 GB, free: 99.89 MB / 427.1 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 () * 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.002666/2.843, allocations: 1.952 MB / 1.048 GB, free: 98.83 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.0009022/2.844, allocations: 340 kB / 1.048 GB, free: 98.66 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/2.844, allocations: 0 / 1.048 GB, free: 98.66 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003324/2.844, allocations: 225.8 kB / 1.048 GB, free: 98.51 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/2.845, allocations: 119 kB / 1.048 GB, free: 98.49 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/2.847, allocations: 0.5758 MB / 1.049 GB, free: 98.19 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/2.847, allocations: 0.7697 MB / 1.05 GB, free: 97.48 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005015/2.848, allocations: 136.2 kB / 1.05 GB, free: 97.42 MB / 427.1 MB Notification: Performance of SimCode: time 1.443e-06/2.848, allocations: 0 / 1.05 GB, free: 97.42 MB / 427.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.067/5.915, allocations: 12.38 MB / 1.062 GB, free: 94.6 MB / 427.1 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