Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest.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.AcidBase.AcidBaseBufferTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest") translateModel(Chemical.Examples.AcidBase.AcidBaseBufferTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1365/0.1365, allocations: 15.28 MB / 30.53 MB, free: 3.195 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.001338/0.001338, allocations: 190.8 kB / 35.63 MB, free: 2.25 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.427/1.427, allocations: 225.7 MB / 266.3 MB, free: 6.082 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.0008173/0.0008173, allocations: 99.23 kB / 321.7 MB, free: 2.199 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004566/0.0004567, allocations: 7.469 kB / 387 MB, free: 50.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09662/0.0971, allocations: 54.65 MB / 441.7 MB, free: 14.87 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.AcidBase.AcidBaseBufferTest): time 0.02146/0.1186, allocations: 20.72 MB / 462.4 MB, free: 10.09 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01285/0.1315, allocations: 12.27 MB / 474.7 MB, free: 13.11 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006529/0.1322, allocations: 15.88 kB / 474.7 MB, free: 13.09 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006173/0.1328, allocations: 214.9 kB / 474.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001355/0.1342, allocations: 0.4968 MB / 475.4 MB, free: 12.38 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003183/0.1374, allocations: 1.266 MB / 476.7 MB, free: 11.11 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009818/0.1384, allocations: 0.9038 MB / 477.6 MB, free: 10.2 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004705/0.1389, allocations: 418.1 kB / 478 MB, free: 9.785 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003849/0.1393, allocations: 366.8 kB / 478.3 MB, free: 9.426 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004823/0.1397, allocations: 434.2 kB / 478.7 MB, free: 9 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.768e-05/0.1398, allocations: 44 kB / 478.8 MB, free: 8.957 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002452/0.1423, allocations: 0.963 MB / 479.8 MB, free: 7.992 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.1425, allocations: 147.4 kB / 479.9 MB, free: 7.848 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003847/0.1429, allocations: 411.8 kB / 480.3 MB, free: 7.438 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003097/0.146, allocations: 1.825 MB / 482.1 MB, free: 5.605 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.146, allocations: 11.94 kB / 482.1 MB, free: 5.594 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.146, allocations: 0 / 482.1 MB, free: 5.594 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.146, allocations: 0 / 482.1 MB, free: 5.594 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001895/0.1479, allocations: 1.061 MB / 483.2 MB, free: 4.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.148, allocations: 9.719 kB / 483.2 MB, free: 4.473 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007223/0.1487, allocations: 207.6 kB / 483.4 MB, free: 4.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006388/0.1494, allocations: 465.7 kB / 483.9 MB, free: 3.773 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.704e-05/0.1494, allocations: 50.38 kB / 483.9 MB, free: 3.727 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.1496, allocations: 72.38 kB / 484 MB, free: 3.656 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.1511, allocations: 1.083 MB / 485.1 MB, free: 2.559 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.1511, allocations: 0 / 485.1 MB, free: 2.559 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.611e-05/0.1512, allocations: 28 kB / 485.1 MB, free: 2.531 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.1512, allocations: 16 kB / 485.1 MB, free: 2.516 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001898/0.1531, allocations: 1.503 MB / 486.6 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004665/0.1578, allocations: 3.017 MB / 489.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/0.1592, allocations: 0.9856 MB / 490.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004663/0.1596, allocations: 382.3 kB / 491 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003337/0.163, allocations: 2.433 MB / 493.4 MB, free: 9.871 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.191e-05/0.1631, allocations: 39 kB / 493.5 MB, free: 9.824 MB / 362.7 MB Notification: Performance of pre-optimization done (n=51): time 2.054e-06/0.1631, allocations: 0 / 493.5 MB, free: 9.824 MB / 362.7 MB Notification: Performance of matching and sorting (n=68): time 0.01501/0.1781, allocations: 3.535 MB / 497 MB, free: 6.211 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.1782, allocations: 55.97 kB / 497 MB, free: 6.145 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007856/0.179, allocations: 0.6892 MB / 497.7 MB, free: 5.441 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.646e-05/0.179, allocations: 33.7 kB / 497.8 MB, free: 5.402 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002212/0.1793, allocations: 351.5 kB / 498.1 MB, free: 5.055 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00018/0.1794, allocations: 236.6 kB / 498.3 MB, free: 4.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/0.1795, allocations: 16 kB / 498.4 MB, free: 4.805 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.1797, allocations: 370.8 kB / 498.7 MB, free: 4.434 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005804/0.1802, allocations: 437.8 kB / 499.2 MB, free: 4.008 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006756/0.1809, allocations: 0.6002 MB / 499.8 MB, free: 3.355 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.1822, allocations: 0.9693 MB / 0.489 GB, free: 2.328 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.1822, allocations: 4 kB / 0.489 GB, free: 2.324 MB / 362.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003807/0.186, allocations: 1.417 MB / 0.4904 GB, free: 0.8906 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.186, allocations: 4 kB / 0.4904 GB, free: 0.8867 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.186, allocations: 8 kB / 0.4904 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00228/0.1883, allocations: 278.2 kB / 0.4906 GB, free: 0.5977 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007407/0.1891, allocations: 195.7 kB / 0.4908 GB, free: 416 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005231/0.1943, allocations: 3.765 MB / 0.4945 GB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006156/0.195, allocations: 31.98 kB / 0.4945 GB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.754e-05/0.195, allocations: 36.14 kB / 0.4946 GB, free: 12.29 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (94): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003049/0.1954, allocations: 213.6 kB / 0.4948 GB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.1955, allocations: 59.25 kB / 0.4948 GB, free: 12.01 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003759/0.1992, allocations: 1.193 MB / 0.496 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.874e-06/0.1993, allocations: 8 kB / 0.496 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1993, allocations: 0 / 0.496 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.1993, allocations: 11.92 kB / 0.496 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005002/0.2043, allocations: 2.165 MB / 0.4981 GB, free: 8.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.2043, allocations: 3.938 kB / 0.4981 GB, free: 8.516 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005599/0.2049, allocations: 143.8 kB / 0.4983 GB, free: 8.375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002222/0.2071, allocations: 278.2 kB / 0.4985 GB, free: 8.094 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.984e-05/0.2072, allocations: 23.98 kB / 0.4986 GB, free: 8.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005037/0.2122, allocations: 3.686 MB / 0.5022 GB, free: 4.094 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.2123, allocations: 12.03 kB / 0.5022 GB, free: 4.082 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004259/0.2165, allocations: 1.656 MB / 0.5038 GB, free: 2.383 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003264/0.2169, allocations: 200.3 kB / 0.504 GB, free: 2.168 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.735e-05/0.217, allocations: 15.94 kB / 0.504 GB, free: 2.152 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004355/0.2174, allocations: 31.98 kB / 0.504 GB, free: 2.121 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/0.2176, allocations: 60.42 kB / 0.5041 GB, free: 2.062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.996e-05/0.2176, allocations: 23.98 kB / 0.5041 GB, free: 2.039 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000552/0.2182, allocations: 0.503 MB / 0.5046 GB, free: 1.535 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.2182, allocations: 0 / 0.5046 GB, free: 1.535 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001215/0.2194, allocations: 423.7 kB / 0.505 GB, free: 1.121 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (simpleSolution.temperature,simpleSolution.mass,liquidWater.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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008861/0.2203, allocations: 0.5298 MB / 0.5055 GB, free: 0.582 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1599/0.3802, allocations: 1.182 MB / 0.5067 GB, free: 69.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.3802, allocations: 2.719 kB / 0.5067 GB, free: 69.58 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009343/0.3812, allocations: 0.6723 MB / 0.5073 GB, free: 69.35 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009598/0.3821, allocations: 150.4 kB / 0.5075 GB, free: 69.35 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002295/0.3845, allocations: 1.928 MB / 0.5094 GB, free: 68.47 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.3848, allocations: 0.9085 MB / 0.5102 GB, free: 67.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005528/0.3854, allocations: 133.4 kB / 0.5104 GB, free: 67.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/0.3856, allocations: 88.84 kB / 0.5105 GB, free: 67.76 MB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.3856, allocations: 2.812 kB / 0.5105 GB, free: 67.76 MB / 378.7 MB Notification: Performance of Templates: time 0.02684/0.4124, allocations: 17.03 MB / 0.5271 GB, free: 63.16 MB / 378.7 MB make -j1 -f Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest.makefile (rm -f Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest.pipe ; mkfifo Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest.pipe ; head -c 1048576 < Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest.pipe >> ../files/Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest.sim & ./Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest.pipe 2>&1)