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.005955/0.005955, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001261/0.001261, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.552/1.552, allocations: 205.1 MB / 222.6 MB, free: 4.512 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.2975/0.2975, allocations: 37.99 MB / 307.9 MB, free: 10.21 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.001547/0.001547, allocations: 67.91 kB / 433 MB, free: 5.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.283, allocations: 56.47 MB / 489.5 MB, free: 19.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.5466/0.8297, allocations: 196.4 MB / 0.6698 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01344/0.8431, allocations: 10.28 MB / 0.6799 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001124/0.8444, allocations: 20.94 kB / 0.6799 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001571/0.846, allocations: 451.5 kB / 0.6803 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.009014/0.855, allocations: 2.615 MB / 0.6829 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009996/0.865, allocations: 2.653 MB / 0.6855 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003837/0.8689, allocations: 2.195 MB / 0.6876 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001572/0.8705, allocations: 0.5949 MB / 0.6882 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006005/0.8765, allocations: 1.984 MB / 0.6901 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002008/0.8785, allocations: 0.8667 MB / 0.691 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004213/0.8789, allocations: 92.75 kB / 0.6911 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01435/0.8933, allocations: 5.743 MB / 0.6967 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001055/0.8944, allocations: 430.8 kB / 0.6971 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001638/0.8961, allocations: 0.5312 MB / 0.6976 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01223/0.9083, allocations: 4.077 MB / 0.7016 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.9084, allocations: 0 / 0.7016 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.216e-06/0.9084, allocations: 0 / 0.7016 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.33e-05/0.9084, allocations: 4.25 kB / 0.7016 GB, free: 15.28 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.005795/0.9142, allocations: 1.788 MB / 0.7033 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.9143, allocations: 15.7 kB / 0.7034 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007934/0.9151, allocations: 109.9 kB / 0.7035 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/0.9167, allocations: 0.6298 MB / 0.7041 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001509/0.9168, allocations: 115.5 kB / 0.7042 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002034/0.917, allocations: 72.45 kB / 0.7043 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002406/0.9195, allocations: 1.169 MB / 0.7054 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.252e-05/0.9195, allocations: 4.906 kB / 0.7054 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/0.9196, allocations: 29.12 kB / 0.7054 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.836e-05/0.9197, allocations: 59.31 kB / 0.7055 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002215/0.9219, allocations: 1.176 MB / 0.7066 GB, free: 13.04 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.008458/0.9304, allocations: 4.994 MB / 0.7115 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002073/0.9325, allocations: 0.8228 MB / 0.7123 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006941/0.9332, allocations: 427.2 kB / 0.7127 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001741/0.935, allocations: 1.887 MB / 0.7146 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.631e-05/0.935, allocations: 48.97 kB / 0.7146 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=70): time 2.695e-06/0.9351, allocations: 2.188 kB / 0.7146 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82): time 0.0141/0.9492, allocations: 4.02 MB / 0.7185 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.9492, allocations: 119.4 kB / 0.7187 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009155/0.9502, allocations: 0.668 MB / 0.7193 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001195/0.9503, allocations: 41.7 kB / 0.7193 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002854/0.9506, allocations: 383.2 kB / 0.7197 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002835/0.9509, allocations: 287.1 kB / 0.72 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003509/0.9512, allocations: 205.6 kB / 0.7202 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.9514, allocations: 390.7 kB / 0.7206 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/0.9525, allocations: 497.7 kB / 0.721 GB, free: 1.723 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001196/0.9537, allocations: 0.756 MB / 0.7218 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00229/0.956, allocations: 1.29 MB / 0.723 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.956, allocations: 0 / 0.723 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003635/0.9596, allocations: 1.688 MB / 0.7247 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.9597, allocations: 11.94 kB / 0.7247 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.9597, allocations: 8 kB / 0.7247 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007009/0.9667, allocations: 1.322 MB / 0.726 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006325/0.9673, allocations: 153.4 kB / 0.7261 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00269/0.97, allocations: 1.547 MB / 0.7276 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008858/0.971, allocations: 48.11 kB / 0.7277 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/0.9711, allocations: 63.97 kB / 0.7277 GB, free: 10.68 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.0006314/0.9717, allocations: 302 kB / 0.728 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002926/0.9721, allocations: 87.06 kB / 0.7281 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003448/0.9755, allocations: 1.631 MB / 0.7297 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.127e-05/0.9755, allocations: 16 kB / 0.7297 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.9756, allocations: 0 / 0.7297 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.757e-05/0.9756, allocations: 3.984 kB / 0.7297 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004669/0.9803, allocations: 2.551 MB / 0.7322 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.9803, allocations: 8.156 kB / 0.7322 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001288/0.9816, allocations: 254.1 kB / 0.7325 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001674/0.9833, allocations: 387.2 kB / 0.7328 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.354e-05/0.9834, allocations: 31.97 kB / 0.7329 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002486/0.9859, allocations: 2.351 MB / 0.7352 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.9859, allocations: 0 / 0.7352 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00381/0.9897, allocations: 2.018 MB / 0.7371 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005818/0.9903, allocations: 291.9 kB / 0.7374 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000206/0.9905, allocations: 31.86 kB / 0.7374 GB, free: 496 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008761/0.9914, allocations: 51.95 kB / 0.7375 GB, free: 444 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/0.9916, allocations: 64.91 kB / 0.7376 GB, free: 376 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001278/0.9917, allocations: 47.97 kB / 0.7376 GB, free: 328 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006736/0.9924, allocations: 0.5029 MB / 0.7381 GB, free: 15.82 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9924, allocations: 0 / 0.7381 GB, free: 15.82 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002234/0.9946, allocations: 0.7027 MB / 0.7388 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.002787/0.9974, allocations: 0.8899 MB / 0.7397 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002726/1, allocations: 1.253 MB / 0.7409 GB, free: 13.06 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/1, allocations: 0 / 0.7409 GB, free: 13.06 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001775/1.002, allocations: 0.7123 MB / 0.7416 GB, free: 12.38 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002486/1.004, allocations: 0.5248 MB / 0.7421 GB, free: 11.86 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004931/1.009, allocations: 2.151 MB / 0.7442 GB, free: 9.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007914/1.01, allocations: 1.043 MB / 0.7452 GB, free: 8.609 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001114/1.011, allocations: 303.9 kB / 0.7455 GB, free: 8.309 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003252/1.012, allocations: 99.39 kB / 0.7456 GB, free: 8.215 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/1.012, allocations: 4 kB / 0.7456 GB, free: 8.211 MB / 0.545 GB Notification: Performance of Templates: time 0.05775/1.069, allocations: 36.37 MB / 0.7811 GB, free: 3.898 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)