Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.MoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01006/0.01006, allocations: 175.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.454/1.454, allocations: 194.5 MB / 210.3 MB, free: 7.543 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.001713/0.001713, allocations: 120.6 kB / 255.6 MB, free: 10.16 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.1881/0.1881, allocations: 40.01 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004563/0.0004565, allocations: 11.34 kB / 406.2 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1205, allocations: 54.87 MB / 461 MB, free: 3.309 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.612/9.733, allocations: 3.668 GB / 4.118 GB, free: 114.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003777/9.733, allocations: 101.4 kB / 4.118 GB, free: 114.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.71/11.44, allocations: 432.6 MB / 4.54 GB, free: 61.97 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.763e-06/11.44, allocations: 0 / 4.54 GB, free: 61.97 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.001e-05/11.44, allocations: 21.56 kB / 4.54 GB, free: 61.97 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.01043/11.45, allocations: 2.419 MB / 4.543 GB, free: 60.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/11.45, allocations: 18.41 kB / 4.543 GB, free: 60.59 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004763/11.45, allocations: 105.2 kB / 4.543 GB, free: 60.54 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/11.46, allocations: 0.6462 MB / 4.543 GB, free: 60.26 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/11.46, allocations: 113.6 kB / 4.544 GB, free: 60.19 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/11.46, allocations: 76.44 kB / 4.544 GB, free: 60.19 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/11.46, allocations: 1.142 MB / 4.545 GB, free: 60 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/11.46, allocations: 3.953 kB / 4.545 GB, free: 59.99 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/11.46, allocations: 36.12 kB / 4.545 GB, free: 59.99 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.414e-05/11.46, allocations: 54.62 kB / 4.545 GB, free: 59.98 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001602/11.46, allocations: 1.145 MB / 4.546 GB, free: 59.97 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005797/11.47, allocations: 4.663 MB / 4.55 GB, free: 57.62 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/11.47, allocations: 0.7444 MB / 4.551 GB, free: 57.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001141/11.47, allocations: 1.571 MB / 4.553 GB, free: 55.91 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/11.47, allocations: 47.3 kB / 4.553 GB, free: 55.87 MB / 490.7 MB Notification: Performance of pre-optimization done (n=69): time 3.366e-06/11.47, allocations: 0 / 4.553 GB, free: 55.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=81): time 0.01321/11.48, allocations: 4.168 MB / 4.557 GB, free: 55.28 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/11.48, allocations: 114.2 kB / 4.557 GB, free: 55.16 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007835/11.48, allocations: 0.5478 MB / 4.557 GB, free: 55.03 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001133/11.48, allocations: 40.17 kB / 4.558 GB, free: 55 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002774/11.48, allocations: 409.8 kB / 4.558 GB, free: 54.77 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002504/11.48, allocations: 282.4 kB / 4.558 GB, free: 54.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.865e-05/11.48, allocations: 20.84 kB / 4.558 GB, free: 54.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001404/11.48, allocations: 390.9 kB / 4.559 GB, free: 54.29 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008447/11.48, allocations: 474.4 kB / 4.559 GB, free: 54.28 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009889/11.48, allocations: 0.7887 MB / 4.56 GB, free: 53.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009912/11.49, allocations: 0.574 MB / 4.56 GB, free: 53.89 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/11.49, allocations: 3.219 kB / 4.56 GB, free: 53.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.003088/11.49, allocations: 1.676 MB / 4.562 GB, free: 53.71 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/11.49, allocations: 11.06 kB / 4.562 GB, free: 53.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/11.49, allocations: 7.438 kB / 4.562 GB, free: 53.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007428/11.5, allocations: 1.422 MB / 4.563 GB, free: 53.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007839/11.5, allocations: 174 kB / 4.564 GB, free: 53.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/11.5, allocations: 1.492 MB / 4.565 GB, free: 53.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/11.5, allocations: 94.61 kB / 4.565 GB, free: 53.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/11.5, allocations: 64.56 kB / 4.565 GB, free: 53.11 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.0005929/11.5, allocations: 309.3 kB / 4.565 GB, free: 52.89 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/11.5, allocations: 79.09 kB / 4.566 GB, free: 52.85 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002899/11.5, allocations: 1.619 MB / 4.567 GB, free: 52.22 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/11.5, allocations: 7.875 kB / 4.567 GB, free: 52.22 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/11.5, allocations: 0 / 4.567 GB, free: 52.22 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/11.5, allocations: 3.422 kB / 4.567 GB, free: 52.22 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003763/11.51, allocations: 2.459 MB / 4.57 GB, free: 51.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/11.51, allocations: 11.58 kB / 4.57 GB, free: 51.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/11.51, allocations: 256.9 kB / 4.57 GB, free: 51.08 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00184/11.51, allocations: 399.3 kB / 4.57 GB, free: 51.01 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.331e-05/11.51, allocations: 33.72 kB / 4.57 GB, free: 51 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002055/11.51, allocations: 2.277 MB / 4.572 GB, free: 48.98 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/11.51, allocations: 3.797 kB / 4.572 GB, free: 48.98 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003359/11.52, allocations: 2.008 MB / 4.574 GB, free: 48.06 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006366/11.52, allocations: 283.8 kB / 4.575 GB, free: 47.86 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/11.52, allocations: 19.56 kB / 4.575 GB, free: 47.85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008047/11.52, allocations: 69.3 kB / 4.575 GB, free: 47.84 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/11.52, allocations: 68.25 kB / 4.575 GB, free: 47.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.986e-05/11.52, allocations: 55.88 kB / 4.575 GB, free: 47.81 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005454/11.52, allocations: 446.4 kB / 4.575 GB, free: 47.62 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/11.52, allocations: 3.938 kB / 4.575 GB, free: 47.62 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003255/11.52, allocations: 0.8298 MB / 4.576 GB, free: 47.37 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.003452/11.53, allocations: 1.615 MB / 4.578 GB, free: 46.95 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002501/11.53, allocations: 1.208 MB / 4.579 GB, free: 46.56 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/11.53, allocations: 0 / 4.579 GB, free: 46.56 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001522/11.53, allocations: 0.6843 MB / 4.58 GB, free: 46.37 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002104/11.53, allocations: 430.6 kB / 4.58 GB, free: 46.27 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00466/11.54, allocations: 2.507 MB / 4.582 GB, free: 44.97 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004712/11.54, allocations: 1.062 MB / 4.583 GB, free: 44.23 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001222/11.54, allocations: 296 kB / 4.584 GB, free: 44.17 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002841/11.54, allocations: 101.8 kB / 4.584 GB, free: 44.16 MB / 490.7 MB Notification: Performance of SimCode: time 7.31e-07/11.54, allocations: 0 / 4.584 GB, free: 44.16 MB / 490.7 MB Notification: Performance of Templates: time 0.05137/11.59, allocations: 40.62 MB / 4.623 GB, free: 7.797 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1)