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.001371/0.001371, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001731/0.001731, allocations: 197.7 kB / 16.14 MB, free: 6.703 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.678/1.678, allocations: 205.1 MB / 222 MB, free: 4.996 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.3484/0.3484, allocations: 39.93 MB / 309.3 MB, free: 9.582 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.001397/0.001397, allocations: 70.55 kB / 376.9 MB, free: 13.45 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1202, allocations: 56.89 MB / 433.8 MB, free: 4.465 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.4147/0.535, allocations: 178.1 MB / 0.5976 GB, free: 1.859 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007734/0.5427, allocations: 5.929 MB / 0.6034 GB, free: 11.92 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008975/0.5437, allocations: 23.81 kB / 0.6034 GB, free: 11.9 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009585/0.5447, allocations: 278.5 kB / 0.6037 GB, free: 11.62 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004235/0.5489, allocations: 1.419 MB / 0.6051 GB, free: 10.21 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003292/0.5522, allocations: 1.092 MB / 0.6061 GB, free: 9.133 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002861/0.5551, allocations: 2.71 MB / 0.6088 GB, free: 6.418 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006427/0.5558, allocations: 398.5 kB / 0.6091 GB, free: 6.027 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00263/0.5584, allocations: 1.108 MB / 0.6102 GB, free: 4.918 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001185/0.5596, allocations: 0.7783 MB / 0.611 GB, free: 4.137 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.5597, allocations: 32 kB / 0.611 GB, free: 4.105 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00165/0.5614, allocations: 0.6981 MB / 0.6117 GB, free: 3.406 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002936/0.5617, allocations: 231.3 kB / 0.6119 GB, free: 3.18 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004922/0.5622, allocations: 378.2 kB / 0.6123 GB, free: 2.809 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001718/0.5639, allocations: 1.395 MB / 0.6136 GB, free: 1.41 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.5639, allocations: 0 / 0.6136 GB, free: 1.41 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.5639, allocations: 0 / 0.6136 GB, free: 1.41 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.564, allocations: 8 kB / 0.6137 GB, free: 1.402 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.002204/0.5662, allocations: 1.122 MB / 0.6147 GB, free: 232 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.5662, allocations: 11.97 kB / 0.6148 GB, free: 220 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000815/0.567, allocations: 135.1 kB / 0.6149 GB, free: 84 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007453/0.5678, allocations: 0.5118 MB / 0.6154 GB, free: 15.53 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.844e-05/0.5679, allocations: 104.4 kB / 0.6155 GB, free: 15.41 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.366e-05/0.568, allocations: 47.98 kB / 0.6155 GB, free: 15.37 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.5692, allocations: 0.8151 MB / 0.6163 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.5693, allocations: 3.938 kB / 0.6163 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.649e-05/0.5693, allocations: 24 kB / 0.6164 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.278e-05/0.5694, allocations: 40.97 kB / 0.6164 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.5704, allocations: 0.6205 MB / 0.617 GB, free: 13.79 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.004262/0.5747, allocations: 3.988 MB / 0.6209 GB, free: 9.555 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005378/0.5752, allocations: 351.6 kB / 0.6212 GB, free: 9.203 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002537/0.5755, allocations: 169.3 kB / 0.6214 GB, free: 9.035 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003838/0.5759, allocations: 369.4 kB / 0.6217 GB, free: 8.621 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.5759, allocations: 42.72 kB / 0.6218 GB, free: 8.574 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.743e-06/0.576, allocations: 0 / 0.6218 GB, free: 8.574 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.00552/0.5815, allocations: 1.664 MB / 0.6234 GB, free: 6.836 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.61e-05/0.5816, allocations: 136.5 kB / 0.6235 GB, free: 6.672 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007155/0.5823, allocations: 0.6132 MB / 0.6241 GB, free: 6.051 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.836e-05/0.5823, allocations: 37.7 kB / 0.6242 GB, free: 6.008 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002495/0.5826, allocations: 366.8 kB / 0.6245 GB, free: 5.645 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.5827, allocations: 138 kB / 0.6247 GB, free: 5.508 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002047/0.5829, allocations: 162.5 kB / 0.6248 GB, free: 5.344 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.5831, allocations: 370.8 kB / 0.6252 GB, free: 4.973 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003517/0.5835, allocations: 209.8 kB / 0.6254 GB, free: 4.766 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005559/0.584, allocations: 0.5125 MB / 0.6259 GB, free: 4.109 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009174/0.5849, allocations: 0.7447 MB / 0.6266 GB, free: 3.227 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.585, allocations: 0 / 0.6266 GB, free: 3.227 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001443/0.5864, allocations: 0.8878 MB / 0.6275 GB, free: 2.328 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.5864, allocations: 8 kB / 0.6275 GB, free: 2.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/0.5865, allocations: 12 kB / 0.6275 GB, free: 2.309 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001439/0.5879, allocations: 315.4 kB / 0.6278 GB, free: 2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003753/0.5883, allocations: 123.8 kB / 0.6279 GB, free: 1.879 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001068/0.5894, allocations: 0.9308 MB / 0.6288 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005538/0.5899, allocations: 39.98 kB / 0.6288 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.303e-05/0.59, allocations: 67.98 kB / 0.6289 GB, free: 0.8164 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.0003515/0.5904, allocations: 247.7 kB / 0.6291 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.5905, allocations: 79.08 kB / 0.6292 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1977/0.7883, allocations: 0.6657 MB / 0.6299 GB, free: 161.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.7883, allocations: 4.734 kB / 0.6299 GB, free: 161.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.7883, allocations: 3.781 kB / 0.6299 GB, free: 161.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.7884, allocations: 3.328 kB / 0.6299 GB, free: 161.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002189/0.7905, allocations: 1.604 MB / 0.6314 GB, free: 160.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.7906, allocations: 3.844 kB / 0.6315 GB, free: 160.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/0.7916, allocations: 211.6 kB / 0.6317 GB, free: 160.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.286e-05/0.7917, allocations: 26.81 kB / 0.6317 GB, free: 160.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.519e-05/0.7918, allocations: 15.48 kB / 0.6317 GB, free: 160.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00132/0.7931, allocations: 2.684 MB / 0.6343 GB, free: 158 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.7931, allocations: 11.64 kB / 0.6343 GB, free: 158 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.7942, allocations: 0.8022 MB / 0.6351 GB, free: 157.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002513/0.7944, allocations: 189.4 kB / 0.6353 GB, free: 157.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.7946, allocations: 23.09 kB / 0.6353 GB, free: 157.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004172/0.795, allocations: 25.03 kB / 0.6353 GB, free: 157.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.173e-05/0.7951, allocations: 39.91 kB / 0.6354 GB, free: 157.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.506e-05/0.7951, allocations: 42.05 kB / 0.6354 GB, free: 157.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004554/0.7956, allocations: 438.7 kB / 0.6358 GB, free: 157.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.7956, allocations: 0 / 0.6358 GB, free: 157.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009968/0.7966, allocations: 296.8 kB / 0.6361 GB, free: 157.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.0009186/0.7975, allocations: 374.6 kB / 0.6365 GB, free: 157.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001033/0.7986, allocations: 0.539 MB / 0.637 GB, free: 157.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.7986, allocations: 3.344 kB / 0.637 GB, free: 157.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008643/0.7995, allocations: 409.8 kB / 0.6374 GB, free: 157.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/0.801, allocations: 354.3 kB / 0.6377 GB, free: 157.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.8029, allocations: 1.531 MB / 0.6392 GB, free: 156.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.8032, allocations: 0.9299 MB / 0.6401 GB, free: 155.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009915/0.8042, allocations: 263.7 kB / 0.6404 GB, free: 155.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003159/0.8045, allocations: 102.1 kB / 0.6405 GB, free: 155.6 MB / 494.1 MB Notification: Performance of SimCode: time 2.295e-06/0.8045, allocations: 0 / 0.6405 GB, free: 155.6 MB / 494.1 MB Notification: Performance of Templates: time 0.02752/0.8321, allocations: 17.75 MB / 0.6578 GB, free: 154.3 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)