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.01004/0.01004, allocations: 100.4 kB / 15.73 MB, free: 6.023 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.001575/0.001575, allocations: 192.9 kB / 16.67 MB, free: 5.957 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.697/1.697, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.3384/0.3384, allocations: 39.94 MB / 309.8 MB, free: 9.359 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.001463/0.001463, allocations: 67.89 kB / 435.8 MB, free: 2.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3597, allocations: 56.87 MB / 492.7 MB, free: 19.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.614/0.9738, allocations: 196.4 MB / 0.673 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01226/0.9861, allocations: 10.3 MB / 0.683 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.9872, allocations: 22.58 kB / 0.683 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001367/0.9886, allocations: 437 kB / 0.6835 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008291/0.9969, allocations: 2.579 MB / 0.686 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009163/1.006, allocations: 2.649 MB / 0.6886 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003918/1.01, allocations: 2.186 MB / 0.6907 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001096/1.011, allocations: 0.5941 MB / 0.6913 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005423/1.017, allocations: 1.97 MB / 0.6932 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001719/1.018, allocations: 0.869 MB / 0.694 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001914/1.018, allocations: 92.78 kB / 0.6941 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01218/1.031, allocations: 5.739 MB / 0.6997 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006541/1.031, allocations: 432.5 kB / 0.7002 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000812/1.032, allocations: 0.5336 MB / 0.7007 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.009559/1.042, allocations: 4.078 MB / 0.7047 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/1.042, allocations: 0 / 0.7047 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.483e-06/1.042, allocations: 0.8438 kB / 0.7047 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.356e-05/1.042, allocations: 0 / 0.7047 GB, free: 15.06 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.003982/1.046, allocations: 1.795 MB / 0.7064 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/1.046, allocations: 14.05 kB / 0.7064 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004321/1.046, allocations: 112.5 kB / 0.7065 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/1.047, allocations: 0.6162 MB / 0.7071 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/1.048, allocations: 119.2 kB / 0.7072 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/1.048, allocations: 75 kB / 0.7073 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/1.049, allocations: 1.169 MB / 0.7085 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/1.049, allocations: 0 / 0.7085 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.176e-05/1.049, allocations: 36.34 kB / 0.7085 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-05/1.05, allocations: 62.25 kB / 0.7086 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00181/1.051, allocations: 1.169 MB / 0.7097 GB, free: 12.79 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.00668/1.058, allocations: 4.99 MB / 0.7146 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/1.06, allocations: 0.834 MB / 0.7154 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006139/1.06, allocations: 425.4 kB / 0.7158 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001513/1.062, allocations: 1.89 MB / 0.7176 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/1.062, allocations: 45.06 kB / 0.7177 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=70): time 2.144e-06/1.062, allocations: 2.312 kB / 0.7177 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82): time 0.01348/1.075, allocations: 4.019 MB / 0.7216 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.429e-05/1.075, allocations: 115.5 kB / 0.7217 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000853/1.076, allocations: 0.668 MB / 0.7224 GB, free: 1.672 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.616e-05/1.076, allocations: 41.7 kB / 0.7224 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002731/1.077, allocations: 378.1 kB / 0.7228 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002398/1.077, allocations: 292.3 kB / 0.723 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003393/1.077, allocations: 198.4 kB / 0.7232 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002154/1.078, allocations: 394.8 kB / 0.7236 GB, free: 384 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009951/1.079, allocations: 493.7 kB / 0.7241 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001243/1.08, allocations: 0.7591 MB / 0.7248 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002231/1.082, allocations: 1.29 MB / 0.7261 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/1.082, allocations: 4 kB / 0.7261 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003371/1.085, allocations: 1.692 MB / 0.7277 GB, free: 12 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/1.085, allocations: 11.59 kB / 0.7278 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/1.085, allocations: 8 kB / 0.7278 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007067/1.093, allocations: 1.322 MB / 0.729 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006889/1.093, allocations: 156.5 kB / 0.7292 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002636/1.096, allocations: 1.543 MB / 0.7307 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009841/1.097, allocations: 51.97 kB / 0.7308 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/1.097, allocations: 59.98 kB / 0.7308 GB, free: 8.844 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.0005143/1.098, allocations: 303 kB / 0.7311 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002139/1.098, allocations: 90.97 kB / 0.7312 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003194/1.101, allocations: 1.637 MB / 0.7328 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/1.101, allocations: 8 kB / 0.7328 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.101, allocations: 0 / 0.7328 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/1.101, allocations: 3.984 kB / 0.7328 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004356/1.105, allocations: 2.55 MB / 0.7353 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/1.105, allocations: 8.094 kB / 0.7353 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00129/1.107, allocations: 258.1 kB / 0.7355 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001701/1.108, allocations: 375.6 kB / 0.7359 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.474e-05/1.109, allocations: 31.98 kB / 0.7359 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002448/1.111, allocations: 2.353 MB / 0.7382 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/1.111, allocations: 7.078 kB / 0.7382 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003704/1.115, allocations: 2.014 MB / 0.7402 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006544/1.115, allocations: 295.9 kB / 0.7405 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/1.116, allocations: 27.98 kB / 0.7405 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007812/1.116, allocations: 51.95 kB / 0.7406 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/1.117, allocations: 64.91 kB / 0.7406 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/1.117, allocations: 51.97 kB / 0.7407 GB, free: 14.49 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006391/1.117, allocations: 0.499 MB / 0.7412 GB, free: 13.99 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/1.117, allocations: 4 kB / 0.7412 GB, free: 13.99 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002177/1.119, allocations: 0.6988 MB / 0.7418 GB, free: 13.29 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.002451/1.122, allocations: 0.9013 MB / 0.7427 GB, free: 12.45 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002904/1.125, allocations: 1.249 MB / 0.7439 GB, free: 11.23 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.125, allocations: 0 / 0.7439 GB, free: 11.23 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001683/1.127, allocations: 0.7122 MB / 0.7446 GB, free: 10.54 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002733/1.129, allocations: 0.5131 MB / 0.7451 GB, free: 10.03 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004904/1.134, allocations: 2.152 MB / 0.7472 GB, free: 7.848 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006671/1.135, allocations: 1.043 MB / 0.7483 GB, free: 6.777 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001069/1.136, allocations: 311.9 kB / 0.7486 GB, free: 6.469 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003007/1.136, allocations: 103.4 kB / 0.7487 GB, free: 6.367 MB / 0.545 GB Notification: Performance of SimCode: time 6.71e-07/1.136, allocations: 4 kB / 0.7487 GB, free: 6.363 MB / 0.545 GB Notification: Performance of Templates: time 0.05767/1.194, allocations: 36.78 MB / 0.7846 GB, free: 1.645 MB / 0.5762 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)