Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002794/0.002804, allocations: 363 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.904/3.904, allocations: 388.9 MB / 405.6 MB, free: 10.23 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003508/0.003508, allocations: 222.6 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.6329/0.6329, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006262/0.0006264, allocations: 8 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1192, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.85/11.97, allocations: 3.668 GB / 4.348 GB, free: 127.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003533/11.97, allocations: 100.7 kB / 4.348 GB, free: 127.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.56/14.53, allocations: 428 MB / 4.766 GB, free: 65.31 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.005e-06/14.53, allocations: 0 / 4.766 GB, free: 65.31 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.441e-05/14.53, allocations: 20.5 kB / 4.766 GB, free: 65.31 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.01046/14.54, allocations: 2.425 MB / 4.768 GB, free: 63.76 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/14.54, allocations: 11.41 kB / 4.768 GB, free: 63.76 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008544/14.54, allocations: 111.8 kB / 4.768 GB, free: 63.71 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002079/14.54, allocations: 0.6457 MB / 4.769 GB, free: 63.32 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/14.54, allocations: 113.6 kB / 4.769 GB, free: 63.23 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002115/14.54, allocations: 71.08 kB / 4.769 GB, free: 63.21 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002932/14.55, allocations: 1.162 MB / 4.77 GB, free: 62.69 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.955e-05/14.55, allocations: 3.938 kB / 4.77 GB, free: 62.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001611/14.55, allocations: 34.8 kB / 4.77 GB, free: 62.66 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001017/14.55, allocations: 55.75 kB / 4.77 GB, free: 62.66 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002917/14.55, allocations: 1.144 MB / 4.771 GB, free: 62.29 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01219/14.56, allocations: 4.627 MB / 4.776 GB, free: 59.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004537/14.57, allocations: 0.7564 MB / 4.777 GB, free: 58.82 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00163/14.57, allocations: 393.4 kB / 4.777 GB, free: 58.67 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003057/14.57, allocations: 1.894 MB / 4.779 GB, free: 56.64 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.973e-05/14.57, allocations: 53.73 kB / 4.779 GB, free: 56.59 MB / 490.7 MB Notification: Performance of pre-optimization done (n=69): time 9.117e-06/14.57, allocations: 3.609 kB / 4.779 GB, free: 56.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=81): time 0.03763/14.61, allocations: 4.179 MB / 4.783 GB, free: 55.11 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.9e-05/14.61, allocations: 112.8 kB / 4.783 GB, free: 54.98 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001647/14.61, allocations: 0.6182 MB / 4.784 GB, free: 54.71 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004091/14.61, allocations: 44.11 kB / 4.784 GB, free: 54.66 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004945/14.61, allocations: 405 kB / 4.784 GB, free: 54.34 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005877/14.61, allocations: 288.1 kB / 4.784 GB, free: 54.12 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/14.61, allocations: 18.5 kB / 4.784 GB, free: 54.11 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.00024/14.61, allocations: 388.7 kB / 4.785 GB, free: 53.76 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002625/14.62, allocations: 479.1 kB / 4.785 GB, free: 53.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002949/14.62, allocations: 0.7859 MB / 4.786 GB, free: 53.04 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003341/14.62, allocations: 0.578 MB / 4.787 GB, free: 52.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.263e-05/14.62, allocations: 1.594 kB / 4.787 GB, free: 52.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01012/14.63, allocations: 1.662 MB / 4.788 GB, free: 51.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.054e-05/14.63, allocations: 23.78 kB / 4.788 GB, free: 51.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.202e-05/14.63, allocations: 8 kB / 4.788 GB, free: 51.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02253/14.65, allocations: 1.418 MB / 4.79 GB, free: 50.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002179/14.66, allocations: 169.5 kB / 4.79 GB, free: 50.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006859/14.66, allocations: 1.499 MB / 4.791 GB, free: 49.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003014/14.67, allocations: 101.2 kB / 4.791 GB, free: 49.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004197/14.67, allocations: 62.38 kB / 4.791 GB, free: 49.15 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (95): * Single equations (assignments): 94 * 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 {3 32} Notification: Performance of prepare postOptimizeDAE: time 0.001124/14.67, allocations: 296.5 kB / 4.792 GB, free: 48.87 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004094/14.67, allocations: 83 kB / 4.792 GB, free: 48.79 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008981/14.68, allocations: 1.617 MB / 4.793 GB, free: 47.41 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.193e-05/14.68, allocations: 15.61 kB / 4.793 GB, free: 47.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/14.68, allocations: 4 kB / 4.793 GB, free: 47.39 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.924e-05/14.68, allocations: 3.562 kB / 4.793 GB, free: 47.39 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01087/14.69, allocations: 2.435 MB / 4.796 GB, free: 45.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.975e-05/14.69, allocations: 4 kB / 4.796 GB, free: 45.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004342/14.69, allocations: 273.4 kB / 4.796 GB, free: 45.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005228/14.7, allocations: 387.4 kB / 4.796 GB, free: 44.83 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004055/14.7, allocations: 38.75 kB / 4.796 GB, free: 44.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005172/14.7, allocations: 2.273 MB / 4.799 GB, free: 42.48 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-05/14.7, allocations: 7.969 kB / 4.799 GB, free: 42.47 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009542/14.71, allocations: 1.943 MB / 4.801 GB, free: 40.71 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001379/14.72, allocations: 281.7 kB / 4.801 GB, free: 40.46 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005296/14.72, allocations: 23.95 kB / 4.801 GB, free: 40.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002689/14.72, allocations: 66.95 kB / 4.801 GB, free: 40.38 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004426/14.72, allocations: 61.23 kB / 4.801 GB, free: 40.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003188/14.72, allocations: 54.5 kB / 4.801 GB, free: 40.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001438/14.72, allocations: 459.4 kB / 4.801 GB, free: 39.92 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.784e-06/14.72, allocations: 0 / 4.801 GB, free: 39.92 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006699/14.73, allocations: 0.8222 MB / 4.802 GB, free: 39.12 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (81): * Single equations (assignments): 77 * 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: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.008502/14.74, allocations: 1.616 MB / 4.804 GB, free: 37.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006329/14.74, allocations: 1.208 MB / 4.805 GB, free: 36.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.287e-05/14.74, allocations: 0 / 4.805 GB, free: 36.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004387/14.75, allocations: 0.6814 MB / 4.806 GB, free: 36.12 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006331/14.75, allocations: 460.3 kB / 4.806 GB, free: 35.68 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/14.77, allocations: 2.606 MB / 4.809 GB, free: 33.05 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009648/14.77, allocations: 1.058 MB / 4.81 GB, free: 31.96 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003091/14.77, allocations: 302.3 kB / 4.81 GB, free: 31.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000875/14.77, allocations: 95.3 kB / 4.81 GB, free: 31.59 MB / 490.7 MB Notification: Performance of SimCode: time 1.593e-06/14.77, allocations: 0 / 4.81 GB, free: 31.59 MB / 490.7 MB Notification: Performance of Templates: time 0.1381/14.91, allocations: 41 MB / 4.85 GB, free: 6.738 MB / 0.4949 GB