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.001482/0.001482, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002227/0.002228, allocations: 193.4 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.648/1.648, allocations: 205.1 MB / 222.4 MB, free: 4.566 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.3441/0.3441, allocations: 37.99 MB / 307.7 MB, free: 10.12 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.001569/0.001569, allocations: 66.41 kB / 375.2 MB, free: 15.22 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1432, allocations: 56.46 MB / 431.7 MB, free: 6.656 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4702/0.6134, allocations: 196.4 MB / 0.6134 GB, free: 3.043 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01367/0.6272, allocations: 10.28 MB / 0.6235 GB, free: 8.738 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008693/0.6281, allocations: 19.88 kB / 0.6235 GB, free: 8.719 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001272/0.6294, allocations: 441.5 kB / 0.6239 GB, free: 8.285 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006652/0.6361, allocations: 2.575 MB / 0.6264 GB, free: 5.707 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007086/0.6432, allocations: 2.651 MB / 0.629 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002827/0.646, allocations: 2.188 MB / 0.6311 GB, free: 0.875 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007813/0.6468, allocations: 0.6031 MB / 0.6317 GB, free: 272 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2938/0.9407, allocations: 1.942 MB / 0.6336 GB, free: 3.973 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001073/0.9417, allocations: 0.866 MB / 0.6345 GB, free: 3.973 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001793/0.9419, allocations: 93.88 kB / 0.6346 GB, free: 3.973 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008829/0.9508, allocations: 5.56 MB / 0.64 GB, free: 3.973 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006674/0.9515, allocations: 431.8 kB / 0.6404 GB, free: 3.973 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007733/0.9523, allocations: 0.5336 MB / 0.6409 GB, free: 3.973 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007239/0.9595, allocations: 4.057 MB / 0.6449 GB, free: 3.902 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.9595, allocations: 4.219 kB / 0.6449 GB, free: 3.902 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.9596, allocations: 0 / 0.6449 GB, free: 3.902 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.562e-05/0.9596, allocations: 0 / 0.6449 GB, free: 3.902 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.004346/0.9639, allocations: 1.794 MB / 0.6467 GB, free: 19.04 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.964, allocations: 15.39 kB / 0.6467 GB, free: 19.03 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004574/0.9645, allocations: 107.6 kB / 0.6468 GB, free: 18.98 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009065/0.9654, allocations: 0.6001 MB / 0.6474 GB, free: 18.71 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.9655, allocations: 114 kB / 0.6475 GB, free: 18.64 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.9657, allocations: 77.75 kB / 0.6475 GB, free: 18.64 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/0.9674, allocations: 1.171 MB / 0.6487 GB, free: 18.47 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/0.9674, allocations: 5.578 kB / 0.6487 GB, free: 18.47 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.9675, allocations: 30.86 kB / 0.6487 GB, free: 18.47 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-05/0.9676, allocations: 62.14 kB / 0.6488 GB, free: 18.46 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001656/0.9692, allocations: 1.171 MB / 0.6499 GB, free: 18.46 MB / 0.4981 GB 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.007218/0.9765, allocations: 5.006 MB / 0.6548 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001945/0.9784, allocations: 0.8208 MB / 0.6556 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007526/0.9792, allocations: 428.3 kB / 0.656 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001747/0.981, allocations: 1.888 MB / 0.6579 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.715e-05/0.981, allocations: 46.69 kB / 0.6579 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=70): time 3.497e-06/0.981, allocations: 0.75 kB / 0.6579 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82): time 0.01446/0.9955, allocations: 4.033 MB / 0.6618 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.445e-05/0.9956, allocations: 113 kB / 0.662 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.9967, allocations: 0.6599 MB / 0.6626 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001256/0.9969, allocations: 45.83 kB / 0.6626 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/0.9971, allocations: 379.2 kB / 0.663 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002161/0.9974, allocations: 301.5 kB / 0.6633 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003388/0.9977, allocations: 203.8 kB / 0.6635 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.9979, allocations: 392.2 kB / 0.6639 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.9989, allocations: 494.6 kB / 0.6643 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/1, allocations: 0.7611 MB / 0.6651 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002315/1.002, allocations: 1.286 MB / 0.6663 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/1.002, allocations: 3.531 kB / 0.6663 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00366/1.006, allocations: 1.683 MB / 0.668 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.927e-05/1.006, allocations: 13.38 kB / 0.668 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/1.006, allocations: 7.812 kB / 0.668 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007504/1.014, allocations: 1.332 MB / 0.6693 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009848/1.015, allocations: 156.9 kB / 0.6694 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003133/1.018, allocations: 1.538 MB / 0.6709 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/1.019, allocations: 51.02 kB / 0.671 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/1.019, allocations: 64.48 kB / 0.6711 GB, free: 11.07 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0006242/1.02, allocations: 296.8 kB / 0.6713 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002337/1.02, allocations: 89.67 kB / 0.6714 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003451/1.024, allocations: 1.633 MB / 0.673 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/1.024, allocations: 10.94 kB / 0.673 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/1.024, allocations: 4.438 kB / 0.673 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/1.024, allocations: 5.625 kB / 0.673 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004244/1.028, allocations: 2.551 MB / 0.6755 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/1.028, allocations: 1.688 kB / 0.6755 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001353/1.029, allocations: 260.4 kB / 0.6758 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001732/1.031, allocations: 384 kB / 0.6761 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.935e-05/1.031, allocations: 39.36 kB / 0.6762 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002556/1.034, allocations: 2.345 MB / 0.6785 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/1.034, allocations: 2.875 kB / 0.6785 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003524/1.037, allocations: 2.014 MB / 0.6804 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006113/1.038, allocations: 286.9 kB / 0.6807 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001685/1.038, allocations: 29.19 kB / 0.6807 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008027/1.039, allocations: 52.09 kB / 0.6808 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/1.039, allocations: 63.72 kB / 0.6809 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/1.039, allocations: 54.23 kB / 0.6809 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006218/1.04, allocations: 0.4967 MB / 0.6814 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.452e-06/1.04, allocations: 0.9688 kB / 0.6814 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002186/1.042, allocations: 0.7048 MB / 0.6821 GB, free: 7.824 MB / 0.4981 GB 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002124/1.044, allocations: 0.8951 MB / 0.683 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003053/1.047, allocations: 1.444 MB / 0.6844 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/1.047, allocations: 7.953 kB / 0.6844 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001607/1.049, allocations: 0.7169 MB / 0.6851 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002348/1.051, allocations: 0.5197 MB / 0.6856 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004227/1.055, allocations: 2.179 MB / 0.6877 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005904/1.056, allocations: 1.048 MB / 0.6887 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001165/1.057, allocations: 319.8 kB / 0.689 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000289/1.057, allocations: 93.77 kB / 0.6891 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of SimCode: time 5.11e-07/1.057, allocations: 4 kB / 0.6891 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of Templates: time 0.06137/1.119, allocations: 36.12 MB / 0.7244 GB, free: 3.613 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile (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)