Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.GasSolubility_NIST.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Chemical with version 1.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo) Running command: translateModel(Chemical.Examples.GasSolubility_NIST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_NIST") translateModel(Chemical.Examples.GasSolubility_NIST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_NIST") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.08942/0.08942, allocations: 15.28 MB / 30.53 MB, free: 3.168 MB / 24.77 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009409/0.0009406, allocations: 189 kB / 35.63 MB, free: 2.23 MB / 24.77 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 225.7 MB / 266.3 MB, free: 6.109 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008264/0.0008256, allocations: 95.23 kB / 321.7 MB, free: 2.195 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.000352, allocations: 11.66 kB / 387 MB, free: 50.64 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09827/0.09864, allocations: 54.65 MB / 441.7 MB, free: 14.85 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_NIST): time 0.0151/0.1138, allocations: 15.55 MB / 457.2 MB, free: 15.25 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2733/0.3871, allocations: 61.31 MB / 0.5064 GB, free: 21.85 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002896/0.3901, allocations: 71.53 kB / 0.5064 GB, free: 21.85 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003248/0.3933, allocations: 1.004 MB / 0.5074 GB, free: 21.84 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0113/0.4047, allocations: 2.907 MB / 0.5103 GB, free: 21.77 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02204/0.4267, allocations: 6.068 MB / 0.5162 GB, free: 21.46 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.009221/0.436, allocations: 4.276 MB / 0.5204 GB, free: 20.55 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004279/0.4403, allocations: 1.885 MB / 0.5222 GB, free: 20.28 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005047/0.4454, allocations: 1.835 MB / 0.524 GB, free: 20.24 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006887/0.4523, allocations: 2.142 MB / 0.5261 GB, free: 19.97 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001535/0.4539, allocations: 200.5 kB / 0.5263 GB, free: 19.97 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02436/0.4783, allocations: 5.084 MB / 0.5312 GB, free: 19.41 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002189/0.4805, allocations: 0.703 MB / 0.5319 GB, free: 19.29 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0039/0.4844, allocations: 1.776 MB / 0.5337 GB, free: 18.75 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02874/0.5132, allocations: 9.078 MB / 0.5425 GB, free: 15.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.358e-06/0.5132, allocations: 0 / 0.5425 GB, free: 15.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.5133, allocations: 0 / 0.5425 GB, free: 15.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001899/0.5135, allocations: 0 / 0.5425 GB, free: 15.65 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 791 * Number of variables: 791 Notification: Performance of Generate backend data structure: time 0.009571/0.523, allocations: 3.867 MB / 0.5463 GB, free: 13.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.5231, allocations: 14.34 kB / 0.5463 GB, free: 13.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004521/0.5276, allocations: 0.9284 MB / 0.5472 GB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003762/0.5314, allocations: 1.492 MB / 0.5487 GB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002344/0.5317, allocations: 230.5 kB / 0.5489 GB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009922/0.5327, allocations: 329.5 kB / 0.5492 GB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006665/0.5394, allocations: 4.437 MB / 0.5536 GB, free: 9.492 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.09e-05/0.5395, allocations: 3.938 kB / 0.5536 GB, free: 9.488 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002747/0.5397, allocations: 124 kB / 0.5537 GB, free: 9.465 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.226e-05/0.5398, allocations: 76 kB / 0.5537 GB, free: 9.391 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007581/0.5474, allocations: 6.344 MB / 0.5599 GB, free: 4.992 MB / 378.7 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.02069/0.5681, allocations: 12.53 MB / 0.5722 GB, free: 11.58 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006901/0.575, allocations: 4.601 MB / 0.5767 GB, free: 7.957 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002039/0.5771, allocations: 1.3 MB / 0.5779 GB, free: 7.148 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01858/0.5957, allocations: 11.91 MB / 0.5896 GB, free: 11.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.699e-05/0.5958, allocations: 50 kB / 0.5896 GB, free: 11.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=182): time 5.039e-06/0.5958, allocations: 0 / 0.5896 GB, free: 11.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=227): time 0.04672/0.6426, allocations: 9.893 MB / 0.5993 GB, free: 2.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.546e-05/0.6427, allocations: 128.8 kB / 0.5994 GB, free: 2.012 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004856/0.6475, allocations: 3.299 MB / 0.6026 GB, free: 14.69 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003806/0.648, allocations: 65.7 kB / 0.6027 GB, free: 14.62 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001308/0.6493, allocations: 1.587 MB / 0.6042 GB, free: 13.03 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001053/0.6503, allocations: 0.7921 MB / 0.605 GB, free: 12.24 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003872/0.6507, allocations: 76 kB / 0.6051 GB, free: 12.17 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000271/0.651, allocations: 441.5 kB / 0.6055 GB, free: 11.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00253/0.6536, allocations: 1.37 MB / 0.6068 GB, free: 10.36 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003333/0.6569, allocations: 2.467 MB / 0.6093 GB, free: 7.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005261/0.6622, allocations: 3.556 MB / 0.6127 GB, free: 3.379 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.3e-05/0.6622, allocations: 8 kB / 0.6127 GB, free: 3.371 MB / 426.7 MB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01408/0.6763, allocations: 4.985 MB / 0.6176 GB, free: 14.36 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.388e-05/0.6764, allocations: 20 kB / 0.6176 GB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.817e-05/0.6765, allocations: 40.19 kB / 0.6177 GB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006018/0.6825, allocations: 0.7508 MB / 0.6184 GB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003181/0.6857, allocations: 0.8386 MB / 0.6192 GB, free: 12.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01654/0.7023, allocations: 10.49 MB / 0.6295 GB, free: 1.414 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004015/0.7063, allocations: 195.7 kB / 0.6296 GB, free: 1.223 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008631/0.7072, allocations: 199.9 kB / 0.6298 GB, free: 1.027 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 159 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (440): * Single equations (assignments): 434 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.00201/0.7093, allocations: 0.5435 MB / 0.6304 GB, free: 484 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008799/0.7102, allocations: 260.9 kB / 0.6306 GB, free: 220 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01207/0.7222, allocations: 3.249 MB / 0.6338 GB, free: 12.94 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.762e-05/0.7223, allocations: 24 kB / 0.6338 GB, free: 12.92 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.367e-05/0.7224, allocations: 3.938 kB / 0.6338 GB, free: 12.91 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.328e-05/0.7224, allocations: 15.95 kB / 0.6338 GB, free: 12.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006346/0.7288, allocations: 2.603 MB / 0.6364 GB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.995e-05/0.7288, allocations: 4 kB / 0.6364 GB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002018/0.7309, allocations: 447.8 kB / 0.6368 GB, free: 9.812 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006292/0.7372, allocations: 0.7123 MB / 0.6375 GB, free: 9.086 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005058/0.7377, allocations: 83.95 kB / 0.6376 GB, free: 9.004 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01481/0.7526, allocations: 10.22 MB / 0.6476 GB, free: 13.99 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.7526, allocations: 4 kB / 0.6476 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01361/0.7662, allocations: 4.173 MB / 0.6516 GB, free: 9.727 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001389/0.7676, allocations: 369.5 kB / 0.652 GB, free: 9.344 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001122/0.7688, allocations: 48 kB / 0.652 GB, free: 9.297 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003419/0.7722, allocations: 87.81 kB / 0.6521 GB, free: 9.211 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006614/0.7729, allocations: 205.5 kB / 0.6523 GB, free: 9.008 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003424/0.7733, allocations: 99.95 kB / 0.6524 GB, free: 8.91 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004184/0.7775, allocations: 2.315 MB / 0.6547 GB, free: 6.582 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.7775, allocations: 0 / 0.6547 GB, free: 6.582 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008605/0.7861, allocations: 2.022 MB / 0.6566 GB, free: 4.559 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (water_solution_37degC1.temperature,CO2_0.logn,O2_0.logn,water_0.logn,water_solution_37degC.temperature,CO2_37.logn,O2_37.logn,water_37.logn,water_solution_25degC.temperature,CO2_25.logn,O2_25.logn,water_25.logn) * 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 (236): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005808/0.792, allocations: 2.193 MB / 0.6588 GB, free: 2.637 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007021/0.799, allocations: 3.744 MB / 0.6624 GB, free: 14.83 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.228e-06/0.7991, allocations: 4 kB / 0.6624 GB, free: 14.83 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003121/0.8022, allocations: 1.867 MB / 0.6643 GB, free: 12.89 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004257/0.8065, allocations: 476.7 kB / 0.6647 GB, free: 12.42 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.8174, allocations: 6.61 MB / 0.6712 GB, free: 5.742 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001514/0.819, allocations: 1.717 MB / 0.6729 GB, free: 3.996 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003165/0.8221, allocations: 0.6056 MB / 0.6734 GB, free: 3.387 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008923/0.8231, allocations: 402.2 kB / 0.6738 GB, free: 2.992 MB / 490.7 MB Notification: Performance of SimCode: time 1.613e-06/0.8231, allocations: 4 kB / 0.6738 GB, free: 2.988 MB / 490.7 MB Notification: Performance of Templates: time 0.3076/1.131, allocations: 65.1 MB / 0.7374 GB, free: 156.9 MB / 0.4948 GB make -j1 -f Chemical_Chemical.Examples.GasSolubility_NIST.makefile (rm -f Chemical_Chemical.Examples.GasSolubility_NIST.pipe ; mkfifo Chemical_Chemical.Examples.GasSolubility_NIST.pipe ; head -c 1048576 < Chemical_Chemical.Examples.GasSolubility_NIST.pipe >> ../files/Chemical_Chemical.Examples.GasSolubility_NIST.sim & ./Chemical_Chemical.Examples.GasSolubility_NIST -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.GasSolubility_NIST.pipe 2>&1)