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.001925/0.001926, 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.001981/0.001981, allocations: 193.3 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.811/1.811, allocations: 205.1 MB / 222.4 MB, free: 4.426 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.3621/0.3621, allocations: 39.93 MB / 309.7 MB, free: 9.57 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.001519/0.001519, allocations: 59.91 kB / 377.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1472, allocations: 56.89 MB / 434.5 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4595/0.6068, allocations: 196.4 MB / 0.6162 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01363/0.6205, allocations: 10.28 MB / 0.6262 GB, free: 4.352 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00064/0.6212, allocations: 19.88 kB / 0.6262 GB, free: 4.332 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001119/0.6223, allocations: 437.5 kB / 0.6266 GB, free: 3.902 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007052/0.6294, allocations: 2.578 MB / 0.6292 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3154/0.9447, allocations: 2.633 MB / 0.6317 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002576/0.9473, allocations: 2.194 MB / 0.6339 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007907/0.9481, allocations: 0.5959 MB / 0.6344 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004759/0.9529, allocations: 1.955 MB / 0.6364 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001233/0.9542, allocations: 0.8619 MB / 0.6372 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001621/0.9543, allocations: 94.28 kB / 0.6373 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01054/0.9649, allocations: 5.559 MB / 0.6427 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007198/0.9656, allocations: 437.5 kB / 0.6431 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00088/0.9665, allocations: 0.5332 MB / 0.6437 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009998/0.9765, allocations: 4.061 MB / 0.6476 GB, free: 2.652 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.9766, allocations: 0.6094 kB / 0.6476 GB, free: 2.652 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.847e-06/0.9766, allocations: 1.031 kB / 0.6476 GB, free: 2.652 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.784e-05/0.9766, allocations: 0 / 0.6476 GB, free: 2.652 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.005335/0.982, allocations: 1.793 MB / 0.6494 GB, free: 17.74 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.982, allocations: 13.95 kB / 0.6494 GB, free: 17.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005064/0.9825, allocations: 110.5 kB / 0.6495 GB, free: 17.69 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/0.9837, allocations: 0.5903 MB / 0.6501 GB, free: 17.42 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001459/0.9838, allocations: 120.5 kB / 0.6502 GB, free: 17.36 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/0.984, allocations: 76.8 kB / 0.6503 GB, free: 17.36 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00219/0.9862, allocations: 1.168 MB / 0.6514 GB, free: 17.17 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.968e-05/0.9862, allocations: 6.797 kB / 0.6514 GB, free: 17.17 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/0.9863, allocations: 33.97 kB / 0.6514 GB, free: 17.17 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001091/0.9865, allocations: 58.45 kB / 0.6515 GB, free: 17.17 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002198/0.9887, allocations: 1.173 MB / 0.6526 GB, free: 17.16 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.00777/0.9964, allocations: 5.013 MB / 0.6575 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001811/0.9983, allocations: 0.8313 MB / 0.6583 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006397/0.9989, allocations: 428.1 kB / 0.6588 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001752/1.001, allocations: 1.886 MB / 0.6606 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/1.001, allocations: 44.25 kB / 0.6606 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=70): time 2.645e-06/1.001, allocations: 0.9375 kB / 0.6606 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82): time 0.01449/1.015, allocations: 4.031 MB / 0.6646 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.268e-05/1.015, allocations: 115.2 kB / 0.6647 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008502/1.016, allocations: 0.657 MB / 0.6653 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001073/1.016, allocations: 46.08 kB / 0.6654 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/1.017, allocations: 384.2 kB / 0.6657 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001975/1.017, allocations: 293.9 kB / 0.666 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003113/1.017, allocations: 199.6 kB / 0.6662 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001682/1.017, allocations: 389.2 kB / 0.6666 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009802/1.018, allocations: 497.5 kB / 0.6671 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/1.019, allocations: 0.7552 MB / 0.6678 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002187/1.022, allocations: 1.288 MB / 0.669 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.762e-06/1.022, allocations: 1.844 kB / 0.669 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00342/1.025, allocations: 1.689 MB / 0.6707 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/1.025, allocations: 12.09 kB / 0.6707 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/1.025, allocations: 12.12 kB / 0.6707 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00675/1.032, allocations: 1.332 MB / 0.672 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005658/1.032, allocations: 160.8 kB / 0.6722 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002556/1.035, allocations: 1.531 MB / 0.6737 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009023/1.036, allocations: 56.34 kB / 0.6737 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/1.036, allocations: 57.02 kB / 0.6738 GB, free: 9.773 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.0005525/1.037, allocations: 300.6 kB / 0.6741 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002041/1.037, allocations: 86.84 kB / 0.6741 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003156/1.04, allocations: 1.641 MB / 0.6757 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/1.04, allocations: 8.344 kB / 0.6758 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.04, allocations: 0 / 0.6758 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/1.04, allocations: 8.438 kB / 0.6758 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004179/1.044, allocations: 2.553 MB / 0.6783 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/1.044, allocations: 2.938 kB / 0.6783 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/1.046, allocations: 265.6 kB / 0.6785 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001644/1.047, allocations: 374.6 kB / 0.6789 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.529e-05/1.047, allocations: 33.58 kB / 0.6789 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002605/1.05, allocations: 2.351 MB / 0.6812 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/1.05, allocations: 1.25 kB / 0.6812 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003532/1.053, allocations: 2.016 MB / 0.6832 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005392/1.054, allocations: 299.3 kB / 0.6835 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001597/1.054, allocations: 28.41 kB / 0.6835 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008108/1.055, allocations: 51.8 kB / 0.6835 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/1.055, allocations: 69.77 kB / 0.6836 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/1.055, allocations: 48.09 kB / 0.6836 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006681/1.056, allocations: 0.4995 MB / 0.6841 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/1.056, allocations: 1.203 kB / 0.6841 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002353/1.058, allocations: 0.7074 MB / 0.6848 GB, free: 6.527 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.002112/1.06, allocations: 0.8961 MB / 0.6857 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003173/1.064, allocations: 1.442 MB / 0.6871 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/1.064, allocations: 3.953 kB / 0.6871 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001659/1.065, allocations: 0.7146 MB / 0.6878 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00246/1.068, allocations: 0.5126 MB / 0.6883 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004564/1.072, allocations: 2.178 MB / 0.6904 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006172/1.073, allocations: 1.049 MB / 0.6915 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001116/1.074, allocations: 311.9 kB / 0.6918 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002952/1.074, allocations: 100.7 kB / 0.6919 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of SimCode: time 1.513e-06/1.074, allocations: 0 / 0.6919 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of Templates: time 0.05429/1.129, allocations: 36.12 MB / 0.7271 GB, free: 14.5 MB / 0.545 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile (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)