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.001233/0.001233, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001837/0.001837, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.684/1.684, 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.2+maint.om/package.mo): time 0.3332/0.3332, allocations: 39.94 MB / 309.3 MB, free: 9.637 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.001363/0.001363, allocations: 59.91 kB / 376.9 MB, free: 13.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1291, allocations: 56.89 MB / 433.8 MB, free: 4.41 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4245/0.5536, allocations: 195.9 MB / 0.615 GB, free: 96 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01285/0.5665, allocations: 10.62 MB / 0.6254 GB, free: 5.453 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009469/0.5675, allocations: 27.75 kB / 0.6254 GB, free: 5.426 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.5687, allocations: 398.1 kB / 0.6258 GB, free: 5.035 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007858/0.5766, allocations: 2.268 MB / 0.628 GB, free: 2.762 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007259/0.5839, allocations: 2.33 MB / 0.6302 GB, free: 456 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.3255/0.9094, allocations: 3.207 MB / 0.6334 GB, free: 3.484 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008504/0.9103, allocations: 0.5099 MB / 0.6339 GB, free: 3.453 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004336/0.9146, allocations: 1.765 MB / 0.6356 GB, free: 3.43 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001519/0.9162, allocations: 0.8933 MB / 0.6365 GB, free: 3.426 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001555/0.9163, allocations: 46.56 kB / 0.6365 GB, free: 3.426 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009105/0.9255, allocations: 5.931 MB / 0.6423 GB, free: 3.422 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008523/0.9264, allocations: 387.5 kB / 0.6427 GB, free: 3.422 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001035/0.9274, allocations: 497.8 kB / 0.6432 GB, free: 3.422 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01014/0.9375, allocations: 4.167 MB / 0.6472 GB, free: 3.348 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/0.9376, allocations: 0 / 0.6472 GB, free: 3.348 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.9376, allocations: 0 / 0.6472 GB, free: 3.348 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.131e-05/0.9376, allocations: 0 / 0.6472 GB, free: 3.348 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.005846/0.9435, allocations: 1.793 MB / 0.649 GB, free: 18.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.9436, allocations: 8.781 kB / 0.649 GB, free: 18.48 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005533/0.9441, allocations: 113 kB / 0.6491 GB, free: 18.43 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.9453, allocations: 0.5873 MB / 0.6497 GB, free: 18.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/0.9455, allocations: 118.6 kB / 0.6498 GB, free: 18.1 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/0.9456, allocations: 75.14 kB / 0.6498 GB, free: 18.1 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002194/0.9478, allocations: 1.179 MB / 0.651 GB, free: 17.91 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.827e-05/0.9479, allocations: 4.062 kB / 0.651 GB, free: 17.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/0.948, allocations: 35.94 kB / 0.651 GB, free: 17.91 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.873e-05/0.9481, allocations: 59.05 kB / 0.6511 GB, free: 17.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002144/0.9502, allocations: 1.168 MB / 0.6522 GB, free: 17.9 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.007883/0.9581, allocations: 4.995 MB / 0.6571 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002057/0.9602, allocations: 0.8191 MB / 0.6579 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000843/0.9611, allocations: 431 kB / 0.6583 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001975/0.9631, allocations: 1.886 MB / 0.6602 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.197e-05/0.9631, allocations: 43.66 kB / 0.6602 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=70): time 3.156e-06/0.9631, allocations: 1.203 kB / 0.6602 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82): time 0.01489/0.978, allocations: 4.028 MB / 0.6641 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.559e-05/0.9781, allocations: 115.8 kB / 0.6643 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.9792, allocations: 0.664 MB / 0.6649 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001471/0.9794, allocations: 44.77 kB / 0.6649 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002559/0.9797, allocations: 380.3 kB / 0.6653 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002331/0.9799, allocations: 291 kB / 0.6656 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003294/0.9802, allocations: 203.6 kB / 0.6658 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.9804, allocations: 391.4 kB / 0.6662 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/0.9814, allocations: 494.8 kB / 0.6666 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/0.9826, allocations: 0.7556 MB / 0.6674 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002406/0.985, allocations: 1.287 MB / 0.6686 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/0.985, allocations: 5.156 kB / 0.6686 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003478/0.9885, allocations: 1.685 MB / 0.6703 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.9886, allocations: 12.94 kB / 0.6703 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.9886, allocations: 6.312 kB / 0.6703 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007101/0.9957, allocations: 1.325 MB / 0.6716 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007764/0.9965, allocations: 164.6 kB / 0.6717 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002664/0.9992, allocations: 1.527 MB / 0.6732 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/1, allocations: 93.45 kB / 0.6733 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/1.001, allocations: 62.17 kB / 0.6734 GB, free: 10.34 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.0006171/1.001, allocations: 298.9 kB / 0.6737 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002273/1.001, allocations: 86.95 kB / 0.6737 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003287/1.005, allocations: 1.634 MB / 0.6753 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/1.005, allocations: 9.266 kB / 0.6753 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/1.005, allocations: 2.297 kB / 0.6754 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/1.005, allocations: 3.312 kB / 0.6754 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004241/1.009, allocations: 2.561 MB / 0.6779 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/1.009, allocations: 3 kB / 0.6779 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00119/1.01, allocations: 262.9 kB / 0.6781 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001575/1.012, allocations: 381.8 kB / 0.6785 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-05/1.012, allocations: 32.83 kB / 0.6785 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002303/1.014, allocations: 2.259 MB / 0.6807 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/1.014, allocations: 6.344 kB / 0.6807 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0047/1.019, allocations: 2.014 MB / 0.6827 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007241/1.02, allocations: 290.6 kB / 0.683 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001664/1.02, allocations: 25.66 kB / 0.683 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008761/1.021, allocations: 75.48 kB / 0.6831 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/1.021, allocations: 61.64 kB / 0.6831 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/1.021, allocations: 54.92 kB / 0.6832 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005919/1.022, allocations: 0.4936 MB / 0.6837 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.22e-07/1.022, allocations: 0 / 0.6837 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002152/1.024, allocations: 0.7133 MB / 0.6843 GB, free: 6.809 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.002693/1.027, allocations: 0.8982 MB / 0.6852 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003219/1.03, allocations: 1.244 MB / 0.6864 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.53e-05/1.03, allocations: 8.719 kB / 0.6864 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00183/1.032, allocations: 0.7119 MB / 0.6871 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002696/1.034, allocations: 0.4927 MB / 0.6876 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0047/1.039, allocations: 2.48 MB / 0.69 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006016/1.04, allocations: 1.05 MB / 0.6911 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001276/1.041, allocations: 315.4 kB / 0.6914 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003177/1.041, allocations: 102 kB / 0.6915 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of SimCode: time 4.21e-07/1.041, allocations: 0 / 0.6915 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of Templates: time 0.04962/1.091, allocations: 35.02 MB / 0.7257 GB, free: 136 kB / 0.5294 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)