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.00819/0.00819, allocations: 96.33 kB / 15.73 MB, free: 6.055 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.001844/0.001844, allocations: 194.5 kB / 16.67 MB, free: 5.977 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.4/1.4, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.2985/0.2985, allocations: 38 MB / 307.9 MB, free: 10.01 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.001457/0.001457, allocations: 71.89 kB / 433 MB, free: 5.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2738, allocations: 56.46 MB / 489.5 MB, free: 19.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.497/0.7709, allocations: 196.4 MB / 0.6698 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0133/0.7842, allocations: 10.28 MB / 0.6799 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001257/0.7856, allocations: 26.06 kB / 0.6799 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.7871, allocations: 435.3 kB / 0.6803 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.009348/0.7964, allocations: 2.576 MB / 0.6828 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008978/0.8054, allocations: 2.649 MB / 0.6854 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003661/0.8091, allocations: 2.191 MB / 0.6876 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009205/0.81, allocations: 0.5936 MB / 0.6881 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004948/0.815, allocations: 1.96 MB / 0.6901 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00117/0.8162, allocations: 0.8629 MB / 0.6909 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001552/0.8163, allocations: 94.59 kB / 0.691 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01203/0.8284, allocations: 5.74 MB / 0.6966 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005938/0.829, allocations: 429.2 kB / 0.697 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008615/0.8299, allocations: 0.532 MB / 0.6975 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.008336/0.8382, allocations: 4.095 MB / 0.7015 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.8382, allocations: 0.8438 kB / 0.7015 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8383, allocations: 0 / 0.7015 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.227e-05/0.8383, allocations: 0.8438 kB / 0.7015 GB, free: 15.33 MB / 0.5137 GB 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.003836/0.8421, allocations: 1.847 MB / 0.7033 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/0.8422, allocations: 14.05 kB / 0.7033 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004356/0.8426, allocations: 117.1 kB / 0.7035 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000956/0.8436, allocations: 0.6257 MB / 0.7041 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.8437, allocations: 119.3 kB / 0.7042 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.8439, allocations: 69.12 kB / 0.7042 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0018/0.8457, allocations: 1.166 MB / 0.7054 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/0.8457, allocations: 12.3 kB / 0.7054 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.8458, allocations: 32.27 kB / 0.7054 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.453e-05/0.8459, allocations: 61.06 kB / 0.7055 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001747/0.8477, allocations: 1.171 MB / 0.7066 GB, free: 13.02 MB / 0.5137 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.00613/0.8538, allocations: 4.995 MB / 0.7115 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001771/0.8556, allocations: 0.8257 MB / 0.7123 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006241/0.8562, allocations: 427.2 kB / 0.7127 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001648/0.8579, allocations: 1.894 MB / 0.7146 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.512e-05/0.8579, allocations: 48.44 kB / 0.7146 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=70): time 2.575e-06/0.8579, allocations: 0.8438 kB / 0.7146 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82): time 0.01306/0.871, allocations: 4.046 MB / 0.7186 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.723e-05/0.8711, allocations: 115.5 kB / 0.7187 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000806/0.8719, allocations: 0.6603 MB / 0.7193 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.83e-05/0.872, allocations: 45.7 kB / 0.7194 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002794/0.8723, allocations: 387.2 kB / 0.7197 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002464/0.8726, allocations: 307.1 kB / 0.72 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003468/0.8729, allocations: 198.5 kB / 0.7202 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.8731, allocations: 394.7 kB / 0.7206 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009752/0.8741, allocations: 497.6 kB / 0.7211 GB, free: 1.758 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/0.8753, allocations: 0.756 MB / 0.7218 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00226/0.8776, allocations: 1.292 MB / 0.7231 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.8776, allocations: 7.938 kB / 0.7231 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003429/0.881, allocations: 1.688 MB / 0.7247 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/0.8811, allocations: 13.19 kB / 0.7247 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.8811, allocations: 8 kB / 0.7247 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006949/0.8881, allocations: 1.327 MB / 0.726 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006179/0.8887, allocations: 160.4 kB / 0.7262 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002673/0.8914, allocations: 1.536 MB / 0.7277 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009479/0.8923, allocations: 52.02 kB / 0.7277 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/0.8925, allocations: 63.97 kB / 0.7278 GB, free: 10.7 MB / 0.5294 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.0006285/0.8931, allocations: 298.2 kB / 0.7281 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000327/0.8935, allocations: 87.48 kB / 0.7282 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003619/0.8971, allocations: 1.634 MB / 0.7298 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/0.8971, allocations: 8 kB / 0.7298 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.8971, allocations: 4 kB / 0.7298 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.8972, allocations: 3.984 kB / 0.7298 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0046/0.9018, allocations: 2.55 MB / 0.7323 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.9018, allocations: 160 / 0.7323 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001294/0.9031, allocations: 269.2 kB / 0.7325 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001728/0.9048, allocations: 375.9 kB / 0.7329 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.322e-05/0.9049, allocations: 39.97 kB / 0.7329 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002535/0.9075, allocations: 2.353 MB / 0.7352 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.9075, allocations: 4.031 kB / 0.7352 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003765/0.9113, allocations: 2.018 MB / 0.7372 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005422/0.9118, allocations: 300.4 kB / 0.7375 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001822/0.912, allocations: 27.88 kB / 0.7375 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008389/0.9129, allocations: 51.95 kB / 0.7376 GB, free: 460 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.913, allocations: 64 kB / 0.7376 GB, free: 396 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001194/0.9132, allocations: 51.97 kB / 0.7377 GB, free: 344 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006512/0.9138, allocations: 0.499 MB / 0.7382 GB, free: 15.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9138, allocations: 0 / 0.7382 GB, free: 15.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001976/0.9158, allocations: 0.713 MB / 0.7389 GB, free: 15.12 MB / 0.545 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.002421/0.9182, allocations: 0.9093 MB / 0.7397 GB, free: 14.28 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00261/0.9209, allocations: 1.246 MB / 0.741 GB, free: 13.05 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.9209, allocations: 0 / 0.741 GB, free: 13.05 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001719/0.9226, allocations: 0.7121 MB / 0.7417 GB, free: 12.37 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002311/0.9249, allocations: 0.5166 MB / 0.7422 GB, free: 11.85 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004578/0.9295, allocations: 2.186 MB / 0.7443 GB, free: 9.641 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006482/0.9302, allocations: 1.051 MB / 0.7453 GB, free: 8.562 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00099/0.9312, allocations: 303.9 kB / 0.7456 GB, free: 8.262 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003186/0.9315, allocations: 99.41 kB / 0.7457 GB, free: 8.168 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.9315, allocations: 0 / 0.7457 GB, free: 8.168 MB / 0.545 GB Notification: Performance of Templates: time 0.05386/0.9854, allocations: 36.37 MB / 0.7812 GB, free: 3.855 MB / 0.5762 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)