Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001649/0.00165, allocations: 157.9 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.696/1.696, allocations: 170.7 MB / 178.7 MB, free: 7.039 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001686/0.001686, allocations: 104.8 kB / 218 MB, free: 15.34 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2443/0.2443, allocations: 37.97 MB / 295.1 MB, free: 2.102 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.021e-05/2.023e-05, allocations: 4 kB / 350 MB, free: 32.49 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.32, allocations: 48.68 MB / 398.7 MB, free: 6.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9089/1.229, allocations: 417.5 MB / 0.7971 GB, free: 85.11 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/1.229, allocations: 91.94 kB / 0.7972 GB, free: 85.02 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.52/1.749, allocations: 131 MB / 0.9251 GB, free: 105.9 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.304e-06/1.749, allocations: 3.938 kB / 0.9251 GB, free: 105.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001312/1.749, allocations: 18.64 kB / 0.9251 GB, free: 105.8 MB / 426.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.002643/1.752, allocations: 0.9002 MB / 0.926 GB, free: 105.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/1.752, allocations: 9.906 kB / 0.926 GB, free: 105.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006949/1.753, allocations: 90.16 kB / 0.9261 GB, free: 105.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001616/1.754, allocations: 0.5468 MB / 0.9267 GB, free: 104.8 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001583/1.755, allocations: 94.36 kB / 0.9267 GB, free: 104.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002023/1.755, allocations: 27.19 kB / 0.9268 GB, free: 104.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001349/1.756, allocations: 0.5506 MB / 0.9273 GB, free: 104.6 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/1.758, allocations: 0.7246 MB / 0.928 GB, free: 104.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.739e-05/1.758, allocations: 3.906 kB / 0.928 GB, free: 104.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/1.758, allocations: 0 / 0.928 GB, free: 104.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-05/1.758, allocations: 41.95 kB / 0.9281 GB, free: 104.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004673/1.763, allocations: 3.773 MB / 0.9317 GB, free: 101.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005138/1.763, allocations: 305.2 kB / 0.932 GB, free: 101.1 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002186/1.763, allocations: 169 kB / 0.9322 GB, free: 101 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001643/1.765, allocations: 1.375 MB / 0.9335 GB, free: 99.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/1.765, allocations: 42.56 kB / 0.9336 GB, free: 99.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 5.049e-06/1.765, allocations: 3.891 kB / 0.9336 GB, free: 99.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.003378/1.769, allocations: 1.165 MB / 0.9347 GB, free: 99.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/1.769, allocations: 131.6 kB / 0.9348 GB, free: 98.95 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006413/1.769, allocations: 497.4 kB / 0.9353 GB, free: 98.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.958e-05/1.769, allocations: 25.7 kB / 0.9353 GB, free: 98.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002339/1.77, allocations: 407.3 kB / 0.9357 GB, free: 98.35 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.474e-05/1.77, allocations: 111.3 kB / 0.9358 GB, free: 98.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/1.77, allocations: 3.969 kB / 0.9358 GB, free: 98.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.822e-05/1.77, allocations: 370.5 kB / 0.9362 GB, free: 97.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002742/1.77, allocations: 181.8 kB / 0.9364 GB, free: 97.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004809/1.771, allocations: 0.513 MB / 0.9369 GB, free: 97.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007301/1.771, allocations: 310.9 kB / 0.9372 GB, free: 97.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/1.771, allocations: 3.938 kB / 0.9372 GB, free: 97.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001738/1.773, allocations: 0.8458 MB / 0.938 GB, free: 96.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/1.773, allocations: 14.81 kB / 0.938 GB, free: 96.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/1.773, allocations: 15.78 kB / 0.938 GB, free: 96.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009308/1.774, allocations: 218.6 kB / 0.9382 GB, free: 96.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003881/1.775, allocations: 134.5 kB / 0.9384 GB, free: 96.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008733/1.775, allocations: 0.8695 MB / 0.9392 GB, free: 96.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000633/1.776, allocations: 33.61 kB / 0.9392 GB, free: 96.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.729e-05/1.776, allocations: 42.62 kB / 0.9393 GB, free: 96.17 MB / 426.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real 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 (77): * Single equations (assignments): 76 * 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 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002051/1.776, allocations: 132.4 kB / 0.9394 GB, free: 96.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/1.777, allocations: 62.34 kB / 0.9395 GB, free: 96.01 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/1.778, allocations: 0.5407 MB / 0.94 GB, free: 95.71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/1.778, allocations: 7.719 kB / 0.94 GB, free: 95.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/1.778, allocations: 0 / 0.94 GB, free: 95.71 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/1.778, allocations: 3.562 kB / 0.94 GB, free: 95.71 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/1.779, allocations: 1.064 MB / 0.941 GB, free: 95.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/1.779, allocations: 3.906 kB / 0.9411 GB, free: 95.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009057/1.78, allocations: 174.3 kB / 0.9412 GB, free: 95.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.894e-05/1.78, allocations: 24.5 kB / 0.9412 GB, free: 95.06 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.811e-05/1.78, allocations: 11.94 kB / 0.9413 GB, free: 95.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001378/1.782, allocations: 2.577 MB / 0.9438 GB, free: 92.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.782, allocations: 0 / 0.9438 GB, free: 92.48 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/1.783, allocations: 0.7454 MB / 0.9445 GB, free: 92.03 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003307/1.783, allocations: 189.8 kB / 0.9447 GB, free: 91.88 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/1.783, allocations: 3.906 kB / 0.9447 GB, free: 91.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004202/1.784, allocations: 15.86 kB / 0.9447 GB, free: 91.87 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.261e-05/1.784, allocations: 19.19 kB / 0.9447 GB, free: 91.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.156e-05/1.784, allocations: 23.42 kB / 0.9447 GB, free: 91.87 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004122/1.784, allocations: 360.2 kB / 0.9451 GB, free: 91.69 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1.784, allocations: 0 / 0.9451 GB, free: 91.69 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009746/1.785, allocations: 211.5 kB / 0.9453 GB, free: 91.67 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (35): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0007047/1.786, allocations: 365.4 kB / 0.9456 GB, free: 91.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000998/1.787, allocations: 0.4923 MB / 0.9461 GB, free: 91.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.787, allocations: 0 / 0.9461 GB, free: 91.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007475/1.788, allocations: 356.9 kB / 0.9465 GB, free: 91.16 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/1.789, allocations: 251.3 kB / 0.9467 GB, free: 91.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/1.79, allocations: 0.858 MB / 0.9475 GB, free: 90.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/1.791, allocations: 0.9444 MB / 0.9485 GB, free: 89.96 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006429/1.791, allocations: 198.6 kB / 0.9486 GB, free: 89.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/1.791, allocations: 54.91 kB / 0.9487 GB, free: 89.9 MB / 426.7 MB Notification: Performance of SimCode: time 5.01e-07/1.791, allocations: 4 kB / 0.9487 GB, free: 89.9 MB / 426.7 MB Notification: Performance of Templates: time 0.01987/1.811, allocations: 11.73 MB / 0.9602 GB, free: 85.64 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1)