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.007472/0.007472, allocations: 102 kB / 15.73 MB, free: 6.051 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.001191/0.001191, allocations: 191.5 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.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.001136/0.001136, allocations: 56.2 kB / 326.6 MB, free: 3.23 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1038, allocations: 46.62 MB / 373.2 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.4549/0.5588, allocations: 172.8 MB / 0.5332 GB, free: 2.266 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005515/0.5644, allocations: 3.219 MB / 0.5363 GB, free: 15.03 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003566/0.5648, allocations: 8 kB / 0.5363 GB, free: 15.02 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009448/0.5658, allocations: 174.9 kB / 0.5365 GB, free: 14.85 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001634/0.5674, allocations: 407.3 kB / 0.5369 GB, free: 14.45 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001301/0.5688, allocations: 352.5 kB / 0.5372 GB, free: 14.11 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001588/0.5704, allocations: 0.8914 MB / 0.5381 GB, free: 13.21 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003453/0.5707, allocations: 104.7 kB / 0.5382 GB, free: 13.12 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003125/0.5739, allocations: 0.7983 MB / 0.539 GB, free: 12.32 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000711/0.5746, allocations: 278.8 kB / 0.5392 GB, free: 12.05 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001255/0.5747, allocations: 28 kB / 0.5393 GB, free: 12.02 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006329/0.5754, allocations: 123.9 kB / 0.5394 GB, free: 11.9 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003025/0.5757, allocations: 103.7 kB / 0.5395 GB, free: 11.8 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003426/0.5761, allocations: 179.3 kB / 0.5396 GB, free: 11.62 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008303/0.5769, allocations: 0.518 MB / 0.5401 GB, free: 11.1 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.577, allocations: 0 / 0.5401 GB, free: 11.1 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.577, allocations: 0 / 0.5401 GB, free: 11.1 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.51e-05/0.577, allocations: 0 / 0.5401 GB, free: 11.1 MB / 478.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.001277/0.5783, allocations: 0.5892 MB / 0.5407 GB, free: 10.46 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.24e-05/0.5784, allocations: 8.031 kB / 0.5407 GB, free: 10.45 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003986/0.5788, allocations: 47.61 kB / 0.5408 GB, free: 10.41 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006803/0.5795, allocations: 290.4 kB / 0.5411 GB, free: 10.08 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.5795, allocations: 16.56 kB / 0.5411 GB, free: 10.07 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.047e-05/0.5796, allocations: 28 kB / 0.5411 GB, free: 10.04 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006046/0.5802, allocations: 315.7 kB / 0.5414 GB, free: 9.707 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.5802, allocations: 11.88 kB / 0.5414 GB, free: 9.695 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.265e-05/0.5803, allocations: 12 kB / 0.5414 GB, free: 9.684 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.5803, allocations: 4 kB / 0.5414 GB, free: 9.68 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000403/0.5807, allocations: 205.6 kB / 0.5416 GB, free: 9.48 MB / 478.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.002284/0.583, allocations: 1.589 MB / 0.5432 GB, free: 7.742 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000319/0.5833, allocations: 167.2 kB / 0.5433 GB, free: 7.57 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.5835, allocations: 96.77 kB / 0.5434 GB, free: 7.473 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.875e-05/0.5835, allocations: 11.97 kB / 0.5434 GB, free: 7.461 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.563e-05/0.5836, allocations: 46.5 kB / 0.5435 GB, free: 7.406 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.693e-06/0.5836, allocations: 0 / 0.5435 GB, free: 7.406 MB / 478.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.005936/0.5895, allocations: 1.618 MB / 0.5451 GB, free: 5.656 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.5896, allocations: 55.41 kB / 0.5451 GB, free: 5.59 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004095/0.59, allocations: 252.9 kB / 0.5454 GB, free: 5.336 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.248e-05/0.5901, allocations: 33.7 kB / 0.5454 GB, free: 5.297 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.5903, allocations: 180.2 kB / 0.5456 GB, free: 5.113 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.683e-05/0.5904, allocations: 94.64 kB / 0.5456 GB, free: 5.02 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.5905, allocations: 77.69 kB / 0.5457 GB, free: 4.938 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.5907, allocations: 338.8 kB / 0.546 GB, free: 4.598 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/0.5909, allocations: 83.97 kB / 0.5461 GB, free: 4.516 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002822/0.5912, allocations: 191.8 kB / 0.5463 GB, free: 4.285 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005397/0.5918, allocations: 304.2 kB / 0.5466 GB, free: 3.945 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.5918, allocations: 0 / 0.5466 GB, free: 3.945 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000938/0.5927, allocations: 410.9 kB / 0.547 GB, free: 3.531 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/0.5928, allocations: 8 kB / 0.547 GB, free: 3.523 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.5928, allocations: 0 / 0.547 GB, free: 3.523 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002941/0.5931, allocations: 73.62 kB / 0.5471 GB, free: 3.445 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/0.5935, allocations: 83.89 kB / 0.5471 GB, free: 3.363 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001777/0.5952, allocations: 1.952 MB / 0.5491 GB, free: 1.25 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002743/0.5955, allocations: 16.02 kB / 0.5491 GB, free: 1.234 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.235e-05/0.5956, allocations: 39.94 kB / 0.5491 GB, free: 1.195 MB / 478.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002369/0.5959, allocations: 158.4 kB / 0.5493 GB, free: 1.031 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.596, allocations: 31.7 kB / 0.5493 GB, free: 1 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/0.5971, allocations: 441.9 kB / 0.5497 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.5972, allocations: 4 kB / 0.5497 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.5972, allocations: 0 / 0.5497 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2565/0.8536, allocations: 0.5594 MB / 0.5503 GB, free: 170.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001631/0.8553, allocations: 0.7307 MB / 0.551 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.8554, allocations: 0 / 0.551 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004238/0.8558, allocations: 73.89 kB / 0.551 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001653/0.856, allocations: 20.33 kB / 0.5511 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.666e-05/0.856, allocations: 13.64 kB / 0.5511 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009757/0.857, allocations: 1.38 MB / 0.5524 GB, free: 169 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.857, allocations: 3.344 kB / 0.5524 GB, free: 169 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008296/0.8579, allocations: 478.8 kB / 0.5529 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.858, allocations: 103.3 kB / 0.553 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.142e-05/0.8581, allocations: 6.938 kB / 0.553 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002813/0.8584, allocations: 12.52 kB / 0.553 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.57e-05/0.8585, allocations: 25.89 kB / 0.553 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.53e-05/0.8586, allocations: 31.88 kB / 0.5531 GB, free: 168.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003099/0.8589, allocations: 193 kB / 0.5532 GB, free: 168.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.8589, allocations: 0 / 0.5532 GB, free: 168.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001133/0.8601, allocations: 121.9 kB / 0.5534 GB, free: 168.6 MB / 478.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005166/0.8606, allocations: 151.2 kB / 0.5535 GB, free: 168.6 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001041/0.8616, allocations: 373.7 kB / 0.5539 GB, free: 168.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.359e-05/0.8617, allocations: 1.094 kB / 0.5539 GB, free: 168.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003567/0.862, allocations: 238.8 kB / 0.5541 GB, free: 168.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.8631, allocations: 170.9 kB / 0.5542 GB, free: 168.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.8651, allocations: 0.6861 MB / 0.5549 GB, free: 168 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006901/0.8658, allocations: 0.7688 MB / 0.5557 GB, free: 167.3 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008511/0.8667, allocations: 121.4 kB / 0.5558 GB, free: 167.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003004/0.867, allocations: 63.03 kB / 0.5558 GB, free: 167.3 MB / 478.1 MB Notification: Performance of SimCode: time 2.014e-06/0.867, allocations: 4 kB / 0.5558 GB, free: 167.3 MB / 478.1 MB Notification: Performance of Templates: time 0.02522/0.8922, allocations: 8.774 MB / 0.5644 GB, free: 165.6 MB / 478.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile (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)