Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.Air,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001696/0.001696, allocations: 194.5 kB / 16.14 MB, free: 6.66 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.637/1.637, allocations: 205.1 MB / 222 MB, free: 4.73 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.3284/0.3284, allocations: 37.99 MB / 307.3 MB, free: 10.02 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.001325/0.001326, allocations: 59.92 kB / 374.6 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.13, allocations: 56.47 MB / 431 MB, free: 7.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.4256/0.5556, allocations: 178.2 MB / 0.5949 GB, free: 5.848 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01134/0.567, allocations: 8.418 MB / 0.6031 GB, free: 13.42 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001137/0.5683, allocations: 31.75 kB / 0.6032 GB, free: 13.39 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.5694, allocations: 270.5 kB / 0.6034 GB, free: 13.12 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004035/0.5735, allocations: 1.316 MB / 0.6047 GB, free: 11.81 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002685/0.5762, allocations: 1.007 MB / 0.6057 GB, free: 10.82 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00248/0.5786, allocations: 2.713 MB / 0.6083 GB, free: 8.102 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005547/0.5792, allocations: 407.2 kB / 0.6087 GB, free: 7.703 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002292/0.5815, allocations: 1.109 MB / 0.6098 GB, free: 6.594 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008892/0.5824, allocations: 0.6851 MB / 0.6105 GB, free: 5.906 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.904e-05/0.5825, allocations: 36 kB / 0.6105 GB, free: 5.871 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001492/0.584, allocations: 0.6942 MB / 0.6112 GB, free: 5.176 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002365/0.5843, allocations: 243.2 kB / 0.6114 GB, free: 4.938 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003928/0.5847, allocations: 370.2 kB / 0.6118 GB, free: 4.574 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001577/0.5863, allocations: 1.395 MB / 0.6131 GB, free: 3.176 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.5863, allocations: 0 / 0.6131 GB, free: 3.176 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.5863, allocations: 0 / 0.6131 GB, free: 3.176 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.5863, allocations: 0 / 0.6131 GB, free: 3.176 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.002178/0.5885, allocations: 1.133 MB / 0.6143 GB, free: 1.996 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.5885, allocations: 11.97 kB / 0.6143 GB, free: 1.984 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008004/0.5893, allocations: 139 kB / 0.6144 GB, free: 1.848 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007468/0.5901, allocations: 0.5118 MB / 0.6149 GB, free: 1.293 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.5902, allocations: 108.3 kB / 0.615 GB, free: 1.176 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.39e-05/0.5903, allocations: 47.98 kB / 0.615 GB, free: 1.129 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.5914, allocations: 0.8175 MB / 0.6158 GB, free: 240 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.5915, allocations: 7.938 kB / 0.6159 GB, free: 232 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.548e-05/0.5915, allocations: 20 kB / 0.6159 GB, free: 212 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.795e-05/0.5916, allocations: 36.98 kB / 0.6159 GB, free: 176 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000958/0.5926, allocations: 0.6166 MB / 0.6165 GB, free: 15.55 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.004046/0.5966, allocations: 3.99 MB / 0.6204 GB, free: 11.31 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005222/0.5972, allocations: 351.6 kB / 0.6207 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000249/0.5974, allocations: 173.3 kB / 0.6209 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003828/0.5978, allocations: 353.5 kB / 0.6212 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.5979, allocations: 46.78 kB / 0.6213 GB, free: 10.34 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.943e-06/0.5979, allocations: 0 / 0.6213 GB, free: 10.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005181/0.603, allocations: 1.671 MB / 0.6229 GB, free: 8.594 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/0.6031, allocations: 132.5 kB / 0.623 GB, free: 8.434 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006234/0.6038, allocations: 0.6171 MB / 0.6237 GB, free: 7.809 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.309e-05/0.6038, allocations: 33.7 kB / 0.6237 GB, free: 7.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/0.604, allocations: 363 kB / 0.624 GB, free: 7.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.6042, allocations: 145.9 kB / 0.6242 GB, free: 7.266 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002041/0.6044, allocations: 158.5 kB / 0.6243 GB, free: 7.105 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.6045, allocations: 374.8 kB / 0.6247 GB, free: 6.73 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000329/0.6049, allocations: 201.9 kB / 0.6249 GB, free: 6.535 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004924/0.6054, allocations: 0.5163 MB / 0.6254 GB, free: 5.875 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008451/0.6062, allocations: 0.7438 MB / 0.6261 GB, free: 4.992 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.6062, allocations: 4 kB / 0.6261 GB, free: 4.988 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001285/0.6075, allocations: 0.8762 MB / 0.627 GB, free: 4.102 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.6076, allocations: 12 kB / 0.627 GB, free: 4.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.6076, allocations: 8 kB / 0.627 GB, free: 4.082 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00132/0.6089, allocations: 329.7 kB / 0.6273 GB, free: 3.758 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003582/0.6093, allocations: 119.8 kB / 0.6274 GB, free: 3.641 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00101/0.6103, allocations: 0.9353 MB / 0.6283 GB, free: 2.684 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004911/0.6108, allocations: 48.03 kB / 0.6284 GB, free: 2.637 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-05/0.6109, allocations: 63.98 kB / 0.6284 GB, free: 2.574 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.0002926/0.6112, allocations: 246.1 kB / 0.6287 GB, free: 2.324 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.6113, allocations: 67.19 kB / 0.6287 GB, free: 2.258 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/0.6127, allocations: 0.6835 MB / 0.6294 GB, free: 1.559 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.6127, allocations: 7.938 kB / 0.6294 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.6127, allocations: 0 / 0.6294 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.6127, allocations: 11.97 kB / 0.6294 GB, free: 1.539 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2031/0.8159, allocations: 1.606 MB / 0.631 GB, free: 163.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/0.8159, allocations: 7 kB / 0.631 GB, free: 163.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.817, allocations: 210.5 kB / 0.6312 GB, free: 163.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.939e-05/0.8171, allocations: 20.8 kB / 0.6312 GB, free: 163.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.069e-05/0.8171, allocations: 19.48 kB / 0.6312 GB, free: 163.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/0.8185, allocations: 2.681 MB / 0.6338 GB, free: 160.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.8186, allocations: 3.062 kB / 0.6338 GB, free: 160.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.8197, allocations: 0.8037 MB / 0.6346 GB, free: 160.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002573/0.8199, allocations: 189.2 kB / 0.6348 GB, free: 160.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.194e-05/0.82, allocations: 12.03 kB / 0.6348 GB, free: 160.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004309/0.8205, allocations: 30.53 kB / 0.6349 GB, free: 160.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.305e-05/0.8206, allocations: 35.33 kB / 0.6349 GB, free: 160.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-05/0.8206, allocations: 48.56 kB / 0.6349 GB, free: 160.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004285/0.8211, allocations: 441.7 kB / 0.6354 GB, free: 160.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.8211, allocations: 0 / 0.6354 GB, free: 160.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009445/0.822, allocations: 295.3 kB / 0.6356 GB, free: 160.3 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.0008538/0.8229, allocations: 359 kB / 0.636 GB, free: 160.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009344/0.8238, allocations: 0.5468 MB / 0.6365 GB, free: 160.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.8238, allocations: 0 / 0.6365 GB, free: 160.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008604/0.8247, allocations: 416.3 kB / 0.6369 GB, free: 160.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/0.8262, allocations: 349.7 kB / 0.6372 GB, free: 160.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.828, allocations: 1.528 MB / 0.6387 GB, free: 159.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.8283, allocations: 0.9358 MB / 0.6396 GB, free: 158.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009553/0.8293, allocations: 262.3 kB / 0.6399 GB, free: 158.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002768/0.8295, allocations: 95.75 kB / 0.64 GB, free: 158.6 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.8295, allocations: 0 / 0.64 GB, free: 158.6 MB / 494.1 MB Notification: Performance of Templates: time 0.02925/0.8588, allocations: 17.77 MB / 0.6573 GB, free: 157.2 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1)