Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_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.2_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.001148/0.001148, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001348/0.001348, allocations: 177.3 kB / 15.94 MB, free: 228 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.421/1.421, allocations: 205.4 MB / 222.1 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.35/0.35, allocations: 40 MB / 310.4 MB, free: 9.762 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.2. 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.0005674/0.0005675, allocations: 16 kB / 378.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1339, allocations: 57.96 MB / 436.8 MB, free: 2.297 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.3774/0.5114, allocations: 155.7 MB / 0.5786 GB, free: 7.555 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01427/0.5257, allocations: 10.67 MB / 0.589 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001115/0.5269, allocations: 19.81 kB / 0.589 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.528, allocations: 350.3 kB / 0.5894 GB, free: 12.51 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006779/0.5348, allocations: 1.972 MB / 0.5913 GB, free: 10.54 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005253/0.5401, allocations: 1.712 MB / 0.593 GB, free: 8.844 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002267/0.5424, allocations: 1.22 MB / 0.5942 GB, free: 7.621 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008266/0.5432, allocations: 0.4981 MB / 0.5946 GB, free: 7.113 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003261/0.5465, allocations: 1.379 MB / 0.596 GB, free: 5.73 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00103/0.5475, allocations: 0.6037 MB / 0.5966 GB, free: 5.125 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001416/0.5477, allocations: 44 kB / 0.5966 GB, free: 5.082 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008364/0.556, allocations: 4.498 MB / 0.601 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006564/0.5568, allocations: 347.1 kB / 0.6013 GB, free: 244 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004398/0.5572, allocations: 209.3 kB / 0.6015 GB, free: 28 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004862/0.5621, allocations: 2.405 MB / 0.6039 GB, free: 13.62 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.5621, allocations: 4 kB / 0.6039 GB, free: 13.62 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.5621, allocations: 0 / 0.6039 GB, free: 13.62 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.5621, allocations: 4 kB / 0.6039 GB, free: 13.61 MB / 478.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.003926/0.5661, allocations: 1.54 MB / 0.6054 GB, free: 12.02 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.5661, allocations: 11.97 kB / 0.6054 GB, free: 12.01 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004312/0.5666, allocations: 110.9 kB / 0.6055 GB, free: 11.9 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.5677, allocations: 0.5822 MB / 0.6061 GB, free: 11.27 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/0.5679, allocations: 117.4 kB / 0.6062 GB, free: 11.15 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.568, allocations: 68 kB / 0.6063 GB, free: 11.08 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/0.5699, allocations: 1.154 MB / 0.6074 GB, free: 9.875 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/0.57, allocations: 8 kB / 0.6074 GB, free: 9.867 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.5701, allocations: 31.98 kB / 0.6074 GB, free: 9.836 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.059e-05/0.5702, allocations: 61.97 kB / 0.6075 GB, free: 9.777 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00188/0.5721, allocations: 1.159 MB / 0.6086 GB, free: 8.617 MB / 478.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.007016/0.5791, allocations: 5.04 MB / 0.6135 GB, free: 3.25 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001657/0.5808, allocations: 0.8311 MB / 0.6144 GB, free: 2.418 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001259/0.5821, allocations: 1.556 MB / 0.6159 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.095e-05/0.5821, allocations: 51.11 kB / 0.6159 GB, free: 484 kB / 478.1 MB Notification: Performance of pre-optimization done (n=70): time 2.825e-06/0.5822, allocations: 4 kB / 0.6159 GB, free: 480 kB / 478.1 MB Notification: Performance of matching and sorting (n=82): time 0.01392/0.5961, allocations: 4.145 MB / 0.62 GB, free: 12.27 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.252e-05/0.5962, allocations: 115.5 kB / 0.6201 GB, free: 12.13 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009001/0.5971, allocations: 0.6525 MB / 0.6207 GB, free: 11.46 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.42e-05/0.5972, allocations: 41.7 kB / 0.6208 GB, free: 11.42 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002716/0.5975, allocations: 383.5 kB / 0.6211 GB, free: 11.04 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002414/0.5977, allocations: 291.8 kB / 0.6214 GB, free: 10.75 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.872e-05/0.5978, allocations: 23.94 kB / 0.6214 GB, free: 10.73 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.598, allocations: 386.8 kB / 0.6218 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009257/0.5989, allocations: 497.7 kB / 0.6223 GB, free: 9.852 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/0.6, allocations: 0.7562 MB / 0.623 GB, free: 8.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.6011, allocations: 0.5885 MB / 0.6236 GB, free: 8.395 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.6011, allocations: 4 kB / 0.6236 GB, free: 8.391 MB / 494.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003305/0.6045, allocations: 1.684 MB / 0.6252 GB, free: 6.695 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.6045, allocations: 12 kB / 0.6252 GB, free: 6.684 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.6045, allocations: 4.594 kB / 0.6252 GB, free: 6.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007494/0.612, allocations: 1.405 MB / 0.6266 GB, free: 5.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008126/0.6129, allocations: 159.7 kB / 0.6268 GB, free: 5.113 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002634/0.6155, allocations: 1.545 MB / 0.6283 GB, free: 3.543 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009617/0.6165, allocations: 91.89 kB / 0.6284 GB, free: 3.453 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/0.6166, allocations: 59.97 kB / 0.6284 GB, free: 3.395 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.0005025/0.6171, allocations: 301.4 kB / 0.6287 GB, free: 3.09 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/0.6173, allocations: 90.92 kB / 0.6288 GB, free: 3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003303/0.6206, allocations: 1.654 MB / 0.6304 GB, free: 1.312 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/0.6206, allocations: 8 kB / 0.6304 GB, free: 1.305 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.6206, allocations: 4 kB / 0.6304 GB, free: 1.301 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.6207, allocations: 3.984 kB / 0.6304 GB, free: 1.297 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2262/0.8469, allocations: 2.577 MB / 0.6329 GB, free: 153.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/0.8469, allocations: 5.844 kB / 0.633 GB, free: 153.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001227/0.8482, allocations: 261.2 kB / 0.6332 GB, free: 153.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001857/0.85, allocations: 394.4 kB / 0.6336 GB, free: 153.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-05/0.8501, allocations: 34.95 kB / 0.6336 GB, free: 153.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002003/0.8521, allocations: 2.268 MB / 0.6358 GB, free: 152 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.8521, allocations: 3.438 kB / 0.6358 GB, free: 152 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00324/0.8554, allocations: 2.092 MB / 0.6379 GB, free: 151.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000604/0.856, allocations: 301.9 kB / 0.6382 GB, free: 151.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001701/0.8562, allocations: 23.62 kB / 0.6382 GB, free: 151.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008425/0.857, allocations: 75.56 kB / 0.6383 GB, free: 151.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.8572, allocations: 64.62 kB / 0.6383 GB, free: 151.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/0.8573, allocations: 59.97 kB / 0.6384 GB, free: 151.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007265/0.858, allocations: 487.8 kB / 0.6388 GB, free: 151.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.858, allocations: 2.297 kB / 0.6388 GB, free: 151.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002198/0.8603, allocations: 0.6997 MB / 0.6395 GB, free: 151.5 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.002141/0.8624, allocations: 0.8694 MB / 0.6404 GB, free: 151.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002503/0.8649, allocations: 1.251 MB / 0.6416 GB, free: 151.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.331e-06/0.8649, allocations: 3.922 kB / 0.6416 GB, free: 151.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001636/0.8666, allocations: 0.7196 MB / 0.6423 GB, free: 151.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002148/0.8687, allocations: 459.7 kB / 0.6427 GB, free: 151.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004166/0.8729, allocations: 2.5 MB / 0.6452 GB, free: 150.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004565/0.8734, allocations: 1.061 MB / 0.6462 GB, free: 149.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001192/0.8746, allocations: 309.7 kB / 0.6465 GB, free: 149.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002837/0.8749, allocations: 100.1 kB / 0.6466 GB, free: 149.5 MB / 494.1 MB Notification: Performance of SimCode: time 7.72e-07/0.8749, allocations: 0 / 0.6466 GB, free: 149.5 MB / 494.1 MB Notification: Performance of Templates: time 0.0522/0.9271, allocations: 33.06 MB / 0.6789 GB, free: 140.1 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) Environment - environmentSimulation: