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.001111/0.001112, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001202/0.001202, allocations: 192.6 kB / 16.13 MB, free: 6.707 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.624/1.624, allocations: 205.1 MB / 222 MB, free: 4.754 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.3385/0.3385, allocations: 37.98 MB / 307.3 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.001412/0.001412, allocations: 66.41 kB / 374.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1281, allocations: 56.47 MB / 431 MB, free: 7.051 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4612/0.5894, allocations: 195.9 MB / 0.6122 GB, free: 4.082 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01315/0.6026, allocations: 10.62 MB / 0.6226 GB, free: 9.441 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009967/0.6036, allocations: 27.75 kB / 0.6227 GB, free: 9.414 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001382/0.605, allocations: 398.1 kB / 0.623 GB, free: 9.023 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00639/0.6114, allocations: 2.269 MB / 0.6252 GB, free: 6.75 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006363/0.6178, allocations: 2.339 MB / 0.6275 GB, free: 4.426 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003204/0.6211, allocations: 3.206 MB / 0.6307 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001135/0.6222, allocations: 0.5122 MB / 0.6312 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3076/0.9298, allocations: 1.753 MB / 0.6329 GB, free: 3.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001499/0.9313, allocations: 0.8961 MB / 0.6337 GB, free: 3.926 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001711/0.9315, allocations: 47.06 kB / 0.6338 GB, free: 3.926 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01075/0.9423, allocations: 5.927 MB / 0.6396 GB, free: 3.922 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008467/0.9432, allocations: 390.8 kB / 0.64 GB, free: 3.922 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009451/0.9441, allocations: 497.8 kB / 0.6404 GB, free: 3.922 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01087/0.955, allocations: 4.164 MB / 0.6445 GB, free: 3.848 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.567e-06/0.955, allocations: 0 / 0.6445 GB, free: 3.848 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.955, allocations: 1.094 kB / 0.6445 GB, free: 3.848 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.852e-05/0.9551, allocations: 2.094 kB / 0.6445 GB, free: 3.848 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.004796/0.9599, allocations: 1.794 MB / 0.6463 GB, free: 19.01 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.9599, allocations: 11.81 kB / 0.6463 GB, free: 19.01 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000434/0.9604, allocations: 108.4 kB / 0.6464 GB, free: 18.97 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008773/0.9612, allocations: 0.5994 MB / 0.647 GB, free: 18.69 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/0.9614, allocations: 112.5 kB / 0.6471 GB, free: 18.62 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.9615, allocations: 82.89 kB / 0.6471 GB, free: 18.62 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/0.9633, allocations: 1.168 MB / 0.6483 GB, free: 18.45 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.76e-05/0.9633, allocations: 5.062 kB / 0.6483 GB, free: 18.45 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.9634, allocations: 36.03 kB / 0.6483 GB, free: 18.45 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-05/0.9635, allocations: 55.33 kB / 0.6484 GB, free: 18.44 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001677/0.9652, allocations: 1.17 MB / 0.6495 GB, free: 18.44 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.006523/0.9717, allocations: 4.992 MB / 0.6544 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001778/0.9735, allocations: 0.8206 MB / 0.6552 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007022/0.9742, allocations: 427.1 kB / 0.6556 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001594/0.9758, allocations: 1.887 MB / 0.6574 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.9759, allocations: 46.72 kB / 0.6575 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=70): time 3.256e-06/0.9759, allocations: 4 kB / 0.6575 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82): time 0.01462/0.9905, allocations: 4.028 MB / 0.6614 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.872e-05/0.9906, allocations: 119.3 kB / 0.6615 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.9917, allocations: 0.6633 MB / 0.6622 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001171/0.9918, allocations: 42.14 kB / 0.6622 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002543/0.9921, allocations: 381.5 kB / 0.6626 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002151/0.9923, allocations: 293.2 kB / 0.6629 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003397/0.9927, allocations: 197.5 kB / 0.6631 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.9929, allocations: 391.5 kB / 0.6634 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001126/0.994, allocations: 499 kB / 0.6639 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/0.9952, allocations: 0.7577 MB / 0.6646 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002349/0.9976, allocations: 1.287 MB / 0.6659 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.9976, allocations: 6.5 kB / 0.6659 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003602/1.001, allocations: 1.681 MB / 0.6675 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/1.001, allocations: 12.22 kB / 0.6676 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/1.001, allocations: 7.625 kB / 0.6676 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007625/1.009, allocations: 1.339 MB / 0.6689 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007651/1.01, allocations: 154.4 kB / 0.669 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002809/1.013, allocations: 1.533 MB / 0.6705 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/1.014, allocations: 85.06 kB / 0.6706 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/1.014, allocations: 58.14 kB / 0.6707 GB, free: 10.88 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.0007375/1.015, allocations: 301.3 kB / 0.6709 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002267/1.015, allocations: 85.69 kB / 0.671 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003224/1.018, allocations: 1.64 MB / 0.6726 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/1.018, allocations: 7.781 kB / 0.6726 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.018, allocations: 0 / 0.6726 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/1.018, allocations: 2.953 kB / 0.6726 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005249/1.024, allocations: 2.555 MB / 0.6751 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/1.024, allocations: 1.203 kB / 0.6751 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001324/1.025, allocations: 262.8 kB / 0.6754 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001738/1.027, allocations: 382.2 kB / 0.6757 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.622e-05/1.027, allocations: 32.73 kB / 0.6758 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002677/1.029, allocations: 2.258 MB / 0.678 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.029, allocations: 3.938 kB / 0.678 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003827/1.033, allocations: 2.011 MB / 0.68 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009767/1.034, allocations: 300.1 kB / 0.6802 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001917/1.035, allocations: 22.56 kB / 0.6803 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000946/1.035, allocations: 72.25 kB / 0.6803 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002054/1.036, allocations: 71.12 kB / 0.6804 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001355/1.036, allocations: 51.05 kB / 0.6804 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008792/1.037, allocations: 0.4987 MB / 0.6809 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.001e-06/1.037, allocations: 4 kB / 0.6809 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003266/1.04, allocations: 0.7044 MB / 0.6816 GB, free: 7.641 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.002649/1.043, allocations: 0.8998 MB / 0.6825 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002678/1.045, allocations: 1.238 MB / 0.6837 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/1.045, allocations: 11.2 kB / 0.6837 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00163/1.047, allocations: 0.7117 MB / 0.6844 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00263/1.05, allocations: 0.4969 MB / 0.6849 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005011/1.055, allocations: 2.475 MB / 0.6873 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007576/1.055, allocations: 1.045 MB / 0.6883 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001502/1.057, allocations: 305.6 kB / 0.6886 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004488/1.057, allocations: 108.6 kB / 0.6887 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of SimCode: time 1.392e-06/1.057, allocations: 0 / 0.6887 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of Templates: time 0.05675/1.114, allocations: 35.02 MB / 0.7229 GB, free: 4.855 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)