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.000824/0.000824, allocations: 86.02 kB / 15.06 MB, free: 1.09 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.0008574/0.0008577, allocations: 168.7 kB / 15.95 MB, free: 204 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.458/1.458, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.3656/0.3656, allocations: 38.03 MB / 308.4 MB, free: 10.26 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.0005562/0.0005562, allocations: 16 kB / 376.4 MB, free: 15.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1229, allocations: 57.52 MB / 434 MB, free: 5.508 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.4371/0.56, allocations: 163.9 MB / 0.5838 GB, free: 4.617 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01029/0.5703, allocations: 7.728 MB / 0.5914 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008948/0.5713, allocations: 27.75 kB / 0.5914 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008611/0.5722, allocations: 258.4 kB / 0.5916 GB, free: 12.6 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003607/0.5758, allocations: 1.273 MB / 0.5929 GB, free: 11.33 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002429/0.5782, allocations: 0.8943 MB / 0.5938 GB, free: 10.45 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002272/0.5805, allocations: 2.246 MB / 0.596 GB, free: 8.195 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005351/0.581, allocations: 382.5 kB / 0.5963 GB, free: 7.82 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002292/0.5834, allocations: 1.045 MB / 0.5973 GB, free: 6.777 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008753/0.5842, allocations: 0.6541 MB / 0.598 GB, free: 6.121 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.014e-05/0.5843, allocations: 39.98 kB / 0.598 GB, free: 6.082 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001522/0.5859, allocations: 0.5967 MB / 0.5986 GB, free: 5.484 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002248/0.5861, allocations: 235.3 kB / 0.5988 GB, free: 5.254 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001573/0.5863, allocations: 165.3 kB / 0.599 GB, free: 5.086 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.5873, allocations: 0.9976 MB / 0.6 GB, free: 4.086 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.5873, allocations: 0 / 0.6 GB, free: 4.086 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.5873, allocations: 0 / 0.6 GB, free: 4.086 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.5873, allocations: 0 / 0.6 GB, free: 4.086 MB / 462.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.001935/0.5893, allocations: 0.989 MB / 0.6009 GB, free: 3.051 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.5893, allocations: 8.562 kB / 0.6009 GB, free: 3.043 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006999/0.59, allocations: 135 kB / 0.6011 GB, free: 2.91 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006977/0.5908, allocations: 496.7 kB / 0.6015 GB, free: 2.383 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.5909, allocations: 100.4 kB / 0.6016 GB, free: 2.273 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.612e-05/0.591, allocations: 51.97 kB / 0.6017 GB, free: 2.223 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.5921, allocations: 0.8097 MB / 0.6025 GB, free: 1.336 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.5922, allocations: 15.8 kB / 0.6025 GB, free: 1.32 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.603e-05/0.5923, allocations: 19.98 kB / 0.6025 GB, free: 1.301 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.372e-05/0.5923, allocations: 40.98 kB / 0.6025 GB, free: 1.262 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009438/0.5933, allocations: 0.6244 MB / 0.6031 GB, free: 0.6328 MB / 462.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.00443/0.5977, allocations: 3.976 MB / 0.607 GB, free: 12.41 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005401/0.5983, allocations: 351.6 kB / 0.6074 GB, free: 12.06 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002637/0.5985, allocations: 169.3 kB / 0.6075 GB, free: 11.89 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004758/0.599, allocations: 365.5 kB / 0.6079 GB, free: 11.48 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.326e-05/0.5991, allocations: 42.83 kB / 0.6079 GB, free: 11.43 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 2.504e-06/0.5991, allocations: 0 / 0.6079 GB, free: 11.43 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.004813/0.6039, allocations: 1.672 MB / 0.6095 GB, free: 9.688 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.275e-05/0.604, allocations: 136.5 kB / 0.6097 GB, free: 9.523 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007038/0.6047, allocations: 0.6016 MB / 0.6103 GB, free: 8.914 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.361e-05/0.6048, allocations: 37.64 kB / 0.6103 GB, free: 8.871 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002696/0.605, allocations: 366.9 kB / 0.6107 GB, free: 8.508 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.6052, allocations: 146 kB / 0.6108 GB, free: 8.363 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.6052, allocations: 16 kB / 0.6108 GB, free: 8.348 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.6054, allocations: 374.8 kB / 0.6112 GB, free: 7.973 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000322/0.6057, allocations: 201.9 kB / 0.6114 GB, free: 7.777 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005311/0.6062, allocations: 0.5124 MB / 0.6119 GB, free: 7.121 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004387/0.6067, allocations: 291.6 kB / 0.6121 GB, free: 6.836 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.6067, allocations: 0 / 0.6121 GB, free: 6.836 MB / 478.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001337/0.608, allocations: 0.8754 MB / 0.613 GB, free: 5.949 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.6081, allocations: 12 kB / 0.613 GB, free: 5.938 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-05/0.6081, allocations: 12.86 kB / 0.613 GB, free: 5.926 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001278/0.6094, allocations: 320.6 kB / 0.6133 GB, free: 5.609 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003619/0.6098, allocations: 119.8 kB / 0.6134 GB, free: 5.492 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001027/0.6108, allocations: 0.9352 MB / 0.6143 GB, free: 4.531 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004972/0.6113, allocations: 51.97 kB / 0.6144 GB, free: 4.48 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.564e-05/0.6114, allocations: 64 kB / 0.6145 GB, free: 4.418 MB / 478.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 (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: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.000322/0.6117, allocations: 241.5 kB / 0.6147 GB, free: 4.172 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.6118, allocations: 67.25 kB / 0.6148 GB, free: 4.105 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001426/0.6133, allocations: 0.6881 MB / 0.6154 GB, free: 3.402 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.6133, allocations: 8 kB / 0.6154 GB, free: 3.395 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.6133, allocations: 0 / 0.6154 GB, free: 3.395 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.6133, allocations: 3.984 kB / 0.6154 GB, free: 3.391 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002035/0.6154, allocations: 1.595 MB / 0.617 GB, free: 1.652 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.6154, allocations: 4 kB / 0.617 GB, free: 1.648 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009697/0.6164, allocations: 211.9 kB / 0.6172 GB, free: 1.441 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.056e-05/0.6165, allocations: 28.78 kB / 0.6172 GB, free: 1.41 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.074e-05/0.6165, allocations: 19.48 kB / 0.6172 GB, free: 1.395 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00192/0.6184, allocations: 2.691 MB / 0.6199 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.6185, allocations: 4.031 kB / 0.6199 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.6196, allocations: 0.8002 MB / 0.6207 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002444/0.6199, allocations: 188.2 kB / 0.6208 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.672e-05/0.62, allocations: 15.95 kB / 0.6209 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003699/0.6203, allocations: 28.03 kB / 0.6209 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.128e-05/0.6204, allocations: 47.83 kB / 0.6209 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.585e-05/0.6205, allocations: 39.98 kB / 0.621 GB, free: 13.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004768/0.621, allocations: 427 kB / 0.6214 GB, free: 12.86 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.621, allocations: 0 / 0.6214 GB, free: 12.86 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009986/0.622, allocations: 300 kB / 0.6217 GB, free: 12.56 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.0008442/0.6229, allocations: 364.1 kB / 0.622 GB, free: 12.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.6239, allocations: 0.5309 MB / 0.6225 GB, free: 11.67 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6239, allocations: 0 / 0.6225 GB, free: 11.67 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009128/0.6248, allocations: 422.7 kB / 0.6229 GB, free: 11.25 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/0.6263, allocations: 339.6 kB / 0.6233 GB, free: 10.92 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/0.6283, allocations: 1.544 MB / 0.6248 GB, free: 9.34 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004861/0.6288, allocations: 0.9339 MB / 0.6257 GB, free: 8.379 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009525/0.6298, allocations: 262 kB / 0.6259 GB, free: 8.121 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002782/0.6301, allocations: 95.41 kB / 0.626 GB, free: 8.027 MB / 494.1 MB Notification: Performance of SimCode: time 6.21e-07/0.6301, allocations: 0 / 0.626 GB, free: 8.027 MB / 494.1 MB Notification: Performance of Templates: time 0.2299/0.86, allocations: 17.1 MB / 0.6427 GB, free: 157.3 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: