Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.008207/0.008207, allocations: 103.6 kB / 15.74 MB, free: 6.043 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.001759/0.001759, allocations: 191.8 kB / 16.67 MB, free: 5.969 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.484/1.484, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.001167/0.001167, allocations: 46.84 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1118, allocations: 46.63 MB / 373.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.499/0.6108, allocations: 172.7 MB / 0.5331 GB, free: 3.047 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004042/0.6149, allocations: 3.217 MB / 0.5363 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001889/0.6152, allocations: 4 kB / 0.5363 GB, free: 15.81 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006285/0.6158, allocations: 174.9 kB / 0.5364 GB, free: 15.64 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000872/0.6167, allocations: 401.4 kB / 0.5368 GB, free: 15.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008957/0.6176, allocations: 352.4 kB / 0.5372 GB, free: 14.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001071/0.6187, allocations: 0.8953 MB / 0.538 GB, free: 14.01 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002365/0.6189, allocations: 96.67 kB / 0.5381 GB, free: 13.92 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001876/0.6208, allocations: 0.8061 MB / 0.5389 GB, free: 13.11 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003633/0.6212, allocations: 271 kB / 0.5392 GB, free: 12.85 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.027e-05/0.6213, allocations: 32 kB / 0.5392 GB, free: 12.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003031/0.6216, allocations: 123.9 kB / 0.5393 GB, free: 12.7 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.6217, allocations: 91.72 kB / 0.5394 GB, free: 12.61 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002148/0.6219, allocations: 187.2 kB / 0.5396 GB, free: 12.42 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006625/0.6226, allocations: 0.5125 MB / 0.5401 GB, free: 11.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.6226, allocations: 0 / 0.5401 GB, free: 11.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 5.37e-06/0.6226, allocations: 3.984 kB / 0.5401 GB, free: 11.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.6226, allocations: 0 / 0.5401 GB, free: 11.91 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.0009166/0.6236, allocations: 0.5961 MB / 0.5407 GB, free: 11.26 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.6236, allocations: 8.031 kB / 0.5407 GB, free: 11.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000328/0.624, allocations: 44.36 kB / 0.5407 GB, free: 11.21 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004922/0.6245, allocations: 290.5 kB / 0.541 GB, free: 10.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.6245, allocations: 28.5 kB / 0.541 GB, free: 10.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.044e-05/0.6245, allocations: 24 kB / 0.541 GB, free: 10.83 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005031/0.6251, allocations: 311.7 kB / 0.5413 GB, free: 10.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.6251, allocations: 11.81 kB / 0.5414 GB, free: 10.49 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.861e-05/0.6251, allocations: 12.75 kB / 0.5414 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.6251, allocations: 15.94 kB / 0.5414 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003359/0.6255, allocations: 201.6 kB / 0.5416 GB, free: 10.27 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.001762/0.6273, allocations: 1.593 MB / 0.5431 GB, free: 8.523 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003045/0.6276, allocations: 175.2 kB / 0.5433 GB, free: 8.344 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.6277, allocations: 96.77 kB / 0.5434 GB, free: 8.246 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.165e-05/0.6278, allocations: 4 kB / 0.5434 GB, free: 8.242 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.6278, allocations: 38.12 kB / 0.5434 GB, free: 8.199 MB / 430.1 MB Notification: Performance of pre-optimization done (n=22): time 1.703e-06/0.6278, allocations: 4 kB / 0.5434 GB, free: 8.195 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.005262/0.6331, allocations: 1.626 MB / 0.545 GB, free: 6.438 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.6332, allocations: 55.41 kB / 0.5451 GB, free: 6.371 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.6334, allocations: 249 kB / 0.5453 GB, free: 6.121 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.6335, allocations: 37.69 kB / 0.5453 GB, free: 6.078 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.6336, allocations: 172.5 kB / 0.5455 GB, free: 5.906 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.273e-05/0.6336, allocations: 95.17 kB / 0.5456 GB, free: 5.812 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.6338, allocations: 89.64 kB / 0.5457 GB, free: 5.719 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.6339, allocations: 338.8 kB / 0.546 GB, free: 5.379 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.6341, allocations: 83.97 kB / 0.5461 GB, free: 5.297 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002215/0.6343, allocations: 195.8 kB / 0.5463 GB, free: 5.062 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003912/0.6347, allocations: 296.2 kB / 0.5466 GB, free: 4.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.6347, allocations: 0 / 0.5466 GB, free: 4.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006098/0.6353, allocations: 410.8 kB / 0.547 GB, free: 4.316 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.6354, allocations: 4 kB / 0.547 GB, free: 4.312 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.6354, allocations: 7.938 kB / 0.547 GB, free: 4.305 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002173/0.6356, allocations: 78.09 kB / 0.547 GB, free: 4.223 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003164/0.6359, allocations: 83.2 kB / 0.5471 GB, free: 4.145 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/0.6373, allocations: 1.947 MB / 0.549 GB, free: 2.031 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.6375, allocations: 8 kB / 0.549 GB, free: 2.023 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-05/0.6375, allocations: 43.98 kB / 0.5491 GB, free: 1.98 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.000171/0.6377, allocations: 157.9 kB / 0.5492 GB, free: 1.816 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.355e-05/0.6378, allocations: 31.75 kB / 0.5492 GB, free: 1.785 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008183/0.6386, allocations: 436.8 kB / 0.5497 GB, free: 1.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.6386, allocations: 8 kB / 0.5497 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.6386, allocations: 0.875 kB / 0.5497 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005106/0.6392, allocations: 0.5591 MB / 0.5502 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009474/0.6401, allocations: 0.7313 MB / 0.5509 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.6401, allocations: 4 kB / 0.5509 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002918/0.6404, allocations: 71.89 kB / 0.551 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.457e-05/0.6405, allocations: 28.84 kB / 0.551 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.6406, allocations: 19.98 kB / 0.5511 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008914/0.6414, allocations: 1.386 MB / 0.5524 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.6415, allocations: 4.031 kB / 0.5524 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006371/0.6421, allocations: 479.3 kB / 0.5529 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.298e-05/0.6422, allocations: 108.9 kB / 0.553 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.828e-05/0.6422, allocations: 8 kB / 0.553 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.6425, allocations: 8 kB / 0.553 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/0.6425, allocations: 19.97 kB / 0.553 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.366e-05/0.6426, allocations: 31.98 kB / 0.553 GB, free: 13.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001758/0.6427, allocations: 194 kB / 0.5532 GB, free: 13.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6428, allocations: 0 / 0.5532 GB, free: 13.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004579/0.6432, allocations: 123.9 kB / 0.5533 GB, free: 13.23 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.0003676/0.6436, allocations: 147.1 kB / 0.5535 GB, free: 13.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006196/0.6442, allocations: 378.4 kB / 0.5538 GB, free: 12.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.6442, allocations: 0 / 0.5538 GB, free: 12.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002633/0.6445, allocations: 222.5 kB / 0.5541 GB, free: 12.47 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008944/0.6454, allocations: 176.9 kB / 0.5542 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.6466, allocations: 0.6985 MB / 0.5549 GB, free: 11.56 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.6469, allocations: 0.7684 MB / 0.5557 GB, free: 10.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003688/0.6473, allocations: 118.9 kB / 0.5558 GB, free: 10.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/0.6475, allocations: 63.41 kB / 0.5558 GB, free: 10.59 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.6475, allocations: 0 / 0.5558 GB, free: 10.59 MB / 446.1 MB Notification: Performance of Templates: time 0.01339/0.6609, allocations: 8.78 MB / 0.5644 GB, free: 1.793 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1)