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.001653/0.001653, allocations: 188.3 kB / 16.4 MB, free: 5.625 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.1/2.1, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.00118/0.00118, allocations: 94.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004011/0.0004011, allocations: 16 kB / 327.1 MB, free: 14.99 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1039, allocations: 47.58 MB / 374.6 MB, free: 15.33 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.5187/0.6227, allocations: 137.3 MB / 0.4999 GB, free: 4.133 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004186/0.6269, allocations: 1.95 MB / 0.5018 GB, free: 2.176 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004335/0.6274, allocations: 7.938 kB / 0.5018 GB, free: 2.168 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007248/0.6282, allocations: 135.4 kB / 0.502 GB, free: 2.035 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009802/0.6292, allocations: 271.2 kB / 0.5022 GB, free: 1.77 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.6304, allocations: 285.6 kB / 0.5025 GB, free: 1.492 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009921/0.6314, allocations: 486.9 kB / 0.503 GB, free: 1.016 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002366/0.6317, allocations: 65.2 kB / 0.503 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001494/0.6332, allocations: 442.8 kB / 0.5034 GB, free: 0.5156 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003604/0.6336, allocations: 171.4 kB / 0.5036 GB, free: 356 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.682e-05/0.6336, allocations: 12 kB / 0.5036 GB, free: 344 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004622/0.6341, allocations: 111.8 kB / 0.5037 GB, free: 232 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001551/0.6343, allocations: 71.78 kB / 0.5038 GB, free: 160 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.6344, allocations: 89.58 kB / 0.5039 GB, free: 64 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007795/0.6352, allocations: 389.5 kB / 0.5042 GB, free: 15.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.6353, allocations: 4 kB / 0.5042 GB, free: 15.68 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.6353, allocations: 0 / 0.5042 GB, free: 15.68 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.6353, allocations: 0 / 0.5042 GB, free: 15.68 MB / 394.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.001085/0.6364, allocations: 0.5153 MB / 0.5048 GB, free: 15.12 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.6364, allocations: 8.031 kB / 0.5048 GB, free: 15.11 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001181/0.6366, allocations: 66.47 kB / 0.5048 GB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003686/0.637, allocations: 47.62 kB / 0.5049 GB, free: 14.99 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005149/0.6375, allocations: 270.5 kB / 0.5051 GB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.6375, allocations: 20.56 kB / 0.5051 GB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.501e-05/0.6376, allocations: 31.92 kB / 0.5052 GB, free: 14.63 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007904/0.6384, allocations: 315.7 kB / 0.5055 GB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.6384, allocations: 0 / 0.5055 GB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.829e-05/0.6385, allocations: 19.94 kB / 0.5055 GB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.6386, allocations: 8 kB / 0.5055 GB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005712/0.6391, allocations: 205.5 kB / 0.5057 GB, free: 14.07 MB / 394.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.002835/0.642, allocations: 1.567 MB / 0.5072 GB, free: 12.35 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004966/0.6425, allocations: 166.8 kB / 0.5074 GB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.83e-05/0.6426, allocations: 7.984 kB / 0.5074 GB, free: 12.17 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.6426, allocations: 42.56 kB / 0.5074 GB, free: 12.12 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 2.455e-06/0.6426, allocations: 0 / 0.5074 GB, free: 12.12 MB / 394.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.009626/0.6523, allocations: 1.633 MB / 0.509 GB, free: 10.36 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.6524, allocations: 55.41 kB / 0.5091 GB, free: 10.29 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004143/0.6528, allocations: 260.8 kB / 0.5093 GB, free: 10.03 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.388e-05/0.6529, allocations: 29.7 kB / 0.5094 GB, free: 9.996 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.653, allocations: 226.8 kB / 0.5096 GB, free: 9.77 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.6532, allocations: 102.5 kB / 0.5097 GB, free: 9.668 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/0.6532, allocations: 8 kB / 0.5097 GB, free: 9.66 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.6534, allocations: 326.8 kB / 0.51 GB, free: 9.332 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002699/0.6537, allocations: 87.69 kB / 0.5101 GB, free: 9.246 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003704/0.6541, allocations: 191.8 kB / 0.5103 GB, free: 9.016 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000355/0.6544, allocations: 116.4 kB / 0.5104 GB, free: 8.902 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.6544, allocations: 0 / 0.5104 GB, free: 8.902 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001077/0.6555, allocations: 378.9 kB / 0.5107 GB, free: 8.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.6556, allocations: 8 kB / 0.5107 GB, free: 8.512 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.6556, allocations: 7.953 kB / 0.5107 GB, free: 8.504 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003442/0.656, allocations: 73.67 kB / 0.5108 GB, free: 8.426 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006238/0.6566, allocations: 84.3 kB / 0.5109 GB, free: 8.344 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/0.6586, allocations: 1.864 MB / 0.5127 GB, free: 6.324 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004406/0.6591, allocations: 23.95 kB / 0.5127 GB, free: 6.301 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.6592, allocations: 40 kB / 0.5128 GB, free: 6.262 MB / 394.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 () * Number of clocked 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.0002842/0.6595, allocations: 157.8 kB / 0.5129 GB, free: 6.098 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.828e-05/0.6596, allocations: 27.7 kB / 0.513 GB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001603/0.6612, allocations: 448.2 kB / 0.5134 GB, free: 5.617 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.6613, allocations: 0 / 0.5134 GB, free: 5.617 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.6613, allocations: 4 kB / 0.5134 GB, free: 5.613 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000839/0.6621, allocations: 0.563 MB / 0.5139 GB, free: 4.961 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001649/0.6638, allocations: 0.7247 MB / 0.5146 GB, free: 4.172 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.6638, allocations: 0 / 0.5146 GB, free: 4.172 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005757/0.6644, allocations: 71.89 kB / 0.5147 GB, free: 4.102 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001308/0.6646, allocations: 20.91 kB / 0.5147 GB, free: 4.078 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.804e-05/0.6646, allocations: 15.98 kB / 0.5147 GB, free: 4.062 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001261/0.6659, allocations: 1.288 MB / 0.516 GB, free: 2.637 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.6659, allocations: 0 / 0.516 GB, free: 2.637 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/0.6671, allocations: 0.4979 MB / 0.5165 GB, free: 2.102 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001737/0.6673, allocations: 104.8 kB / 0.5166 GB, free: 1.98 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.107e-05/0.6674, allocations: 4 kB / 0.5166 GB, free: 1.977 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004455/0.6679, allocations: 15.98 kB / 0.5166 GB, free: 1.961 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.898e-05/0.668, allocations: 31.92 kB / 0.5166 GB, free: 1.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-05/0.6681, allocations: 27.98 kB / 0.5167 GB, free: 1.902 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003152/0.6684, allocations: 190 kB / 0.5169 GB, free: 1.719 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6684, allocations: 4.062 kB / 0.5169 GB, free: 1.715 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008022/0.6692, allocations: 120 kB / 0.517 GB, free: 1.598 MB / 394.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 () * Number of clocked 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.002024/0.6713, allocations: 1.226 MB / 0.5182 GB, free: 336 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.6724, allocations: 378.5 kB / 0.5185 GB, free: 15.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.6724, allocations: 3.938 kB / 0.5185 GB, free: 15.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004794/0.6729, allocations: 226.5 kB / 0.5187 GB, free: 15.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/0.6745, allocations: 157.3 kB / 0.5189 GB, free: 15.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005575/0.6801, allocations: 3.849 MB / 0.5227 GB, free: 11.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004904/0.6806, allocations: 0.7729 MB / 0.5234 GB, free: 10.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006028/0.6812, allocations: 139.4 kB / 0.5235 GB, free: 10.66 MB / 410.7 MB Notification: Performance of SimCode: time 9.52e-07/0.6812, allocations: 0 / 0.5235 GB, free: 10.66 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.104/3.785, allocations: 8.787 MB / 0.5321 GB, free: 1.859 MB / 410.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