Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00277/0.002769, allocations: 347.2 kB / 15.93 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 4.165/4.165, allocations: 341.5 MB / 358.2 MB, free: 12.55 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.005016/0.005016, allocations: 226.1 kB / 397.9 MB, free: 4.887 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5005/0.5005, allocations: 76.08 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004616/0.0004619, allocations: 8 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08917/0.08965, allocations: 48.7 MB / 0.6067 GB, free: 4.629 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.05/12.13, allocations: 3.661 GB / 4.268 GB, free: 47.05 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004287/12.14, allocations: 101.9 kB / 4.268 GB, free: 46.99 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.738/14.87, allocations: 424.9 MB / 4.683 GB, free: 42.71 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.234e-06/14.87, allocations: 2.5 kB / 4.683 GB, free: 42.71 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.296e-05/14.87, allocations: 20.69 kB / 4.683 GB, free: 42.71 MB / 442.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.01156/14.89, allocations: 2.43 MB / 4.685 GB, free: 41.73 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/14.89, allocations: 9.375 kB / 4.685 GB, free: 41.73 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009833/14.89, allocations: 111.4 kB / 4.685 GB, free: 41.68 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002419/14.89, allocations: 0.634 MB / 4.686 GB, free: 41.45 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001832/14.89, allocations: 130.1 kB / 4.686 GB, free: 41.39 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003044/14.89, allocations: 72.08 kB / 4.686 GB, free: 41.39 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003909/14.89, allocations: 1.147 MB / 4.687 GB, free: 41.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.028e-05/14.89, allocations: 1.828 kB / 4.687 GB, free: 41.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002213/14.89, allocations: 34.98 kB / 4.687 GB, free: 41.2 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001352/14.89, allocations: 58.77 kB / 4.687 GB, free: 41.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003679/14.9, allocations: 1.141 MB / 4.688 GB, free: 41.19 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01148/14.91, allocations: 4.377 MB / 4.693 GB, free: 39.24 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002768/14.91, allocations: 0.7578 MB / 4.693 GB, free: 39.21 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001129/14.91, allocations: 392.1 kB / 4.694 GB, free: 39.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002149/14.92, allocations: 1.905 MB / 4.695 GB, free: 37.22 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.778e-05/14.92, allocations: 43.81 kB / 4.696 GB, free: 37.18 MB / 442.7 MB Notification: Performance of pre-optimization done (n=69): time 3.788e-06/14.92, allocations: 2.875 kB / 4.696 GB, free: 37.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=81): time 0.02624/14.94, allocations: 4.182 MB / 4.7 GB, free: 36.66 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.767e-05/14.94, allocations: 115.6 kB / 4.7 GB, free: 36.54 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/14.94, allocations: 0.6205 MB / 4.7 GB, free: 36.41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000332/14.94, allocations: 40.8 kB / 4.7 GB, free: 36.38 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003282/14.94, allocations: 407.4 kB / 4.701 GB, free: 36.19 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003744/14.94, allocations: 287.8 kB / 4.701 GB, free: 36.04 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.975e-05/14.94, allocations: 19.34 kB / 4.701 GB, free: 36.04 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/14.94, allocations: 390.8 kB / 4.701 GB, free: 35.72 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001662/14.95, allocations: 476.5 kB / 4.702 GB, free: 35.72 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002114/14.95, allocations: 0.7884 MB / 4.703 GB, free: 35.34 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001969/14.95, allocations: 0.578 MB / 4.703 GB, free: 35.33 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.22e-05/14.95, allocations: 3.594 kB / 4.703 GB, free: 35.33 MB / 442.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.006001/14.96, allocations: 1.661 MB / 4.705 GB, free: 35.23 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.739e-05/14.96, allocations: 11.91 kB / 4.705 GB, free: 35.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-05/14.96, allocations: 10.73 kB / 4.705 GB, free: 35.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01423/14.97, allocations: 1.436 MB / 4.706 GB, free: 35.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/14.97, allocations: 170.8 kB / 4.706 GB, free: 35.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004425/14.98, allocations: 1.487 MB / 4.708 GB, free: 34.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001977/14.98, allocations: 97.3 kB / 4.708 GB, free: 34.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003041/14.98, allocations: 67.06 kB / 4.708 GB, free: 34.68 MB / 442.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.0008632/14.98, allocations: 300.4 kB / 4.708 GB, free: 34.57 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003133/14.98, allocations: 85.23 kB / 4.708 GB, free: 34.52 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005471/14.99, allocations: 1.611 MB / 4.71 GB, free: 34.38 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.473e-05/14.99, allocations: 11.09 kB / 4.71 GB, free: 34.38 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/14.99, allocations: 0 / 4.71 GB, free: 34.38 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.395e-05/14.99, allocations: 12.59 kB / 4.71 GB, free: 34.38 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007296/14.99, allocations: 2.449 MB / 4.712 GB, free: 33.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/14.99, allocations: 4.312 kB / 4.712 GB, free: 33.99 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002738/15, allocations: 253.8 kB / 4.713 GB, free: 33.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003521/15, allocations: 396.8 kB / 4.713 GB, free: 33.98 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002823/15, allocations: 35.78 kB / 4.713 GB, free: 33.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003625/15, allocations: 2.277 MB / 4.715 GB, free: 32.14 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/15, allocations: 1.953 kB / 4.715 GB, free: 32.14 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006133/15.01, allocations: 1.957 MB / 4.717 GB, free: 31.88 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009527/15.01, allocations: 274.5 kB / 4.717 GB, free: 31.74 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003699/15.01, allocations: 24 kB / 4.717 GB, free: 31.74 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001627/15.01, allocations: 67.92 kB / 4.718 GB, free: 31.74 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002442/15.01, allocations: 61.91 kB / 4.718 GB, free: 31.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001879/15.01, allocations: 50.06 kB / 4.718 GB, free: 31.74 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009306/15.01, allocations: 452.2 kB / 4.718 GB, free: 31.64 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.71e-07/15.01, allocations: 0 / 4.718 GB, free: 31.64 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004521/15.02, allocations: 0.8306 MB / 4.719 GB, free: 31.49 MB / 442.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.005802/15.02, allocations: 1.614 MB / 4.72 GB, free: 31.15 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004404/15.03, allocations: 1.207 MB / 4.722 GB, free: 31.12 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/15.03, allocations: 5.469 kB / 4.722 GB, free: 31.12 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003009/15.03, allocations: 0.6857 MB / 4.722 GB, free: 31.11 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004228/15.04, allocations: 442.3 kB / 4.723 GB, free: 31.11 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007866/15.04, allocations: 2.617 MB / 4.725 GB, free: 30.22 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000651/15.05, allocations: 1.062 MB / 4.726 GB, free: 29.52 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002123/15.05, allocations: 301.7 kB / 4.727 GB, free: 29.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005287/15.05, allocations: 101.1 kB / 4.727 GB, free: 29.5 MB / 442.7 MB Notification: Performance of SimCode: time 2.955e-06/15.05, allocations: 0 / 4.727 GB, free: 29.5 MB / 442.7 MB Notification: Performance of Templates: time 0.09345/15.14, allocations: 40.97 MB / 4.767 GB, free: 27.32 MB / 442.7 MB