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.01058/0.01058, allocations: 174.9 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.969/1.969, allocations: 194.5 MB / 210.3 MB, free: 8.785 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.001922/0.001923, allocations: 116.6 kB / 255.6 MB, free: 11.39 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2468/0.2468, allocations: 40.01 MB / 340.8 MB, free: 11.57 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004718/0.0004714, allocations: 15.06 kB / 406.2 MB, free: 52.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1602, allocations: 54.87 MB / 461 MB, free: 3.445 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.264/1.425, allocations: 424.6 MB / 0.8649 GB, free: 36.54 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004301/1.425, allocations: 99.62 kB / 0.865 GB, free: 36.48 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5663/1.991, allocations: 132.6 MB / 0.9945 GB, free: 113 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.883e-06/1.991, allocations: 192 / 0.9945 GB, free: 113 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.323e-05/1.991, allocations: 26.36 kB / 0.9945 GB, free: 112.9 MB / 490.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.001901/1.993, allocations: 0.9737 MB / 0.9955 GB, free: 111.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/1.993, allocations: 15.97 kB / 0.9955 GB, free: 111.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003281/1.994, allocations: 87.14 kB / 0.9956 GB, free: 111.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009405/1.995, allocations: 0.5498 MB / 0.9961 GB, free: 111.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.84e-05/1.995, allocations: 112.3 kB / 0.9962 GB, free: 111.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.673e-05/1.995, allocations: 51.27 kB / 0.9962 GB, free: 111.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/1.996, allocations: 0.8007 MB / 0.997 GB, free: 110.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/1.996, allocations: 0 / 0.997 GB, free: 110.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.66e-05/1.996, allocations: 22.19 kB / 0.997 GB, free: 110.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-05/1.996, allocations: 40.98 kB / 0.9971 GB, free: 110.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008217/1.997, allocations: 0.64 MB / 0.9977 GB, free: 109.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003371/2, allocations: 3.632 MB / 1.001 GB, free: 105.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006223/2.001, allocations: 392.1 kB / 1.002 GB, free: 105.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001631/2.003, allocations: 1.644 MB / 1.003 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/2.003, allocations: 42.56 kB / 1.003 GB, free: 103.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=37): time 1.583e-06/2.003, allocations: 0 / 1.003 GB, free: 103.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=42): time 0.002554/2.005, allocations: 1.436 MB / 1.005 GB, free: 101.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/2.005, allocations: 132.5 kB / 1.005 GB, free: 101.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004947/2.006, allocations: 498.1 kB / 1.005 GB, free: 101.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/2.006, allocations: 37.7 kB / 1.005 GB, free: 101.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/2.006, allocations: 370.8 kB / 1.006 GB, free: 100.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.503e-05/2.006, allocations: 161.3 kB / 1.006 GB, free: 100.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/2.006, allocations: 16 kB / 1.006 GB, free: 100.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.24e-05/2.006, allocations: 374.8 kB / 1.006 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002693/2.006, allocations: 205.9 kB / 1.006 GB, free: 100.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003874/2.007, allocations: 0.5353 MB / 1.007 GB, free: 99.42 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003584/2.007, allocations: 303.7 kB / 1.007 GB, free: 99.12 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/2.007, allocations: 4 kB / 1.007 GB, free: 99.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001194/2.008, allocations: 0.8916 MB / 1.008 GB, free: 98.22 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/2.008, allocations: 8.938 kB / 1.008 GB, free: 98.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/2.009, allocations: 12 kB / 1.008 GB, free: 98.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00134/2.01, allocations: 261.1 kB / 1.008 GB, free: 97.94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003647/2.01, allocations: 135.8 kB / 1.008 GB, free: 97.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007278/2.011, allocations: 0.8464 MB / 1.009 GB, free: 96.94 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005445/2.012, allocations: 44.05 kB / 1.009 GB, free: 96.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.348e-05/2.012, allocations: 43.98 kB / 1.009 GB, free: 96.85 MB / 490.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 () * Number of clocked 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 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003025/2.012, allocations: 245.8 kB / 1.01 GB, free: 96.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.488e-05/2.012, allocations: 67.16 kB / 1.01 GB, free: 96.54 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009541/2.013, allocations: 0.7247 MB / 1.01 GB, free: 95.77 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/2.013, allocations: 4 kB / 1.01 GB, free: 95.76 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/2.013, allocations: 0 / 1.01 GB, free: 95.76 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/2.013, allocations: 7.984 kB / 1.01 GB, free: 95.75 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001485/2.014, allocations: 1.342 MB / 1.012 GB, free: 94.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/2.014, allocations: 0 / 1.012 GB, free: 94.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009329/2.015, allocations: 199.6 kB / 1.012 GB, free: 94.13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.475e-05/2.016, allocations: 24.84 kB / 1.012 GB, free: 94.11 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.994e-05/2.016, allocations: 15.98 kB / 1.012 GB, free: 94.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001328/2.017, allocations: 2.697 MB / 1.015 GB, free: 91.14 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/2.017, allocations: 4.031 kB / 1.015 GB, free: 91.13 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/2.018, allocations: 1.007 MB / 1.016 GB, free: 90.04 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002464/2.018, allocations: 196.1 kB / 1.016 GB, free: 89.82 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.1e-05/2.018, allocations: 12 kB / 1.016 GB, free: 89.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004065/2.019, allocations: 39.97 kB / 1.016 GB, free: 89.77 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.509e-05/2.019, allocations: 31.95 kB / 1.016 GB, free: 89.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.956e-05/2.019, allocations: 19.98 kB / 1.016 GB, free: 89.72 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000391/2.019, allocations: 395.1 kB / 1.016 GB, free: 89.34 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/2.019, allocations: 0 / 1.016 GB, free: 89.34 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008697/2.02, allocations: 235.9 kB / 1.016 GB, free: 89.11 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (44): * Single equations (assignments): 40 * 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.0005851/2.021, allocations: 362.8 kB / 1.017 GB, free: 88.77 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001031/2.022, allocations: 0.5725 MB / 1.017 GB, free: 88.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/2.022, allocations: 4 kB / 1.017 GB, free: 88.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008026/2.023, allocations: 436 kB / 1.018 GB, free: 87.76 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/2.024, allocations: 298.4 kB / 1.018 GB, free: 87.47 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002085/2.026, allocations: 1.605 MB / 1.02 GB, free: 85.82 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/2.026, allocations: 0.9502 MB / 1.021 GB, free: 84.84 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006814/2.027, allocations: 201.8 kB / 1.021 GB, free: 84.64 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/2.027, allocations: 59.42 kB / 1.021 GB, free: 84.58 MB / 490.7 MB Notification: Performance of SimCode: time 1.894e-06/2.027, allocations: 0 / 1.021 GB, free: 84.58 MB / 490.7 MB Notification: Performance of Templates: time 0.02044/2.048, allocations: 13.87 MB / 1.034 GB, free: 70.77 MB / 490.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)