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.001281/0.001282, allocations: 171.5 kB / 14.1 MB, free: 1.223 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.44/1.44, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008766/0.0008766, allocations: 86.7 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.763e-05/2.774e-05, allocations: 4 kB / 322.6 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07838/0.07842, allocations: 47.57 MB / 370.1 MB, free: 1.613 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.236/1.314, allocations: 0.5393 GB / 0.9007 GB, free: 118 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/1.315, allocations: 96.59 kB / 0.9008 GB, free: 118 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5174/1.832, allocations: 146.3 MB / 1.044 GB, free: 96.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.654e-06/1.832, allocations: 3.125 kB / 1.044 GB, free: 96.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.547e-05/1.832, allocations: 6.375 kB / 1.044 GB, free: 96.77 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.001052/1.833, allocations: 0.5993 MB / 1.044 GB, free: 96.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/1.833, allocations: 9.969 kB / 1.044 GB, free: 96.4 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.537e-05/1.833, allocations: 55.11 kB / 1.044 GB, free: 96.36 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003277/1.834, allocations: 43.39 kB / 1.044 GB, free: 96.35 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004164/1.834, allocations: 277.5 kB / 1.045 GB, free: 96.15 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/1.834, allocations: 19.06 kB / 1.045 GB, free: 96.15 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.259e-05/1.834, allocations: 23.45 kB / 1.045 GB, free: 96.15 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004951/1.835, allocations: 314.7 kB / 1.045 GB, free: 96.05 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/1.835, allocations: 6.188 kB / 1.045 GB, free: 96.05 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.277e-05/1.835, allocations: 13.58 kB / 1.045 GB, free: 96.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/1.835, allocations: 5.938 kB / 1.045 GB, free: 96.05 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003307/1.835, allocations: 197.2 kB / 1.045 GB, free: 96.05 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.001664/1.837, allocations: 1.587 MB / 1.047 GB, free: 94.87 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004077/1.837, allocations: 156 kB / 1.047 GB, free: 94.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/1.837, allocations: 95.47 kB / 1.047 GB, free: 94.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.574e-05/1.837, allocations: 11.61 kB / 1.047 GB, free: 94.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/1.837, allocations: 38.59 kB / 1.047 GB, free: 94.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 5.41e-06/1.838, allocations: 0 / 1.047 GB, free: 94.8 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.006455/1.844, allocations: 1.246 MB / 1.048 GB, free: 94.38 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/1.844, allocations: 59.02 kB / 1.048 GB, free: 94.31 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003224/1.844, allocations: 221.2 kB / 1.049 GB, free: 94.21 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.94e-05/1.844, allocations: 29.02 kB / 1.049 GB, free: 94.18 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/1.845, allocations: 184.3 kB / 1.049 GB, free: 94.06 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.673e-05/1.845, allocations: 90.86 kB / 1.049 GB, free: 94.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/1.845, allocations: 7.312 kB / 1.049 GB, free: 94.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.042e-05/1.845, allocations: 336.4 kB / 1.049 GB, free: 93.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002118/1.845, allocations: 84.16 kB / 1.049 GB, free: 93.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/1.845, allocations: 192.2 kB / 1.049 GB, free: 93.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000259/1.846, allocations: 115.5 kB / 1.05 GB, free: 93.58 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/1.846, allocations: 6.594 kB / 1.05 GB, free: 93.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008272/1.846, allocations: 390.4 kB / 1.05 GB, free: 93.52 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/1.846, allocations: 9.5 kB / 1.05 GB, free: 93.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/1.846, allocations: 3.938 kB / 1.05 GB, free: 93.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002891/1.847, allocations: 73.52 kB / 1.05 GB, free: 93.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004235/1.847, allocations: 83.25 kB / 1.05 GB, free: 93.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/1.848, allocations: 1.856 MB / 1.052 GB, free: 91.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003819/1.849, allocations: 20.62 kB / 1.052 GB, free: 91.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.891e-05/1.849, allocations: 40.8 kB / 1.052 GB, free: 91.73 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.0001399/1.849, allocations: 126.3 kB / 1.052 GB, free: 91.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/1.849, allocations: 25.88 kB / 1.052 GB, free: 91.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001171/1.85, allocations: 439 kB / 1.052 GB, free: 91.53 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/1.85, allocations: 3.906 kB / 1.052 GB, free: 91.53 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/1.85, allocations: 3.125 kB / 1.052 GB, free: 91.53 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005238/1.851, allocations: 0.5603 MB / 1.053 GB, free: 91.08 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/1.852, allocations: 0.7219 MB / 1.054 GB, free: 90.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/1.852, allocations: 0 / 1.054 GB, free: 90.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000385/1.853, allocations: 70.05 kB / 1.054 GB, free: 90.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.861e-05/1.853, allocations: 25.19 kB / 1.054 GB, free: 90.74 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.496e-05/1.853, allocations: 19.02 kB / 1.054 GB, free: 90.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007114/1.853, allocations: 1.275 MB / 1.055 GB, free: 89.49 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.853, allocations: 7.797 kB / 1.055 GB, free: 89.49 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007595/1.854, allocations: 489.5 kB / 1.056 GB, free: 89.28 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/1.854, allocations: 102.2 kB / 1.056 GB, free: 89.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.514e-05/1.854, allocations: 3.875 kB / 1.056 GB, free: 89.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003384/1.855, allocations: 24.27 kB / 1.056 GB, free: 89.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.472e-05/1.855, allocations: 25.94 kB / 1.056 GB, free: 89.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.448e-05/1.855, allocations: 33.72 kB / 1.056 GB, free: 89.18 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002134/1.855, allocations: 183.3 kB / 1.056 GB, free: 89.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.855, allocations: 0 / 1.056 GB, free: 89.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001053/1.856, allocations: 186.7 kB / 1.056 GB, free: 89.09 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.002413/1.859, allocations: 1.848 MB / 1.058 GB, free: 88.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00078/1.859, allocations: 373.7 kB / 1.058 GB, free: 88.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/1.859, allocations: 0 / 1.058 GB, free: 88.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003124/1.86, allocations: 230.6 kB / 1.058 GB, free: 87.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/1.861, allocations: 165.2 kB / 1.059 GB, free: 87.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/1.863, allocations: 0.5751 MB / 1.059 GB, free: 87.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/1.863, allocations: 0.7708 MB / 1.06 GB, free: 87 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007957/1.864, allocations: 111.1 kB / 1.06 GB, free: 86.99 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003558/1.864, allocations: 128.1 kB / 1.06 GB, free: 86.98 MB / 426.7 MB Notification: Performance of SimCode: time 9.92e-07/1.864, allocations: 0 / 1.06 GB, free: 86.98 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05055/1.915, allocations: 25.38 MB / 1.085 GB, free: 84.74 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001658/1.915, allocations: 193.1 kB / 1.085 GB, free: 84.52 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.546/4.461, allocations: 0 / 1.085 GB, free: 84.52 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