Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 195.5 kB / 16.53 MB, free: 6.695 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.56/1.56, allocations: 205.1 MB / 222.4 MB, free: 4.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3962/0.3962, allocations: 39.94 MB / 309.7 MB, free: 9.301 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002824/0.002824, allocations: 75.89 kB / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1466, allocations: 56.88 MB / 434.5 MB, free: 3.695 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.4139/0.5605, allocations: 179.7 MB / 0.5998 GB, free: 15.61 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00838/0.569, allocations: 5.745 MB / 0.6054 GB, free: 9.855 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008802/0.57, allocations: 19.88 kB / 0.6054 GB, free: 9.836 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009583/0.5709, allocations: 317.9 kB / 0.6057 GB, free: 9.523 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004057/0.575, allocations: 1.577 MB / 0.6072 GB, free: 7.949 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003151/0.5782, allocations: 1.23 MB / 0.6084 GB, free: 6.73 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002247/0.5804, allocations: 1.848 MB / 0.6102 GB, free: 4.879 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006598/0.5811, allocations: 470.7 kB / 0.6107 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002654/0.5838, allocations: 1.23 MB / 0.6119 GB, free: 3.188 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001266/0.585, allocations: 0.7472 MB / 0.6126 GB, free: 2.438 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.5852, allocations: 60 kB / 0.6127 GB, free: 2.379 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001896/0.5871, allocations: 0.7373 MB / 0.6134 GB, free: 1.641 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002916/0.5874, allocations: 271.2 kB / 0.6137 GB, free: 1.375 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004594/0.5878, allocations: 394.2 kB / 0.614 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001836/0.5897, allocations: 1.414 MB / 0.6154 GB, free: 15.57 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.5897, allocations: 0 / 0.6154 GB, free: 15.57 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.5897, allocations: 0 / 0.6154 GB, free: 15.57 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.5897, allocations: 4 kB / 0.6154 GB, free: 15.57 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.00237/0.5921, allocations: 1.131 MB / 0.6165 GB, free: 14.38 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.5922, allocations: 15.89 kB / 0.6165 GB, free: 14.37 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000823/0.593, allocations: 139.1 kB / 0.6167 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008049/0.5938, allocations: 0.5002 MB / 0.6172 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/0.5939, allocations: 108.4 kB / 0.6173 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.594, allocations: 44 kB / 0.6173 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.5953, allocations: 0.8213 MB / 0.6181 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.5953, allocations: 4 kB / 0.6181 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.38e-05/0.5954, allocations: 27.98 kB / 0.6181 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.718e-05/0.5954, allocations: 40.92 kB / 0.6182 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000987/0.5964, allocations: 0.6185 MB / 0.6188 GB, free: 11.95 MB / 494.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.0047/0.6012, allocations: 3.987 MB / 0.6227 GB, free: 7.711 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005934/0.6018, allocations: 351.6 kB / 0.623 GB, free: 7.359 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002651/0.602, allocations: 177.3 kB / 0.6232 GB, free: 7.184 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004495/0.6025, allocations: 357.4 kB / 0.6235 GB, free: 6.781 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.6025, allocations: 38.84 kB / 0.6236 GB, free: 6.734 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.274e-06/0.6025, allocations: 0 / 0.6236 GB, free: 6.734 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005616/0.6082, allocations: 1.676 MB / 0.6252 GB, free: 4.992 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.928e-05/0.6083, allocations: 132.5 kB / 0.6253 GB, free: 4.832 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007073/0.609, allocations: 0.6171 MB / 0.6259 GB, free: 4.207 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.426e-05/0.609, allocations: 33.7 kB / 0.626 GB, free: 4.168 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002634/0.6093, allocations: 366.9 kB / 0.6263 GB, free: 3.805 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.6094, allocations: 145.9 kB / 0.6264 GB, free: 3.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002125/0.6097, allocations: 158.5 kB / 0.6266 GB, free: 3.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.6098, allocations: 370.8 kB / 0.627 GB, free: 3.129 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003348/0.6102, allocations: 205.9 kB / 0.6271 GB, free: 2.926 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005439/0.6107, allocations: 0.5125 MB / 0.6276 GB, free: 2.266 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009452/0.6117, allocations: 0.745 MB / 0.6284 GB, free: 1.383 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.261e-06/0.6117, allocations: 4 kB / 0.6284 GB, free: 1.379 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00137/0.6131, allocations: 0.8833 MB / 0.6292 GB, free: 496 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.6131, allocations: 8 kB / 0.6292 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.6131, allocations: 8 kB / 0.6293 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001335/0.6145, allocations: 325.2 kB / 0.6296 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003729/0.6148, allocations: 119.8 kB / 0.6297 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2072/0.8221, allocations: 0.9303 MB / 0.6306 GB, free: 160.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006522/0.8228, allocations: 28.72 kB / 0.6306 GB, free: 160.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.446e-05/0.8229, allocations: 68.5 kB / 0.6307 GB, free: 160.9 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.000323/0.8232, allocations: 243.7 kB / 0.6309 GB, free: 160.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.8233, allocations: 65.81 kB / 0.631 GB, free: 160.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001383/0.8247, allocations: 0.6819 MB / 0.6316 GB, free: 160.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.8247, allocations: 4.641 kB / 0.6316 GB, free: 160.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.8247, allocations: 0 / 0.6316 GB, free: 160.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.8248, allocations: 7.031 kB / 0.6317 GB, free: 160.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001731/0.8265, allocations: 1.61 MB / 0.6332 GB, free: 160 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.8265, allocations: 3.125 kB / 0.6332 GB, free: 160 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009934/0.8275, allocations: 210 kB / 0.6334 GB, free: 160 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.07e-05/0.8276, allocations: 23.12 kB / 0.6335 GB, free: 160 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.522e-05/0.8277, allocations: 20.47 kB / 0.6335 GB, free: 160 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001378/0.829, allocations: 2.882 MB / 0.6363 GB, free: 157.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.8291, allocations: 0 / 0.6363 GB, free: 157.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.8301, allocations: 0.8074 MB / 0.6371 GB, free: 157 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002022/0.8303, allocations: 187.7 kB / 0.6373 GB, free: 156.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.478e-05/0.8304, allocations: 14.52 kB / 0.6373 GB, free: 156.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003725/0.8308, allocations: 13.66 kB / 0.6373 GB, free: 156.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.794e-05/0.8309, allocations: 44.3 kB / 0.6373 GB, free: 156.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.061e-05/0.831, allocations: 41.83 kB / 0.6374 GB, free: 156.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003925/0.8314, allocations: 444.8 kB / 0.6378 GB, free: 156.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8314, allocations: 0 / 0.6378 GB, free: 156.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008406/0.8322, allocations: 293.8 kB / 0.6381 GB, free: 156.6 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.0008135/0.8331, allocations: 364.6 kB / 0.6384 GB, free: 156.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001125/0.8342, allocations: 0.6001 MB / 0.639 GB, free: 156.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.8342, allocations: 0 / 0.639 GB, free: 156.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008872/0.8351, allocations: 416.9 kB / 0.6394 GB, free: 156.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/0.8367, allocations: 384.2 kB / 0.6398 GB, free: 156.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.8386, allocations: 1.329 MB / 0.6411 GB, free: 155.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.8389, allocations: 0.9233 MB / 0.642 GB, free: 154.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009016/0.8398, allocations: 261.1 kB / 0.6422 GB, free: 154.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002733/0.8401, allocations: 100.6 kB / 0.6423 GB, free: 154.7 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.8401, allocations: 0 / 0.6423 GB, free: 154.7 MB / 494.1 MB Notification: Performance of Templates: time 0.02838/0.8685, allocations: 18.33 MB / 0.6602 GB, free: 153.2 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1)