Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_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.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00161/0.00161, allocations: 181.9 kB / 7.651 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.651/1.651, allocations: 194.3 MB / 202.4 MB, free: 8.531 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001755/0.001755, allocations: 107.3 kB / 247.4 MB, free: 6.195 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2114/0.2114, allocations: 39.94 MB / 332.2 MB, free: 4.773 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.867e-05/1.872e-05, allocations: 4 kB / 393.3 MB, free: 75.52 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1176, allocations: 54.88 MB / 448.2 MB, free: 20.63 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.849/1.966, allocations: 0.6147 GB / 1.052 GB, free: 134.1 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/1.967, allocations: 98.12 kB / 1.052 GB, free: 134.1 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7852/2.752, allocations: 224.2 MB / 1.271 GB, free: 90.11 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.036e-06/2.752, allocations: 0 / 1.271 GB, free: 90.11 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.411e-05/2.752, allocations: 17.53 kB / 1.271 GB, free: 90.11 MB / 474.7 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.004087/2.756, allocations: 1.15 MB / 1.273 GB, free: 89.35 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/2.756, allocations: 13.56 kB / 1.273 GB, free: 89.35 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/2.757, allocations: 140.8 kB / 1.273 GB, free: 89.3 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001532/2.759, allocations: 0.5444 MB / 1.273 GB, free: 88.94 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/2.759, allocations: 83.22 kB / 1.273 GB, free: 88.88 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/2.759, allocations: 26.31 kB / 1.273 GB, free: 88.88 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001026/2.76, allocations: 0.5244 MB / 1.274 GB, free: 88.7 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/2.761, allocations: 0.729 MB / 1.275 GB, free: 88.3 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/2.761, allocations: 0 / 1.275 GB, free: 88.3 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.283e-05/2.762, allocations: 7 kB / 1.275 GB, free: 88.3 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-05/2.762, allocations: 43.16 kB / 1.275 GB, free: 88.29 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or 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.004271/2.766, allocations: 3.871 MB / 1.278 GB, free: 85.23 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004233/2.766, allocations: 238.4 kB / 1.279 GB, free: 85.12 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/2.767, allocations: 131.9 kB / 1.279 GB, free: 85.07 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.616e-05/2.767, allocations: 27.11 kB / 1.279 GB, free: 85.07 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/2.767, allocations: 41.86 kB / 1.279 GB, free: 85.02 MB / 474.7 MB Notification: Performance of pre-optimization done (n=27): time 1.863e-06/2.767, allocations: 0 / 1.279 GB, free: 85.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.005116/2.772, allocations: 1.414 MB / 1.28 GB, free: 84.32 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/2.772, allocations: 132.2 kB / 1.28 GB, free: 84.17 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005315/2.772, allocations: 468.6 kB / 1.281 GB, free: 83.95 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/2.772, allocations: 25.7 kB / 1.281 GB, free: 83.91 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002224/2.773, allocations: 407.3 kB / 1.281 GB, free: 83.58 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.772e-05/2.773, allocations: 123 kB / 1.281 GB, free: 83.49 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/2.773, allocations: 3.781 kB / 1.281 GB, free: 83.49 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/2.773, allocations: 363.7 kB / 1.282 GB, free: 83.16 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002616/2.773, allocations: 182.2 kB / 1.282 GB, free: 83.09 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004268/2.774, allocations: 0.5026 MB / 1.282 GB, free: 82.59 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006194/2.774, allocations: 332.9 kB / 1.283 GB, free: 82.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/2.774, allocations: 3.625 kB / 1.283 GB, free: 82.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001444/2.776, allocations: 0.8317 MB / 1.283 GB, free: 82.21 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/2.776, allocations: 7.438 kB / 1.283 GB, free: 82.21 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.052e-05/2.776, allocations: 11.06 kB / 1.283 GB, free: 82.21 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/2.777, allocations: 269.7 kB / 1.284 GB, free: 82.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003884/2.777, allocations: 132.7 kB / 1.284 GB, free: 82.14 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009757/2.778, allocations: 0.9244 MB / 1.285 GB, free: 81.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006553/2.779, allocations: 36.25 kB / 1.285 GB, free: 81.48 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/2.779, allocations: 67.72 kB / 1.285 GB, free: 81.47 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002091/2.779, allocations: 136.5 kB / 1.285 GB, free: 81.34 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/2.779, allocations: 62.05 kB / 1.285 GB, free: 81.31 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/2.78, allocations: 0.4951 MB / 1.286 GB, free: 81.13 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/2.781, allocations: 9.656 kB / 1.286 GB, free: 81.13 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/2.781, allocations: 0 / 1.286 GB, free: 81.13 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.046e-06/2.781, allocations: 11.09 kB / 1.286 GB, free: 81.13 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/2.782, allocations: 0.9655 MB / 1.287 GB, free: 80.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/2.782, allocations: 0 / 1.287 GB, free: 80.61 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009345/2.783, allocations: 191.3 kB / 1.287 GB, free: 80.61 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.966e-05/2.783, allocations: 21 kB / 1.287 GB, free: 80.59 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.789e-05/2.783, allocations: 19.61 kB / 1.287 GB, free: 80.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001569/2.785, allocations: 2.578 MB / 1.289 GB, free: 78.01 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/2.785, allocations: 6.031 kB / 1.289 GB, free: 78 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008651/2.786, allocations: 0.6704 MB / 1.29 GB, free: 77.64 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002769/2.786, allocations: 169.7 kB / 1.29 GB, free: 77.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/2.786, allocations: 3.953 kB / 1.29 GB, free: 77.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004307/2.787, allocations: 17.95 kB / 1.29 GB, free: 77.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.05e-05/2.787, allocations: 30.44 kB / 1.29 GB, free: 77.49 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.389e-05/2.787, allocations: 39.44 kB / 1.29 GB, free: 77.49 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004038/2.787, allocations: 352.5 kB / 1.29 GB, free: 77.32 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.51e-07/2.787, allocations: 0 / 1.29 GB, free: 77.32 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001644/2.789, allocations: 342.1 kB / 1.291 GB, free: 77.24 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * 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.002696/2.791, allocations: 1.205 MB / 1.292 GB, free: 76.97 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00108/2.793, allocations: 480.7 kB / 1.292 GB, free: 76.83 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/2.793, allocations: 3.938 kB / 1.292 GB, free: 76.82 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008313/2.793, allocations: 351.1 kB / 1.293 GB, free: 76.67 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/2.795, allocations: 232.4 kB / 1.293 GB, free: 76.62 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007212/2.802, allocations: 2.305 MB / 1.295 GB, free: 75.93 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005725/2.803, allocations: 0.9443 MB / 1.296 GB, free: 75.16 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001193/2.804, allocations: 247.4 kB / 1.296 GB, free: 74.98 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003412/2.804, allocations: 95.12 kB / 1.297 GB, free: 74.89 MB / 474.7 MB Notification: Performance of SimCode: time 1.102e-06/2.804, allocations: 0 / 1.297 GB, free: 74.89 MB / 474.7 MB Notification: Performance of Templates: time 0.03315/2.837, allocations: 18.15 MB / 1.314 GB, free: 57.2 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1)