Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001243/0.001242, allocations: 179.1 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.003/2.003, allocations: 205.3 MB / 214.4 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001145/0.001145, allocations: 86.7 kB / 262.4 MB, free: 1.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.819e-05/1.831e-05, allocations: 4 kB / 315.6 MB, free: 22.6 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1239, allocations: 47.6 MB / 363.2 MB, free: 6.945 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.995/2.119, allocations: 0.5388 GB / 0.8935 GB, free: 121.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003042/2.12, allocations: 96.36 kB / 0.8936 GB, free: 121.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5909/2.71, allocations: 144.7 MB / 1.035 GB, free: 95.98 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.843e-06/2.71, allocations: 0 / 1.035 GB, free: 95.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.762e-05/2.711, allocations: 7.906 kB / 1.035 GB, free: 95.98 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.001106/2.712, allocations: 0.594 MB / 1.035 GB, free: 95.63 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.083e-05/2.712, allocations: 13.66 kB / 1.035 GB, free: 95.63 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000304/2.712, allocations: 39.16 kB / 1.036 GB, free: 95.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003765/2.712, allocations: 278.1 kB / 1.036 GB, free: 95.42 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/2.712, allocations: 7.719 kB / 1.036 GB, free: 95.42 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.75e-05/2.712, allocations: 16.16 kB / 1.036 GB, free: 95.42 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003752/2.713, allocations: 181.3 kB / 1.036 GB, free: 95.42 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004864/2.713, allocations: 275.2 kB / 1.036 GB, free: 95.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/2.713, allocations: 0 / 1.036 GB, free: 95.32 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.706e-05/2.713, allocations: 4.812 kB / 1.036 GB, free: 95.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/2.713, allocations: 2.906 kB / 1.036 GB, free: 95.32 MB / 426.7 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.001817/2.715, allocations: 1.549 MB / 1.038 GB, free: 94.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002713/2.716, allocations: 148.4 kB / 1.038 GB, free: 94.16 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/2.716, allocations: 81.75 kB / 1.038 GB, free: 94.15 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.354e-05/2.716, allocations: 6.5 kB / 1.038 GB, free: 94.15 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/2.716, allocations: 36.91 kB / 1.038 GB, free: 94.11 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 1.272e-06/2.716, allocations: 2.406 kB / 1.038 GB, free: 94.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.00408/2.72, allocations: 1.002 MB / 1.039 GB, free: 93.69 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/2.72, allocations: 54.19 kB / 1.039 GB, free: 93.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/2.72, allocations: 196 kB / 1.039 GB, free: 93.53 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/2.72, allocations: 25.7 kB / 1.039 GB, free: 93.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/2.72, allocations: 186.9 kB / 1.039 GB, free: 93.38 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.941e-05/2.72, allocations: 86.3 kB / 1.04 GB, free: 93.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.848e-05/2.72, allocations: 0 / 1.04 GB, free: 93.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.472e-05/2.721, allocations: 332.2 kB / 1.04 GB, free: 93.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/2.721, allocations: 81.27 kB / 1.04 GB, free: 93.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/2.721, allocations: 168.8 kB / 1.04 GB, free: 92.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002393/2.721, allocations: 108.1 kB / 1.04 GB, free: 92.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/2.721, allocations: 1.312 kB / 1.04 GB, free: 92.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006998/2.722, allocations: 363.2 kB / 1.041 GB, free: 92.84 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/2.722, allocations: 6.344 kB / 1.041 GB, free: 92.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/2.722, allocations: 3.219 kB / 1.041 GB, free: 92.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002157/2.722, allocations: 62.28 kB / 1.041 GB, free: 92.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003664/2.723, allocations: 89.19 kB / 1.041 GB, free: 92.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/2.724, allocations: 1.809 MB / 1.042 GB, free: 91.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002342/2.724, allocations: 20.03 kB / 1.042 GB, free: 91.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.653e-05/2.724, allocations: 44.17 kB / 1.043 GB, free: 91.12 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 () * 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.0001165/2.724, allocations: 119.9 kB / 1.043 GB, free: 91.01 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005005/2.725, allocations: 248.2 kB / 1.043 GB, free: 90.95 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.557e-05/2.725, allocations: 25.09 kB / 1.043 GB, free: 90.94 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000805/2.726, allocations: 352.2 kB / 1.043 GB, free: 90.87 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-06/2.726, allocations: 2.688 kB / 1.043 GB, free: 90.87 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/2.726, allocations: 1.25 kB / 1.043 GB, free: 90.87 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005029/2.726, allocations: 0.5397 MB / 1.044 GB, free: 90.42 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/2.727, allocations: 0.6591 MB / 1.044 GB, free: 90.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/2.727, allocations: 0 / 1.044 GB, free: 90.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003326/2.727, allocations: 74.5 kB / 1.044 GB, free: 90.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.157e-05/2.728, allocations: 23.08 kB / 1.044 GB, free: 90.11 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.981e-05/2.728, allocations: 10.62 kB / 1.045 GB, free: 90.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000721/2.728, allocations: 1.236 MB / 1.046 GB, free: 88.92 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/2.728, allocations: 3.672 kB / 1.046 GB, free: 88.92 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006585/2.729, allocations: 477.4 kB / 1.046 GB, free: 88.71 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.067e-05/2.729, allocations: 98.86 kB / 1.046 GB, free: 88.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.632e-05/2.729, allocations: 2.625 kB / 1.046 GB, free: 88.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002398/2.729, allocations: 10.08 kB / 1.046 GB, free: 88.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/2.729, allocations: 24.53 kB / 1.046 GB, free: 88.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.716e-05/2.73, allocations: 31.25 kB / 1.046 GB, free: 88.61 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001938/2.73, allocations: 157 kB / 1.046 GB, free: 88.53 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/2.73, allocations: 3.062 kB / 1.046 GB, free: 88.53 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009196/2.731, allocations: 166.6 kB / 1.047 GB, free: 88.53 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 () * 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.002754/2.733, allocations: 1.947 MB / 1.049 GB, free: 87.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000847/2.734, allocations: 354 kB / 1.049 GB, free: 87.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/2.734, allocations: 0 / 1.049 GB, free: 87.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002859/2.735, allocations: 218.3 kB / 1.049 GB, free: 87.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008128/2.735, allocations: 122.1 kB / 1.049 GB, free: 87.37 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/2.737, allocations: 0.5511 MB / 1.05 GB, free: 87.17 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/2.737, allocations: 0.7657 MB / 1.05 GB, free: 86.46 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005465/2.738, allocations: 118.3 kB / 1.051 GB, free: 86.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002718/2.738, allocations: 123.2 kB / 1.051 GB, free: 86.45 MB / 426.7 MB Notification: Performance of SimCode: time 2.9e-07/2.738, allocations: 0 / 1.051 GB, free: 86.45 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04031/2.778, allocations: 15.16 MB / 1.066 GB, free: 86.05 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001899/2.778, allocations: 146 kB / 1.066 GB, free: 85.86 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.39/5.169, allocations: 4 kB / 1.066 GB, free: 85.86 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air.fmu > Modelica_3.2.3_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_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat does not exist to compare? outputFormat=mat