Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004774/0.0004776, allocations: 12 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2551, allocations: 47.57 MB / 326.5 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.4244/0.6795, allocations: 137.3 MB / 463.7 MB, free: 2.277 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002216/0.6818, allocations: 1.945 MB / 465.7 MB, free: 2.238 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003187/0.6821, allocations: 5.656 kB / 465.7 MB, free: 2.238 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005462/0.6827, allocations: 142.1 kB / 465.8 MB, free: 2.238 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007281/0.6834, allocations: 270.2 kB / 466.1 MB, free: 2.234 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009665/0.6844, allocations: 284 kB / 466.3 MB, free: 2.219 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007352/0.6852, allocations: 487 kB / 466.8 MB, free: 2.219 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001954/0.6854, allocations: 72.34 kB / 466.9 MB, free: 2.203 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001034/0.6864, allocations: 432.9 kB / 467.3 MB, free: 2.199 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002709/0.6867, allocations: 175.3 kB / 467.5 MB, free: 2.195 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.938e-05/0.6867, allocations: 13.81 kB / 467.5 MB, free: 2.195 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002862/0.687, allocations: 112.2 kB / 467.6 MB, free: 2.195 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.6872, allocations: 71.27 kB / 467.7 MB, free: 2.195 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.727e-05/0.6873, allocations: 92.89 kB / 467.8 MB, free: 2.164 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003935/0.6877, allocations: 387.6 kB / 468.2 MB, free: 2.141 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.6877, allocations: 0 / 468.2 MB, free: 2.141 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.6877, allocations: 0 / 468.2 MB, free: 2.141 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.6877, allocations: 0 / 468.2 MB, free: 2.141 MB / 382.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.000916/0.6886, allocations: 0.528 MB / 468.7 MB, free: 17.7 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.6887, allocations: 7.875 kB / 468.7 MB, free: 17.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002719/0.689, allocations: 43.53 kB / 468.7 MB, free: 17.69 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003689/0.6893, allocations: 272.1 kB / 469 MB, free: 17.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.6894, allocations: 19.88 kB / 469 MB, free: 17.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.465e-05/0.6894, allocations: 24.41 kB / 469 MB, free: 17.47 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004491/0.6899, allocations: 317.2 kB / 469.3 MB, free: 17.37 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.6899, allocations: 0 / 469.3 MB, free: 17.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.997e-05/0.6899, allocations: 12.56 kB / 469.4 MB, free: 17.37 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.178e-06/0.69, allocations: 7.859 kB / 469.4 MB, free: 17.37 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002878/0.6902, allocations: 207.1 kB / 469.6 MB, free: 17.37 MB / 398.1 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.001763/0.692, allocations: 1.578 MB / 471.1 MB, free: 16.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.6923, allocations: 169.5 kB / 471.3 MB, free: 16.15 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.667e-05/0.6924, allocations: 15.44 kB / 471.3 MB, free: 16.15 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.6924, allocations: 37.16 kB / 471.4 MB, free: 16.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.443e-06/0.6924, allocations: 0 / 471.4 MB, free: 16.11 MB / 398.1 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.005186/0.6976, allocations: 1.617 MB / 473 MB, free: 15.37 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.6976, allocations: 59.84 kB / 473 MB, free: 15.31 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002428/0.6979, allocations: 254.2 kB / 473.3 MB, free: 15.2 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/0.6979, allocations: 35.08 kB / 473.3 MB, free: 15.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.532e-05/0.698, allocations: 170.2 kB / 473.5 MB, free: 15.04 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.684e-05/0.6981, allocations: 105.6 kB / 473.6 MB, free: 14.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.696e-05/0.6981, allocations: 6.156 kB / 473.6 MB, free: 14.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.6983, allocations: 337.7 kB / 473.9 MB, free: 14.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.6984, allocations: 99.78 kB / 474 MB, free: 14.65 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.6986, allocations: 178.3 kB / 474.2 MB, free: 14.54 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.6987, allocations: 120.3 kB / 474.3 MB, free: 14.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.6988, allocations: 5.609 kB / 474.3 MB, free: 14.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005522/0.6993, allocations: 388.7 kB / 474.7 MB, free: 14.46 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.6994, allocations: 8.031 kB / 474.7 MB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.6994, allocations: 2.906 kB / 474.7 MB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002092/0.6996, allocations: 77.22 kB / 474.8 MB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000323/0.6999, allocations: 84.97 kB / 474.9 MB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/0.7013, allocations: 1.869 MB / 476.7 MB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002362/0.7016, allocations: 24.94 kB / 476.8 MB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.951e-05/0.7016, allocations: 43.31 kB / 476.8 MB, free: 12.66 MB / 398.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 () * 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.0001854/0.7018, allocations: 147.8 kB / 477 MB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.61e-05/0.7019, allocations: 35.55 kB / 477 MB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008946/0.7028, allocations: 441 kB / 477.4 MB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.7028, allocations: 3.281 kB / 477.4 MB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.7028, allocations: 0 / 477.4 MB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005357/0.7034, allocations: 0.5603 MB / 478 MB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009036/0.7043, allocations: 0.7197 MB / 478.7 MB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.7043, allocations: 4.062 kB / 478.7 MB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002794/0.7046, allocations: 70 kB / 478.8 MB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.229e-05/0.7047, allocations: 22.73 kB / 478.8 MB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.762e-05/0.7047, allocations: 14.97 kB / 478.8 MB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008755/0.7056, allocations: 1.288 MB / 480.1 MB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.7056, allocations: 0 / 480.1 MB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00058/0.7062, allocations: 0.4965 MB / 480.6 MB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.357e-05/0.7063, allocations: 106.7 kB / 480.7 MB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.738e-05/0.7063, allocations: 6.062 kB / 480.7 MB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.7066, allocations: 14.45 kB / 480.7 MB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.526e-05/0.7066, allocations: 27.19 kB / 480.7 MB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-05/0.7067, allocations: 34.25 kB / 480.8 MB, free: 10.04 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001713/0.7069, allocations: 186.3 kB / 481 MB, free: 9.957 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7069, allocations: 0 / 481 MB, free: 9.957 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005434/0.7074, allocations: 120.3 kB / 481.1 MB, free: 9.953 MB / 398.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 () * 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.0003355/0.7078, allocations: 155 kB / 481.2 MB, free: 9.848 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005697/0.7083, allocations: 368 kB / 481.6 MB, free: 9.734 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.7084, allocations: 11.19 kB / 481.6 MB, free: 9.727 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002458/0.7086, allocations: 233.3 kB / 481.8 MB, free: 9.613 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008112/0.7094, allocations: 161.4 kB / 482 MB, free: 9.594 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.7105, allocations: 0.8237 MB / 482.8 MB, free: 9.145 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.7109, allocations: 0.7748 MB / 483.6 MB, free: 8.441 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005576/0.7115, allocations: 113.2 kB / 483.7 MB, free: 8.398 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/0.7117, allocations: 65.47 kB / 483.8 MB, free: 8.383 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.7117, allocations: 0 / 483.8 MB, free: 8.383 MB / 398.1 MB Notification: Performance of Templates: time 0.01421/0.7259, allocations: 8.252 MB / 492 MB, free: 6.773 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1) Environment - environmentSimulation: