Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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.1_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.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009389/0.0009388, allocations: 87.42 kB / 15.07 MB, free: 1.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3741/0.3741, allocations: 38.03 MB / 308.4 MB, free: 10.36 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005781/0.0005783, allocations: 24 kB / 376.5 MB, free: 15.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1264, allocations: 57.51 MB / 434 MB, free: 5.52 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4394/0.5658, allocations: 179.3 MB / 0.5989 GB, free: 5.043 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01277/0.5787, allocations: 9.671 MB / 0.6083 GB, free: 11.36 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001212/0.5799, allocations: 23.81 kB / 0.6083 GB, free: 11.34 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001047/0.581, allocations: 322 kB / 0.6087 GB, free: 11.02 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.006198/0.5872, allocations: 2.079 MB / 0.6107 GB, free: 8.941 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00688/0.5941, allocations: 1.958 MB / 0.6126 GB, free: 6.996 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003688/0.5978, allocations: 2.648 MB / 0.6152 GB, free: 4.344 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008849/0.5987, allocations: 0.4994 MB / 0.6157 GB, free: 3.836 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004353/0.603, allocations: 1.674 MB / 0.6173 GB, free: 2.156 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001298/0.6043, allocations: 0.8645 MB / 0.6181 GB, free: 1.289 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.6045, allocations: 44 kB / 0.6182 GB, free: 1.246 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01066/0.6151, allocations: 4.719 MB / 0.6228 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006453/0.6158, allocations: 386.9 kB / 0.6232 GB, free: 12.14 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004139/0.6163, allocations: 209.3 kB / 0.6234 GB, free: 11.93 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004979/0.6212, allocations: 2.662 MB / 0.626 GB, free: 9.262 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6213, allocations: 0 / 0.626 GB, free: 9.262 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6213, allocations: 4 kB / 0.626 GB, free: 9.258 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.6213, allocations: 0 / 0.626 GB, free: 9.258 MB / 494.1 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.003724/0.625, allocations: 1.598 MB / 0.6275 GB, free: 7.605 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.6251, allocations: 12.03 kB / 0.6275 GB, free: 7.594 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003429/0.6254, allocations: 110.9 kB / 0.6276 GB, free: 7.484 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008577/0.6263, allocations: 0.5861 MB / 0.6282 GB, free: 6.855 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/0.6264, allocations: 117.4 kB / 0.6283 GB, free: 6.73 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.6265, allocations: 67.98 kB / 0.6284 GB, free: 6.664 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001778/0.6283, allocations: 1.17 MB / 0.6295 GB, free: 5.441 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.6284, allocations: 0 / 0.6295 GB, free: 5.441 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.001e-05/0.6285, allocations: 28 kB / 0.6296 GB, free: 5.414 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-05/0.6285, allocations: 61.97 kB / 0.6296 GB, free: 5.355 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001787/0.6303, allocations: 1.167 MB / 0.6308 GB, free: 4.188 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2338/0.8641, allocations: 5.002 MB / 0.6356 GB, free: 155.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/0.8657, allocations: 0.8275 MB / 0.6365 GB, free: 155.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005663/0.8663, allocations: 422.4 kB / 0.6369 GB, free: 155.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00149/0.8678, allocations: 1.895 MB / 0.6387 GB, free: 153.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/0.8679, allocations: 45.69 kB / 0.6388 GB, free: 153.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=70): time 4.539e-06/0.8679, allocations: 1.125 kB / 0.6388 GB, free: 153.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=82): time 0.01184/0.8797, allocations: 4.152 MB / 0.6428 GB, free: 153.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.8798, allocations: 110.2 kB / 0.6429 GB, free: 153.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000944/0.8808, allocations: 0.6605 MB / 0.6436 GB, free: 153.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.562e-05/0.8809, allocations: 40.73 kB / 0.6436 GB, free: 153.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002307/0.8811, allocations: 380.8 kB / 0.644 GB, free: 152.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/0.8813, allocations: 300 kB / 0.6442 GB, free: 152.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.438e-05/0.8813, allocations: 18.78 kB / 0.6443 GB, free: 152.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.8814, allocations: 390.5 kB / 0.6446 GB, free: 152.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008119/0.8823, allocations: 497.5 kB / 0.6451 GB, free: 152.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009294/0.8832, allocations: 0.7599 MB / 0.6459 GB, free: 152 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009256/0.8841, allocations: 0.5881 MB / 0.6464 GB, free: 151.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.8842, allocations: 3.375 kB / 0.6464 GB, free: 151.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002779/0.8869, allocations: 1.693 MB / 0.6481 GB, free: 151.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.887, allocations: 6.406 kB / 0.6481 GB, free: 151.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.887, allocations: 9.75 kB / 0.6481 GB, free: 151.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006293/0.8933, allocations: 1.397 MB / 0.6495 GB, free: 151 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005843/0.8939, allocations: 159.7 kB / 0.6496 GB, free: 151 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/0.8962, allocations: 1.556 MB / 0.6511 GB, free: 150 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009706/0.8972, allocations: 90.08 kB / 0.6512 GB, free: 150 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.8973, allocations: 60.02 kB / 0.6513 GB, free: 150 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 88 * 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 33} Notification: Performance of prepare postOptimizeDAE: time 0.0005147/0.8978, allocations: 295.5 kB / 0.6516 GB, free: 149.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.898, allocations: 91.8 kB / 0.6516 GB, free: 149.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002923/0.9009, allocations: 1.651 MB / 0.6533 GB, free: 149.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.9009, allocations: 12.53 kB / 0.6533 GB, free: 149.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.9009, allocations: 0 / 0.6533 GB, free: 149.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.9009, allocations: 3.516 kB / 0.6533 GB, free: 149.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003569/0.9045, allocations: 2.565 MB / 0.6558 GB, free: 147.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.9045, allocations: 3 kB / 0.6558 GB, free: 147.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/0.9057, allocations: 262.8 kB / 0.656 GB, free: 147.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001625/0.9073, allocations: 397.8 kB / 0.6564 GB, free: 147.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.837e-05/0.9074, allocations: 31.39 kB / 0.6564 GB, free: 147.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001891/0.9093, allocations: 2.275 MB / 0.6587 GB, free: 145.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.9093, allocations: 0 / 0.6587 GB, free: 145.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003037/0.9123, allocations: 2.034 MB / 0.6607 GB, free: 144.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004348/0.9128, allocations: 299.3 kB / 0.6609 GB, free: 144.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/0.9129, allocations: 22.94 kB / 0.661 GB, free: 144.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000725/0.9137, allocations: 77.08 kB / 0.661 GB, free: 144.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.9138, allocations: 64.41 kB / 0.6611 GB, free: 144.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.843e-05/0.9139, allocations: 49.48 kB / 0.6611 GB, free: 144.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004947/0.9144, allocations: 486.2 kB / 0.6616 GB, free: 144.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.9144, allocations: 0 / 0.6616 GB, free: 144.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001807/0.9162, allocations: 0.6971 MB / 0.6623 GB, free: 144.4 MB / 494.1 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 (82): * Single equations (assignments): 78 * 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.002134/0.9184, allocations: 0.8939 MB / 0.6632 GB, free: 144.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002302/0.9207, allocations: 1.251 MB / 0.6644 GB, free: 143.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.9207, allocations: 0 / 0.6644 GB, free: 143.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001463/0.9222, allocations: 0.7159 MB / 0.6651 GB, free: 143.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002082/0.9242, allocations: 473.9 kB / 0.6655 GB, free: 143.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004653/0.9289, allocations: 2.507 MB / 0.668 GB, free: 142.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006477/0.9296, allocations: 1.058 MB / 0.669 GB, free: 141.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001332/0.9309, allocations: 308.6 kB / 0.6693 GB, free: 141.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003598/0.9313, allocations: 101.5 kB / 0.6694 GB, free: 141.3 MB / 494.1 MB Notification: Performance of SimCode: time 9.82e-07/0.9313, allocations: 0 / 0.6694 GB, free: 141.3 MB / 494.1 MB Notification: Performance of Templates: time 0.05112/0.9824, allocations: 33.43 MB / 0.702 GB, free: 125.7 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) Environment - environmentSimulation: