Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002622/0.002622, allocations: 187.4 kB / 7.654 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.59/1.59, allocations: 194.3 MB / 202.4 MB, free: 8.535 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.001875/0.001875, allocations: 113.6 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.1924/0.1924, allocations: 39.94 MB / 332.2 MB, free: 4.781 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.875e-05/1.878e-05, allocations: 4 kB / 393.3 MB, free: 75.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09701/0.09705, allocations: 54.87 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.184/1.282, allocations: 423.9 MB / 0.8516 GB, free: 136.3 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/1.282, allocations: 91.72 kB / 0.8517 GB, free: 136.3 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2557/1.538, allocations: 131 MB / 0.9797 GB, free: 37.83 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.023e-06/1.538, allocations: 0 / 0.9797 GB, free: 37.83 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.912e-05/1.538, allocations: 27.98 kB / 0.9797 GB, free: 37.8 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.002264/1.54, allocations: 0.8926 MB / 0.9806 GB, free: 36.86 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/1.54, allocations: 12.03 kB / 0.9806 GB, free: 36.85 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005148/1.541, allocations: 95.05 kB / 0.9807 GB, free: 36.76 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/1.542, allocations: 0.5468 MB / 0.9812 GB, free: 36.17 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.172e-05/1.542, allocations: 88.66 kB / 0.9813 GB, free: 36.07 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-05/1.542, allocations: 31.94 kB / 0.9813 GB, free: 36.04 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008489/1.543, allocations: 0.5531 MB / 0.9819 GB, free: 35.48 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009488/1.544, allocations: 0.722 MB / 0.9826 GB, free: 34.7 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/1.544, allocations: 0 / 0.9826 GB, free: 34.7 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.442e-05/1.544, allocations: 4 kB / 0.9826 GB, free: 34.69 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.922e-05/1.544, allocations: 45.22 kB / 0.9826 GB, free: 34.65 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003855/1.548, allocations: 3.776 MB / 0.9863 GB, free: 30.61 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005186/1.548, allocations: 301.8 kB / 0.9866 GB, free: 30.31 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002348/1.549, allocations: 157.4 kB / 0.9868 GB, free: 30.16 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001546/1.55, allocations: 1.388 MB / 0.9881 GB, free: 28.61 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/1.55, allocations: 34.73 kB / 0.9882 GB, free: 28.57 MB / 474.7 MB Notification: Performance of pre-optimization done (n=27): time 2.234e-06/1.55, allocations: 0 / 0.9882 GB, free: 28.57 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.002841/1.553, allocations: 1.156 MB / 0.9893 GB, free: 27.34 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.482e-05/1.553, allocations: 132.5 kB / 0.9894 GB, free: 27.18 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005987/1.554, allocations: 490.1 kB / 0.9899 GB, free: 26.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.928e-05/1.554, allocations: 29.7 kB / 0.9899 GB, free: 26.66 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/1.554, allocations: 406.5 kB / 0.9903 GB, free: 26.25 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.682e-05/1.554, allocations: 114.4 kB / 0.9904 GB, free: 26.14 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.62e-05/1.554, allocations: 0 / 0.9904 GB, free: 26.14 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/1.554, allocations: 374.7 kB / 0.9908 GB, free: 25.77 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000253/1.554, allocations: 189.5 kB / 0.9909 GB, free: 25.58 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003727/1.555, allocations: 0.5122 MB / 0.9914 GB, free: 24.91 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006595/1.555, allocations: 307.6 kB / 0.9917 GB, free: 24.61 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/1.555, allocations: 4 kB / 0.9917 GB, free: 24.61 MB / 474.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001683/1.557, allocations: 0.8377 MB / 0.9926 GB, free: 23.76 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/1.557, allocations: 11.98 kB / 0.9926 GB, free: 23.75 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/1.557, allocations: 12 kB / 0.9926 GB, free: 23.73 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009181/1.558, allocations: 228.7 kB / 0.9928 GB, free: 23.51 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000374/1.559, allocations: 131.8 kB / 0.9929 GB, free: 23.38 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008695/1.559, allocations: 0.859 MB / 0.9938 GB, free: 22.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005961/1.56, allocations: 43.77 kB / 0.9938 GB, free: 22.45 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.755e-05/1.56, allocations: 40 kB / 0.9938 GB, free: 22.41 MB / 474.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.0002102/1.56, allocations: 140.7 kB / 0.994 GB, free: 22.27 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/1.56, allocations: 59.25 kB / 0.994 GB, free: 22.21 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009343/1.561, allocations: 0.5361 MB / 0.9946 GB, free: 21.65 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/1.561, allocations: 4 kB / 0.9946 GB, free: 21.64 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.944e-06/1.561, allocations: 3.953 kB / 0.9946 GB, free: 21.64 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/1.561, allocations: 0 / 0.9946 GB, free: 21.64 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/1.563, allocations: 1.063 MB / 0.9956 GB, free: 20.51 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/1.563, allocations: 3.984 kB / 0.9956 GB, free: 20.51 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009027/1.564, allocations: 183.8 kB / 0.9958 GB, free: 20.33 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.148e-05/1.564, allocations: 24.8 kB / 0.9958 GB, free: 20.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/1.564, allocations: 7.984 kB / 0.9958 GB, free: 20.29 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001405/1.565, allocations: 2.578 MB / 0.9983 GB, free: 17.49 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.411e-06/1.565, allocations: 4.031 kB / 0.9983 GB, free: 17.48 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009591/1.566, allocations: 0.7313 MB / 0.999 GB, free: 16.71 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002548/1.567, allocations: 192.3 kB / 0.9992 GB, free: 16.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.984e-05/1.567, allocations: 0 / 0.9992 GB, free: 16.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003999/1.567, allocations: 19.97 kB / 0.9992 GB, free: 16.48 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.95e-05/1.567, allocations: 31.97 kB / 0.9993 GB, free: 16.45 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-05/1.567, allocations: 15.98 kB / 0.9993 GB, free: 16.44 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003771/1.568, allocations: 358.9 kB / 0.9996 GB, free: 16.09 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.4e-07/1.568, allocations: 0 / 0.9996 GB, free: 16.09 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009611/1.569, allocations: 215.9 kB / 0.9998 GB, free: 15.88 MB / 474.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.0008099/1.569, allocations: 355.1 kB / 1 GB, free: 15.52 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001078/1.571, allocations: 0.513 MB / 1.001 GB, free: 15.01 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/1.571, allocations: 0 / 1.001 GB, free: 15.01 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000797/1.571, allocations: 350.2 kB / 1.001 GB, free: 14.66 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/1.573, allocations: 238.9 kB / 1.001 GB, free: 14.43 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/1.574, allocations: 0.8695 MB / 1.002 GB, free: 13.54 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003851/1.575, allocations: 0.9417 MB / 1.003 GB, free: 12.57 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006934/1.575, allocations: 201.4 kB / 1.003 GB, free: 12.37 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/1.575, allocations: 59.42 kB / 1.003 GB, free: 12.31 MB / 474.7 MB Notification: Performance of SimCode: time 4.61e-07/1.575, allocations: 0 / 1.003 GB, free: 12.31 MB / 474.7 MB Notification: Performance of Templates: time 0.01976/1.595, allocations: 11.74 MB / 1.015 GB, free: 0.5977 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1)