Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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.Nitrogen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008213/0.008218, allocations: 105 kB / 15.74 MB, free: 5.984 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.001964/0.001964, allocations: 197.5 kB / 16.67 MB, free: 5.91 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.545/1.545, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.001428/0.001428, allocations: 51.3 kB / 326.6 MB, free: 14.35 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1191, allocations: 46.62 MB / 373.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.5168/0.636, allocations: 172.7 MB / 0.5331 GB, free: 3.184 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004911/0.6409, allocations: 3.213 MB / 0.5363 GB, free: 15.95 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004214/0.6414, allocations: 7.844 kB / 0.5363 GB, free: 15.95 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008102/0.6423, allocations: 170.9 kB / 0.5364 GB, free: 15.78 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001358/0.6436, allocations: 401.6 kB / 0.5368 GB, free: 15.39 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.6449, allocations: 364.2 kB / 0.5372 GB, free: 15.04 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001359/0.6462, allocations: 0.8915 MB / 0.538 GB, free: 14.14 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002264/0.6465, allocations: 92.69 kB / 0.5381 GB, free: 14.05 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002525/0.649, allocations: 0.8033 MB / 0.5389 GB, free: 13.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006061/0.6496, allocations: 271 kB / 0.5392 GB, free: 12.99 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.104e-05/0.6497, allocations: 28 kB / 0.5392 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004516/0.6502, allocations: 127.8 kB / 0.5393 GB, free: 12.84 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001598/0.6504, allocations: 95.72 kB / 0.5394 GB, free: 12.74 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002916/0.6507, allocations: 187.3 kB / 0.5396 GB, free: 12.56 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008326/0.6515, allocations: 0.5102 MB / 0.5401 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.6515, allocations: 4 kB / 0.5401 GB, free: 12.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.6515, allocations: 3.938 kB / 0.5401 GB, free: 12.04 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.73e-05/0.6515, allocations: 0 / 0.5401 GB, free: 12.04 MB / 430.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.001199/0.6528, allocations: 0.5847 MB / 0.5407 GB, free: 11.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/0.6528, allocations: 8.031 kB / 0.5407 GB, free: 11.4 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003699/0.6532, allocations: 47.61 kB / 0.5407 GB, free: 11.35 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006196/0.6538, allocations: 290.4 kB / 0.541 GB, free: 11.03 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.6539, allocations: 24.56 kB / 0.541 GB, free: 11 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.073e-05/0.6539, allocations: 24 kB / 0.541 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007576/0.6547, allocations: 311.7 kB / 0.5413 GB, free: 10.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/0.6547, allocations: 7.938 kB / 0.5413 GB, free: 10.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.254e-05/0.6548, allocations: 12 kB / 0.5414 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/0.6548, allocations: 8.875 kB / 0.5414 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003575/0.6552, allocations: 213.5 kB / 0.5416 GB, free: 10.41 MB / 430.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.002231/0.6574, allocations: 1.581 MB / 0.5431 GB, free: 8.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003264/0.6577, allocations: 175.1 kB / 0.5433 GB, free: 8.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.6579, allocations: 100.8 kB / 0.5434 GB, free: 8.398 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.641e-05/0.658, allocations: 7.984 kB / 0.5434 GB, free: 8.391 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.658, allocations: 38.56 kB / 0.5434 GB, free: 8.344 MB / 430.1 MB Notification: Performance of pre-optimization done (n=22): time 2.014e-06/0.658, allocations: 3.938 kB / 0.5434 GB, free: 8.34 MB / 430.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.005707/0.6637, allocations: 1.615 MB / 0.545 GB, free: 6.598 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.6638, allocations: 59.41 kB / 0.5451 GB, free: 6.527 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002932/0.6641, allocations: 252.8 kB / 0.5453 GB, free: 6.273 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.932e-05/0.6641, allocations: 33.7 kB / 0.5453 GB, free: 6.234 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.6643, allocations: 172.2 kB / 0.5455 GB, free: 6.062 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.658e-05/0.6643, allocations: 102.6 kB / 0.5456 GB, free: 5.961 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.6645, allocations: 81.69 kB / 0.5457 GB, free: 5.875 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.6646, allocations: 334.8 kB / 0.546 GB, free: 5.539 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/0.6648, allocations: 87.97 kB / 0.5461 GB, free: 5.453 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.6651, allocations: 187.8 kB / 0.5462 GB, free: 5.227 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000464/0.6655, allocations: 300.2 kB / 0.5465 GB, free: 4.891 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.6655, allocations: 4 kB / 0.5465 GB, free: 4.887 MB / 430.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006793/0.6662, allocations: 406.6 kB / 0.5469 GB, free: 4.477 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.6663, allocations: 8 kB / 0.5469 GB, free: 4.469 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.6663, allocations: 4.406 kB / 0.5469 GB, free: 4.465 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002303/0.6665, allocations: 69.69 kB / 0.547 GB, free: 4.391 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003479/0.6669, allocations: 87.83 kB / 0.5471 GB, free: 4.305 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001664/0.6686, allocations: 1.947 MB / 0.549 GB, free: 2.191 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/0.6688, allocations: 16.02 kB / 0.549 GB, free: 2.176 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.615e-05/0.6689, allocations: 36 kB / 0.549 GB, free: 2.141 MB / 430.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.0002001/0.6691, allocations: 157.8 kB / 0.5492 GB, free: 1.977 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.505e-05/0.6692, allocations: 31.7 kB / 0.5492 GB, free: 1.945 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008652/0.67, allocations: 439.4 kB / 0.5496 GB, free: 1.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.67, allocations: 8 kB / 0.5496 GB, free: 1.492 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.6701, allocations: 0 / 0.5496 GB, free: 1.492 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005727/0.6706, allocations: 0.563 MB / 0.5502 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.6718, allocations: 0.7313 MB / 0.5509 GB, free: 44 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.6718, allocations: 0 / 0.5509 GB, free: 44 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003677/0.6722, allocations: 63.95 kB / 0.551 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.25e-05/0.6723, allocations: 32.84 kB / 0.551 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-05/0.6723, allocations: 16.86 kB / 0.551 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001096/0.6734, allocations: 1.382 MB / 0.5524 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.6735, allocations: 3.938 kB / 0.5524 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007412/0.6742, allocations: 483.2 kB / 0.5528 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.6744, allocations: 104.8 kB / 0.5529 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.859e-05/0.6744, allocations: 4 kB / 0.5529 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.6746, allocations: 8 kB / 0.5529 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.882e-05/0.6747, allocations: 31.91 kB / 0.553 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.599e-05/0.6748, allocations: 35.92 kB / 0.553 GB, free: 13.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002173/0.675, allocations: 186 kB / 0.5532 GB, free: 13.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.675, allocations: 0 / 0.5532 GB, free: 13.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006049/0.6756, allocations: 128.1 kB / 0.5533 GB, free: 13.4 MB / 446.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.0004614/0.6761, allocations: 147.1 kB / 0.5534 GB, free: 13.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007565/0.6769, allocations: 378.4 kB / 0.5538 GB, free: 12.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.6769, allocations: 0 / 0.5538 GB, free: 12.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003044/0.6772, allocations: 230.5 kB / 0.554 GB, free: 12.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009721/0.6782, allocations: 169 kB / 0.5542 GB, free: 12.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.6796, allocations: 0.6875 MB / 0.5549 GB, free: 11.74 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.68, allocations: 0.7684 MB / 0.5556 GB, free: 10.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004453/0.6805, allocations: 114.9 kB / 0.5557 GB, free: 10.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/0.6807, allocations: 71.41 kB / 0.5558 GB, free: 10.77 MB / 446.1 MB Notification: Performance of SimCode: time 7.91e-07/0.6807, allocations: 0 / 0.5558 GB, free: 10.77 MB / 446.1 MB Notification: Performance of Templates: time 0.01677/0.6974, allocations: 8.877 MB / 0.5645 GB, free: 1.867 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1)