Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.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.Air.DryAirNasa,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa",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.001576/0.001575, allocations: 177.8 kB / 8.358 MB, free: 0.7188 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.103/2.103, 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.001175/0.001174, allocations: 82.8 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.669e-05/2.654e-05, allocations: 4 kB / 314.9 MB, free: 9.043 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.3747, allocations: 47.56 MB / 362.4 MB, free: 45.85 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.584/1.959, allocations: 0.5386 GB / 0.8926 GB, free: 94.73 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003677/1.959, allocations: 99.61 kB / 0.8927 GB, free: 94.67 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.7929/2.752, allocations: 144.7 MB / 1.034 GB, free: 108 MB / 427.1 MB Notification: Performance of FrontEnd: time 1.834e-06/2.752, allocations: 0 / 1.034 GB, free: 108 MB / 427.1 MB Notification: Performance of Transformations before backend: time 2.751e-05/2.752, allocations: 11.19 kB / 1.034 GB, free: 108 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.001213/2.753, allocations: 0.5977 MB / 1.035 GB, free: 107.6 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/2.753, allocations: 12.25 kB / 1.035 GB, free: 107.6 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003811/2.754, allocations: 42.67 kB / 1.035 GB, free: 107.6 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004976/2.754, allocations: 283 kB / 1.035 GB, free: 107.4 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/2.754, allocations: 7.688 kB / 1.035 GB, free: 107.4 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.992e-05/2.754, allocations: 15.34 kB / 1.035 GB, free: 107.4 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004554/2.755, allocations: 175.6 kB / 1.035 GB, free: 107.4 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005868/2.755, allocations: 273.5 kB / 1.035 GB, free: 107.3 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/2.755, allocations: 3.688 kB / 1.035 GB, free: 107.3 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.034e-05/2.756, allocations: 0 / 1.035 GB, free: 107.3 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/2.756, allocations: 6.406 kB / 1.035 GB, free: 107.3 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.002418/2.758, allocations: 1.554 MB / 1.037 GB, free: 106.1 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000316/2.758, allocations: 146.8 kB / 1.037 GB, free: 106.1 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/2.759, allocations: 76.2 kB / 1.037 GB, free: 106.1 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.435e-05/2.759, allocations: 2.219 kB / 1.037 GB, free: 106.1 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/2.759, allocations: 44.56 kB / 1.037 GB, free: 106.1 MB / 427.1 MB Notification: Performance of pre-optimization done (n=20): time 3.456e-06/2.759, allocations: 0 / 1.037 GB, free: 106.1 MB / 427.1 MB Notification: Performance of matching and sorting (n=25): time 0.006993/2.766, allocations: 0.9957 MB / 1.038 GB, free: 105.6 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/2.766, allocations: 55.31 kB / 1.038 GB, free: 105.6 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002883/2.766, allocations: 198.7 kB / 1.038 GB, free: 105.5 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 3.882e-05/2.766, allocations: 28.77 kB / 1.038 GB, free: 105.4 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/2.766, allocations: 247.1 kB / 1.039 GB, free: 105.2 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.232e-05/2.766, allocations: 88.98 kB / 1.039 GB, free: 105.2 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.649e-05/2.766, allocations: 2.531 kB / 1.039 GB, free: 105.2 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 7.489e-05/2.766, allocations: 322 kB / 1.039 GB, free: 104.9 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/2.767, allocations: 78.73 kB / 1.039 GB, free: 104.9 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002996/2.767, allocations: 167.2 kB / 1.039 GB, free: 104.8 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/2.767, allocations: 112.1 kB / 1.039 GB, free: 104.8 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/2.767, allocations: 0 / 1.039 GB, free: 104.8 MB / 427.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000926/2.768, allocations: 347.3 kB / 1.04 GB, free: 104.7 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/2.768, allocations: 11.44 kB / 1.04 GB, free: 104.7 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/2.768, allocations: 3.438 kB / 1.04 GB, free: 104.7 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002839/2.769, allocations: 62.05 kB / 1.04 GB, free: 104.7 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005868/2.769, allocations: 91.94 kB / 1.04 GB, free: 104.7 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/2.771, allocations: 1.8 MB / 1.042 GB, free: 103 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004601/2.771, allocations: 20.39 kB / 1.042 GB, free: 103 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.409e-05/2.771, allocations: 41.73 kB / 1.042 GB, free: 103 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.000202/2.771, allocations: 119 kB / 1.042 GB, free: 102.9 MB / 427.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006491/2.772, allocations: 256.9 kB / 1.042 GB, free: 102.8 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.176e-05/2.772, allocations: 28.98 kB / 1.042 GB, free: 102.8 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/2.773, allocations: 347.4 kB / 1.042 GB, free: 102.7 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/2.773, allocations: 7.094 kB / 1.042 GB, free: 102.7 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/2.773, allocations: 0 / 1.042 GB, free: 102.7 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005689/2.774, allocations: 0.5428 MB / 1.043 GB, free: 102.2 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001336/2.775, allocations: 0.6473 MB / 1.044 GB, free: 101.7 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/2.775, allocations: 6.031 kB / 1.044 GB, free: 101.7 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000569/2.776, allocations: 79.77 kB / 1.044 GB, free: 101.7 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001164/2.776, allocations: 22.11 kB / 1.044 GB, free: 101.7 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/2.776, allocations: 10.33 kB / 1.044 GB, free: 101.7 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008436/2.777, allocations: 1.237 MB / 1.045 GB, free: 100.4 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/2.777, allocations: 0 / 1.045 GB, free: 100.4 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008749/2.778, allocations: 475.5 kB / 1.045 GB, free: 100.1 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/2.778, allocations: 102.1 kB / 1.045 GB, free: 100 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.514e-05/2.778, allocations: 0 / 1.045 GB, free: 100 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004274/2.778, allocations: 13.7 kB / 1.045 GB, free: 100 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.475e-05/2.778, allocations: 25.45 kB / 1.045 GB, free: 100 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.347e-05/2.779, allocations: 33.5 kB / 1.045 GB, free: 100 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0001933/2.779, allocations: 152.9 kB / 1.046 GB, free: 99.93 MB / 427.1 MB Notification: Performance of sort global known variables: time 5.61e-07/2.779, allocations: 0 / 1.046 GB, free: 99.93 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.0009923/2.78, allocations: 166.6 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.00265/2.782, allocations: 1.958 MB / 1.048 GB, free: 98.82 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.001042/2.784, allocations: 341.3 kB / 1.048 GB, free: 98.65 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/2.784, allocations: 0 / 1.048 GB, free: 98.65 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003616/2.784, allocations: 217.7 kB / 1.048 GB, free: 98.5 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001402/2.785, allocations: 125.9 kB / 1.048 GB, free: 98.48 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/2.787, allocations: 0.5717 MB / 1.049 GB, free: 98.18 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/2.788, allocations: 0.7774 MB / 1.05 GB, free: 97.48 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005427/2.788, allocations: 131.5 kB / 1.05 GB, free: 97.41 MB / 427.1 MB Notification: Performance of SimCode: time 1.613e-06/2.788, allocations: 3 kB / 1.05 GB, free: 97.41 MB / 427.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.211/5.999, allocations: 12.37 MB / 1.062 GB, free: 94.58 MB / 427.1 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_res.mat does not exist to compare? outputFormat=mat