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.0009058/0.0009059, allocations: 91.38 kB / 15.06 MB, free: 1.098 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.0009253/0.0009254, allocations: 172.7 kB / 15.95 MB, free: 208 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.458/1.458, allocations: 205.4 MB / 222.1 MB, free: 5.535 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.0004871/0.0004873, allocations: 8 kB / 278.9 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2625, allocations: 47.58 MB / 326.5 MB, free: 1.441 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.4051/0.6676, allocations: 156.9 MB / 483.4 MB, free: 1.668 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003714/0.6714, allocations: 2.989 MB / 486.4 MB, free: 1.578 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00038/0.6718, allocations: 9.844 kB / 486.4 MB, free: 1.574 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005597/0.6724, allocations: 129 kB / 486.5 MB, free: 1.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009441/0.6734, allocations: 368.9 kB / 486.9 MB, free: 1.547 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008237/0.6742, allocations: 269 kB / 487.1 MB, free: 1.539 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001111/0.6753, allocations: 1.115 MB / 488.2 MB, free: 1.535 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.6755, allocations: 69.89 kB / 488.3 MB, free: 1.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001715/0.6772, allocations: 0.6771 MB / 489 MB, free: 1.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000385/0.6776, allocations: 265.2 kB / 489.3 MB, free: 1.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.217e-05/0.6777, allocations: 11.62 kB / 489.3 MB, free: 1.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003484/0.678, allocations: 117.3 kB / 489.4 MB, free: 1.492 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.6781, allocations: 72.88 kB / 489.5 MB, free: 1.492 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.277e-05/0.6782, allocations: 93.23 kB / 489.5 MB, free: 1.461 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004428/0.6787, allocations: 399.1 kB / 489.9 MB, free: 1.438 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.6787, allocations: 0 / 489.9 MB, free: 1.438 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.6787, allocations: 3.344 kB / 489.9 MB, free: 1.438 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.6787, allocations: 0 / 489.9 MB, free: 1.438 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.000886/0.6796, allocations: 0.5182 MB / 490.5 MB, free: 17 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.6796, allocations: 8.906 kB / 490.5 MB, free: 17 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002682/0.6799, allocations: 45.59 kB / 490.5 MB, free: 16.99 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.6803, allocations: 267.3 kB / 490.8 MB, free: 16.78 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.6803, allocations: 24.12 kB / 490.8 MB, free: 16.78 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.123e-05/0.6803, allocations: 25.16 kB / 490.8 MB, free: 16.78 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004825/0.6808, allocations: 319.6 kB / 491.1 MB, free: 16.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.6809, allocations: 0 / 491.1 MB, free: 16.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.694e-05/0.6809, allocations: 19.02 kB / 491.1 MB, free: 16.67 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.6809, allocations: 6.953 kB / 491.2 MB, free: 16.67 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002926/0.6812, allocations: 203.2 kB / 491.4 MB, free: 16.67 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.001699/0.6829, allocations: 1.583 MB / 492.9 MB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/0.6832, allocations: 176.5 kB / 493.1 MB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/0.6834, allocations: 98.22 kB / 493.2 MB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.475e-05/0.6834, allocations: 7.203 kB / 493.2 MB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.6835, allocations: 41.8 kB / 493.3 MB, free: 15.4 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.673e-06/0.6835, allocations: 0 / 493.3 MB, free: 15.4 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.004922/0.6884, allocations: 1.616 MB / 494.9 MB, free: 14.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.6885, allocations: 58.81 kB / 494.9 MB, free: 14.6 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002566/0.6887, allocations: 259 kB / 495.2 MB, free: 14.49 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.6888, allocations: 31.02 kB / 495.2 MB, free: 14.46 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.6889, allocations: 175.1 kB / 495.4 MB, free: 14.33 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.208e-05/0.689, allocations: 93.47 kB / 495.5 MB, free: 14.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.882e-05/0.689, allocations: 6.562 kB / 495.5 MB, free: 14.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.6891, allocations: 340.6 kB / 495.8 MB, free: 13.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.6893, allocations: 94.14 kB / 495.9 MB, free: 13.95 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.6895, allocations: 183.8 kB / 496.1 MB, free: 13.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.6897, allocations: 117.8 kB / 496.2 MB, free: 13.83 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.6897, allocations: 0 / 496.2 MB, free: 13.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005996/0.6903, allocations: 397 kB / 496.6 MB, free: 13.76 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.6904, allocations: 9.766 kB / 496.6 MB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.6904, allocations: 2.688 kB / 496.6 MB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002095/0.6906, allocations: 76.12 kB / 496.7 MB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003272/0.6909, allocations: 86.28 kB / 496.8 MB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001434/0.6924, allocations: 1.856 MB / 498.6 MB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/0.6926, allocations: 22.83 kB / 498.6 MB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.615e-05/0.6927, allocations: 41.08 kB / 498.7 MB, free: 11.95 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.0001882/0.6929, allocations: 157.1 kB / 498.8 MB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.382e-05/0.693, allocations: 26.53 kB / 498.9 MB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009008/0.6939, allocations: 440.5 kB / 499.3 MB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.6939, allocations: 6.719 kB / 499.3 MB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.6939, allocations: 4 kB / 499.3 MB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000561/0.6945, allocations: 0.5649 MB / 499.9 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009328/0.6954, allocations: 0.7215 MB / 0.4888 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.6954, allocations: 7.25 kB / 0.4889 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002914/0.6957, allocations: 70.47 kB / 0.4889 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.746e-05/0.6958, allocations: 19.47 kB / 0.4889 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.6958, allocations: 15.55 kB / 0.489 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008745/0.6967, allocations: 1.286 MB / 0.4902 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6967, allocations: 0 / 0.4902 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006138/0.6974, allocations: 482.3 kB / 0.4907 GB, free: 9.473 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.601e-05/0.6975, allocations: 104.1 kB / 0.4908 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.654e-05/0.6975, allocations: 8.719 kB / 0.4908 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.6977, allocations: 12.91 kB / 0.4908 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.6978, allocations: 23.48 kB / 0.4908 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-05/0.6978, allocations: 32.44 kB / 0.4908 GB, free: 9.363 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001628/0.698, allocations: 191.6 kB / 0.491 GB, free: 9.281 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.698, allocations: 0 / 0.491 GB, free: 9.281 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005514/0.6986, allocations: 127.4 kB / 0.4911 GB, free: 9.273 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.0003505/0.6989, allocations: 154.2 kB / 0.4913 GB, free: 9.176 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006359/0.6996, allocations: 372.6 kB / 0.4917 GB, free: 9.055 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.6996, allocations: 3.719 kB / 0.4917 GB, free: 9.055 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002744/0.6999, allocations: 232.4 kB / 0.4919 GB, free: 8.941 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008813/0.7008, allocations: 167.1 kB / 0.492 GB, free: 8.918 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.702, allocations: 0.8298 MB / 0.4928 GB, free: 8.461 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.7024, allocations: 0.7705 MB / 0.4936 GB, free: 7.758 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005658/0.703, allocations: 114.4 kB / 0.4937 GB, free: 7.711 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/0.7032, allocations: 68.75 kB / 0.4938 GB, free: 7.695 MB / 398.1 MB Notification: Performance of SimCode: time 7.52e-07/0.7032, allocations: 2 kB / 0.4938 GB, free: 7.695 MB / 398.1 MB Notification: Performance of Templates: time 0.01338/0.7166, allocations: 8.258 MB / 0.5018 GB, free: 4.297 MB / 398.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)