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.001072/0.001072, allocations: 91.3 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.001357/0.001357, 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.571/1.571, allocations: 205.4 MB / 222.1 MB, free: 5.887 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.0004866/0.0004868, allocations: 8 kB / 278.9 MB, free: 13.05 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2606, allocations: 47.58 MB / 326.5 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.4218/0.6825, allocations: 156.9 MB / 483.4 MB, free: 1.676 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003216/0.6857, allocations: 2.986 MB / 486.4 MB, free: 1.586 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004315/0.6862, allocations: 3.125 kB / 486.4 MB, free: 1.586 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006629/0.6869, allocations: 135.1 kB / 486.5 MB, free: 1.578 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001148/0.688, allocations: 367.8 kB / 486.9 MB, free: 1.555 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.6891, allocations: 274.5 kB / 487.1 MB, free: 1.543 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001842/0.6909, allocations: 1.112 MB / 488.2 MB, free: 1.539 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002829/0.6912, allocations: 71.39 kB / 488.3 MB, free: 1.527 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00219/0.6934, allocations: 0.6763 MB / 489 MB, free: 1.504 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006929/0.6941, allocations: 269.4 kB / 489.3 MB, free: 1.504 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001271/0.6943, allocations: 14.03 kB / 489.3 MB, free: 1.504 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006078/0.6949, allocations: 105.8 kB / 489.4 MB, free: 1.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001801/0.6951, allocations: 84.92 kB / 489.5 MB, free: 1.496 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002029/0.6953, allocations: 94.59 kB / 489.5 MB, free: 1.465 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000594/0.6959, allocations: 392.9 kB / 489.9 MB, free: 1.441 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.6959, allocations: 2.125 kB / 489.9 MB, free: 1.441 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.6959, allocations: 0 / 489.9 MB, free: 1.441 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.714e-05/0.6959, allocations: 0 / 489.9 MB, free: 1.441 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.001247/0.6972, allocations: 0.5151 MB / 490.4 MB, free: 17.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/0.6973, allocations: 8.219 kB / 490.5 MB, free: 17.01 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003853/0.6976, allocations: 49.69 kB / 490.5 MB, free: 16.99 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004816/0.6981, allocations: 273.7 kB / 490.8 MB, free: 16.78 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.6982, allocations: 18.94 kB / 490.8 MB, free: 16.78 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.701e-05/0.6982, allocations: 27.69 kB / 490.8 MB, free: 16.78 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005683/0.6988, allocations: 321.2 kB / 491.1 MB, free: 16.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.6988, allocations: 2.906 kB / 491.1 MB, free: 16.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.23e-05/0.6989, allocations: 15.89 kB / 491.2 MB, free: 16.67 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.6989, allocations: 6.438 kB / 491.2 MB, free: 16.67 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000329/0.6992, allocations: 200.5 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.001906/0.7011, allocations: 1.59 MB / 492.9 MB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000314/0.7015, allocations: 172.4 kB / 493.1 MB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.7016, allocations: 101.8 kB / 493.2 MB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.549e-05/0.7017, allocations: 8.438 kB / 493.2 MB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.7017, allocations: 37.47 kB / 493.3 MB, free: 15.39 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.513e-06/0.7017, allocations: 0 / 493.3 MB, free: 15.39 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.005102/0.7068, allocations: 1.617 MB / 494.9 MB, free: 14.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.7069, allocations: 57.25 kB / 494.9 MB, free: 14.6 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.7071, allocations: 258.4 kB / 495.2 MB, free: 14.49 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.827e-05/0.7072, allocations: 31.86 kB / 495.2 MB, free: 14.46 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.7073, allocations: 171.4 kB / 495.4 MB, free: 14.33 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.736e-05/0.7074, allocations: 102.1 kB / 495.5 MB, free: 14.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.023e-05/0.7074, allocations: 9.188 kB / 495.5 MB, free: 14.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.7076, allocations: 337.5 kB / 495.8 MB, free: 13.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.7077, allocations: 87.16 kB / 495.9 MB, free: 13.95 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.7079, allocations: 188.8 kB / 496.1 MB, free: 13.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002051/0.7081, allocations: 120.3 kB / 496.2 MB, free: 13.83 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7081, allocations: 0 / 496.2 MB, free: 13.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005783/0.7087, allocations: 398.9 kB / 496.6 MB, free: 13.76 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.7088, allocations: 9.078 kB / 496.6 MB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.7088, allocations: 2.906 kB / 496.6 MB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001978/0.709, allocations: 69.64 kB / 496.7 MB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003398/0.7093, allocations: 88.92 kB / 496.8 MB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001423/0.7108, allocations: 1.853 MB / 498.6 MB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002516/0.711, allocations: 18.5 kB / 498.6 MB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.673e-05/0.7111, allocations: 38.47 kB / 498.7 MB, free: 11.96 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.0001818/0.7113, allocations: 160.3 kB / 498.8 MB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.562e-05/0.7114, allocations: 30.17 kB / 498.9 MB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008781/0.7122, allocations: 439.5 kB / 499.3 MB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.7123, allocations: 4 kB / 499.3 MB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.7123, allocations: 2.938 kB / 499.3 MB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000513/0.7128, allocations: 0.5676 MB / 499.9 MB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009698/0.7138, allocations: 0.7226 MB / 0.4888 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.7138, allocations: 2.906 kB / 0.4889 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002818/0.7141, allocations: 74.23 kB / 0.4889 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.031e-05/0.7142, allocations: 24.86 kB / 0.4889 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.84e-05/0.7142, allocations: 12.12 kB / 0.489 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008456/0.7151, allocations: 1.282 MB / 0.4902 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.7151, allocations: 1.859 kB / 0.4902 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005992/0.7157, allocations: 477.7 kB / 0.4907 GB, free: 9.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.691e-05/0.7158, allocations: 105.3 kB / 0.4908 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.223e-05/0.7158, allocations: 14.95 kB / 0.4908 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002361/0.7161, allocations: 15.17 kB / 0.4908 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.855e-05/0.7161, allocations: 24.78 kB / 0.4908 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.045e-05/0.7162, allocations: 32.48 kB / 0.4909 GB, free: 9.363 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001826/0.7164, allocations: 188.4 kB / 0.491 GB, free: 9.285 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.7164, allocations: 4 kB / 0.491 GB, free: 9.281 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000536/0.7169, allocations: 120.1 kB / 0.4911 GB, free: 9.277 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.0003801/0.7173, allocations: 155.4 kB / 0.4913 GB, free: 9.176 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006922/0.718, allocations: 371.4 kB / 0.4917 GB, free: 9.059 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.718, allocations: 2.906 kB / 0.4917 GB, free: 9.059 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002702/0.7183, allocations: 227.8 kB / 0.4919 GB, free: 8.949 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008949/0.7192, allocations: 161.3 kB / 0.492 GB, free: 8.934 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.7205, allocations: 0.8414 MB / 0.4928 GB, free: 8.469 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.7208, allocations: 0.7683 MB / 0.4936 GB, free: 7.762 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000599/0.7215, allocations: 114.6 kB / 0.4937 GB, free: 7.715 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002035/0.7217, allocations: 65.09 kB / 0.4938 GB, free: 7.703 MB / 398.1 MB Notification: Performance of SimCode: time 7.92e-07/0.7217, allocations: 6.375 kB / 0.4938 GB, free: 7.699 MB / 398.1 MB Notification: Performance of Templates: time 0.01443/0.7361, allocations: 8.25 MB / 0.5018 GB, free: 4.316 MB / 398.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)