Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_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.1_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.0008378/0.0008378, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.005016/0.005016, allocations: 171.9 kB / 16.27 MB, free: 6.648 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.416/1.416, allocations: 205.4 MB / 222.4 MB, free: 5.809 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.303/0.303, allocations: 38.04 MB / 308.8 MB, free: 10.18 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.1. 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.0006652/0.0006651, allocations: 16 kB / 377.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1149, allocations: 57.52 MB / 434.6 MB, free: 5.195 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.4286/0.5436, allocations: 175.7 MB / 0.596 GB, free: 8.254 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01032/0.554, allocations: 5.856 MB / 0.6017 GB, free: 2.395 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001166/0.5552, allocations: 23.81 kB / 0.6018 GB, free: 2.371 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001234/0.5564, allocations: 274.5 kB / 0.602 GB, free: 2.102 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005063/0.5615, allocations: 1.412 MB / 0.6034 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00334/0.5649, allocations: 1.093 MB / 0.6045 GB, free: 15.61 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003375/0.5683, allocations: 2.714 MB / 0.6071 GB, free: 12.89 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009015/0.5692, allocations: 402.5 kB / 0.6075 GB, free: 12.5 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003116/0.5723, allocations: 1.098 MB / 0.6086 GB, free: 11.4 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001399/0.5737, allocations: 0.7705 MB / 0.6093 GB, free: 10.63 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.5738, allocations: 32 kB / 0.6094 GB, free: 10.6 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00163/0.5755, allocations: 0.702 MB / 0.61 GB, free: 9.895 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002307/0.5757, allocations: 235.2 kB / 0.6103 GB, free: 9.664 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003729/0.5761, allocations: 395.9 kB / 0.6106 GB, free: 9.27 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001649/0.5778, allocations: 1.375 MB / 0.612 GB, free: 7.891 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.5778, allocations: 0 / 0.612 GB, free: 7.891 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5778, allocations: 0 / 0.612 GB, free: 7.891 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.5778, allocations: 0 / 0.612 GB, free: 7.891 MB / 478.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.001925/0.5797, allocations: 0.9849 MB / 0.6129 GB, free: 6.855 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.5798, allocations: 11.97 kB / 0.613 GB, free: 6.844 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007471/0.5805, allocations: 139 kB / 0.6131 GB, free: 6.707 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006994/0.5812, allocations: 0.508 MB / 0.6136 GB, free: 6.16 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.5813, allocations: 100.4 kB / 0.6137 GB, free: 6.047 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-05/0.5814, allocations: 47.98 kB / 0.6137 GB, free: 6 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.5826, allocations: 0.8214 MB / 0.6145 GB, free: 5.105 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.5827, allocations: 7.938 kB / 0.6145 GB, free: 5.098 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.182e-05/0.5827, allocations: 23.98 kB / 0.6146 GB, free: 5.074 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.019e-05/0.5828, allocations: 40.92 kB / 0.6146 GB, free: 5.035 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009749/0.5838, allocations: 0.6204 MB / 0.6152 GB, free: 4.41 MB / 478.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.004288/0.5881, allocations: 3.984 MB / 0.6191 GB, free: 184 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005605/0.5887, allocations: 347.6 kB / 0.6194 GB, free: 15.83 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002649/0.5889, allocations: 177.3 kB / 0.6196 GB, free: 15.66 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004123/0.5894, allocations: 361.5 kB / 0.6199 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.557e-05/0.5894, allocations: 42.78 kB / 0.62 GB, free: 15.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.295e-06/0.5894, allocations: 0 / 0.62 GB, free: 15.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005485/0.5949, allocations: 1.676 MB / 0.6216 GB, free: 13.46 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.372e-05/0.595, allocations: 136.5 kB / 0.6217 GB, free: 13.29 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007181/0.5957, allocations: 0.6094 MB / 0.6223 GB, free: 12.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.859e-05/0.5958, allocations: 33.7 kB / 0.6224 GB, free: 12.64 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002338/0.596, allocations: 366.8 kB / 0.6227 GB, free: 12.27 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.5961, allocations: 153.9 kB / 0.6229 GB, free: 12.12 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.841e-05/0.5962, allocations: 61.62 kB / 0.6229 GB, free: 12.05 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.5964, allocations: 378.8 kB / 0.6233 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003508/0.5967, allocations: 205.9 kB / 0.6235 GB, free: 11.47 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005119/0.5972, allocations: 0.5047 MB / 0.624 GB, free: 10.82 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000898/0.5981, allocations: 0.7554 MB / 0.6247 GB, free: 9.926 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.5982, allocations: 4 kB / 0.6247 GB, free: 9.922 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001327/0.5995, allocations: 0.8799 MB / 0.6256 GB, free: 9.031 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.5995, allocations: 8 kB / 0.6256 GB, free: 9.023 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.5995, allocations: 8 kB / 0.6256 GB, free: 9.016 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001379/0.6009, allocations: 320.8 kB / 0.6259 GB, free: 8.699 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003676/0.6013, allocations: 123.8 kB / 0.626 GB, free: 8.578 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.6024, allocations: 0.9415 MB / 0.6269 GB, free: 7.613 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005075/0.6029, allocations: 35.98 kB / 0.627 GB, free: 7.578 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.823e-05/0.603, allocations: 72.05 kB / 0.627 GB, free: 7.508 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.0003807/0.6034, allocations: 245.5 kB / 0.6273 GB, free: 7.258 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.6036, allocations: 67.19 kB / 0.6273 GB, free: 7.191 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001502/0.6051, allocations: 0.6761 MB / 0.628 GB, free: 6.504 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.6051, allocations: 4 kB / 0.628 GB, free: 6.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.6051, allocations: 0 / 0.628 GB, free: 6.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.6051, allocations: 11.94 kB / 0.628 GB, free: 6.488 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002154/0.6073, allocations: 1.599 MB / 0.6296 GB, free: 4.742 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.6073, allocations: 7.875 kB / 0.6296 GB, free: 4.734 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.6083, allocations: 207.8 kB / 0.6298 GB, free: 4.531 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.013e-05/0.6084, allocations: 28.97 kB / 0.6298 GB, free: 4.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.8e-05/0.6085, allocations: 23.94 kB / 0.6298 GB, free: 4.477 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001923/0.6104, allocations: 2.681 MB / 0.6324 GB, free: 1.531 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.6104, allocations: 4.188 kB / 0.6325 GB, free: 1.527 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.6116, allocations: 0.8073 MB / 0.6332 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002573/0.6119, allocations: 192.2 kB / 0.6334 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.247e-05/0.612, allocations: 16 kB / 0.6334 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003979/0.6124, allocations: 31.97 kB / 0.6335 GB, free: 444 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.029e-05/0.6125, allocations: 35.95 kB / 0.6335 GB, free: 408 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.141e-05/0.6126, allocations: 39.98 kB / 0.6335 GB, free: 368 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.2331/0.8457, allocations: 435.1 kB / 0.634 GB, free: 159.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.212e-06/0.8457, allocations: 0.625 kB / 0.634 GB, free: 159.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001349/0.8471, allocations: 300.7 kB / 0.6342 GB, free: 159.4 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.0009053/0.848, allocations: 358 kB / 0.6346 GB, free: 159.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001094/0.8491, allocations: 0.5401 MB / 0.6351 GB, free: 159.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.8491, allocations: 0 / 0.6351 GB, free: 159.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008879/0.85, allocations: 417 kB / 0.6355 GB, free: 159.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001909/0.8519, allocations: 360.3 kB / 0.6359 GB, free: 159.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001982/0.8539, allocations: 1.615 MB / 0.6374 GB, free: 158.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.8543, allocations: 0.9246 MB / 0.6383 GB, free: 157.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009338/0.8552, allocations: 271.3 kB / 0.6386 GB, free: 157.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002802/0.8555, allocations: 97.33 kB / 0.6387 GB, free: 157.8 MB / 494.1 MB Notification: Performance of SimCode: time 5.41e-07/0.8555, allocations: 0.875 kB / 0.6387 GB, free: 157.8 MB / 494.1 MB Notification: Performance of Templates: time 0.0265/0.882, allocations: 17.66 MB / 0.6559 GB, free: 156.4 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) Environment - environmentSimulation: