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.001533/0.001533, allocations: 181 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.083/2.083, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001119/0.001119, allocations: 82.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.952e-05/3.971e-05, allocations: 4 kB / 321.6 MB, free: 17.74 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1061, allocations: 47.58 MB / 369.2 MB, free: 2.098 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.94/2.046, allocations: 0.5393 GB / 0.8998 GB, free: 117.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003385/2.046, allocations: 104 kB / 0.8999 GB, free: 117.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8264/2.873, allocations: 146.3 MB / 1.043 GB, free: 96.61 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.734e-06/2.873, allocations: 0 / 1.043 GB, free: 96.61 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.601e-05/2.873, allocations: 6.344 kB / 1.043 GB, free: 96.61 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.874, allocations: 0.5981 MB / 1.043 GB, free: 96.25 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/2.874, allocations: 15.48 kB / 1.043 GB, free: 96.25 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.969e-05/2.874, allocations: 61.73 kB / 1.043 GB, free: 96.21 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000365/2.874, allocations: 40.25 kB / 1.043 GB, free: 96.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004529/2.875, allocations: 275.3 kB / 1.044 GB, free: 96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/2.875, allocations: 19.94 kB / 1.044 GB, free: 96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.317e-05/2.875, allocations: 26.92 kB / 1.044 GB, free: 96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000654/2.876, allocations: 309.8 kB / 1.044 GB, free: 95.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/2.876, allocations: 6.812 kB / 1.044 GB, free: 95.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.595e-05/2.876, allocations: 14.7 kB / 1.044 GB, free: 95.89 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/2.876, allocations: 10.41 kB / 1.044 GB, free: 95.89 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004578/2.876, allocations: 198.6 kB / 1.044 GB, free: 95.89 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.002266/2.879, allocations: 1.573 MB / 1.046 GB, free: 94.72 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003865/2.879, allocations: 167 kB / 1.046 GB, free: 94.69 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/2.879, allocations: 100.7 kB / 1.046 GB, free: 94.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.086e-05/2.879, allocations: 3.156 kB / 1.046 GB, free: 94.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/2.879, allocations: 37.88 kB / 1.046 GB, free: 94.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 3.026e-06/2.879, allocations: 0 / 1.046 GB, free: 94.64 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.008111/2.887, allocations: 1.243 MB / 1.047 GB, free: 94.22 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/2.888, allocations: 57.67 kB / 1.047 GB, free: 94.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003304/2.888, allocations: 223.8 kB / 1.048 GB, free: 94.06 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.049e-05/2.888, allocations: 28.95 kB / 1.048 GB, free: 94.03 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/2.888, allocations: 242.8 kB / 1.048 GB, free: 93.85 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.617e-05/2.888, allocations: 90.8 kB / 1.048 GB, free: 93.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/2.888, allocations: 3.938 kB / 1.048 GB, free: 93.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.931e-05/2.888, allocations: 325.6 kB / 1.048 GB, free: 93.49 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/2.889, allocations: 87.98 kB / 1.048 GB, free: 93.49 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/2.889, allocations: 189.2 kB / 1.049 GB, free: 93.38 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003046/2.889, allocations: 117.3 kB / 1.049 GB, free: 93.37 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/2.889, allocations: 3.5 kB / 1.049 GB, free: 93.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009915/2.89, allocations: 380.7 kB / 1.049 GB, free: 93.31 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/2.89, allocations: 7.031 kB / 1.049 GB, free: 93.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/2.89, allocations: 3.938 kB / 1.049 GB, free: 93.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003359/2.891, allocations: 72.62 kB / 1.049 GB, free: 93.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005881/2.891, allocations: 87.23 kB / 1.049 GB, free: 93.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/2.893, allocations: 1.854 MB / 1.051 GB, free: 91.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004974/2.893, allocations: 17.84 kB / 1.051 GB, free: 91.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.803e-05/2.893, allocations: 42.06 kB / 1.051 GB, free: 91.53 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.0001848/2.893, allocations: 125.6 kB / 1.051 GB, free: 91.42 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/2.894, allocations: 31.19 kB / 1.051 GB, free: 91.41 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001441/2.895, allocations: 444.3 kB / 1.052 GB, free: 91.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/2.895, allocations: 3.969 kB / 1.052 GB, free: 91.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/2.895, allocations: 0 / 1.052 GB, free: 91.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006196/2.896, allocations: 0.5557 MB / 1.052 GB, free: 90.87 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/2.897, allocations: 0.723 MB / 1.053 GB, free: 90.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/2.897, allocations: 0 / 1.053 GB, free: 90.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005929/2.898, allocations: 74.73 kB / 1.053 GB, free: 90.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001177/2.898, allocations: 19.73 kB / 1.053 GB, free: 90.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.861e-05/2.898, allocations: 14.22 kB / 1.053 GB, free: 90.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008635/2.899, allocations: 1.276 MB / 1.054 GB, free: 89.28 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/2.899, allocations: 12.23 kB / 1.054 GB, free: 89.28 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009465/2.9, allocations: 491.3 kB / 1.055 GB, free: 89.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/2.9, allocations: 107.1 kB / 1.055 GB, free: 88.96 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.958e-05/2.9, allocations: 7.594 kB / 1.055 GB, free: 88.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004441/2.9, allocations: 13.53 kB / 1.055 GB, free: 88.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.045e-05/2.9, allocations: 29.69 kB / 1.055 GB, free: 88.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.414e-05/2.901, allocations: 32.72 kB / 1.055 GB, free: 88.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002609/2.901, allocations: 180.2 kB / 1.055 GB, free: 88.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.21e-07/2.901, allocations: 2.953 kB / 1.055 GB, free: 88.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001091/2.902, allocations: 190.2 kB / 1.055 GB, free: 88.88 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.002704/2.905, allocations: 1.845 MB / 1.057 GB, free: 87.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001087/2.906, allocations: 380 kB / 1.057 GB, free: 87.81 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/2.906, allocations: 3.938 kB / 1.057 GB, free: 87.81 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003848/2.906, allocations: 223.5 kB / 1.058 GB, free: 87.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001548/2.908, allocations: 161.1 kB / 1.058 GB, free: 87.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/2.91, allocations: 0.6035 MB / 1.058 GB, free: 87.46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/2.91, allocations: 0.7705 MB / 1.059 GB, free: 86.76 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005156/2.91, allocations: 138 kB / 1.059 GB, free: 86.75 MB / 426.7 MB Notification: Performance of SimCode: time 1.283e-06/2.91, allocations: 0 / 1.059 GB, free: 86.75 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.072/5.983, allocations: 12.85 MB / 1.072 GB, free: 86.14 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