Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater.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.CarbonDioxideInWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater") translateModel(Chemical.Examples.AcidBase.CarbonDioxideInWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1145/0.1145, allocations: 15.28 MB / 30.53 MB, free: 3.188 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.001019/0.001019, allocations: 194.4 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.432/1.432, allocations: 225.7 MB / 266.3 MB, free: 6.125 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.0008603/0.0008602, allocations: 107.2 kB / 321.7 MB, free: 2.188 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003043/0.0003046, allocations: 9.469 kB / 387 MB, free: 50.64 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07673/0.07705, allocations: 54.64 MB / 441.7 MB, free: 14.85 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.AcidBase.CarbonDioxideInWater): time 0.007743/0.08482, allocations: 7.599 MB / 449.3 MB, free: 7.223 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02698/0.1118, allocations: 28.54 MB / 477.8 MB, free: 8.957 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001179/0.113, allocations: 31.75 kB / 477.8 MB, free: 8.926 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001339/0.1144, allocations: 433.5 kB / 478.3 MB, free: 8.5 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004937/0.1194, allocations: 1.681 MB / 479.9 MB, free: 6.809 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00798/0.1274, allocations: 2.557 MB / 482.5 MB, free: 4.238 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002896/0.1303, allocations: 2.064 MB / 484.6 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001495/0.1318, allocations: 1.027 MB / 485.6 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001555/0.1334, allocations: 0.9581 MB / 486.5 MB, free: 144 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001797/0.1352, allocations: 1.117 MB / 487.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000415/0.1356, allocations: 104 kB / 487.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006996/0.1426, allocations: 2.312 MB / 490.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000613/0.1433, allocations: 390.6 kB / 490.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001278/0.1445, allocations: 0.8726 MB / 491.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008432/0.153, allocations: 4.281 MB / 495.6 MB, free: 7.039 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.153, allocations: 7.984 kB / 495.6 MB, free: 7.031 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.153, allocations: 0 / 495.6 MB, free: 7.031 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.41e-05/0.1531, allocations: 0 / 495.6 MB, free: 7.031 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 368 * Number of variables: 368 Notification: Performance of Generate backend data structure: time 0.004419/0.1575, allocations: 2.007 MB / 497.6 MB, free: 4.969 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1576, allocations: 9.719 kB / 497.6 MB, free: 4.961 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001753/0.1593, allocations: 390.2 kB / 498 MB, free: 4.578 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001545/0.1609, allocations: 0.8463 MB / 498.9 MB, free: 3.691 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/0.1611, allocations: 162.9 kB / 499 MB, free: 3.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003328/0.1614, allocations: 148.3 kB / 499.2 MB, free: 3.375 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003429/0.1649, allocations: 2.021 MB / 0.4894 GB, free: 1.316 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/0.1649, allocations: 7.938 kB / 0.4894 GB, free: 1.309 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/0.165, allocations: 56 kB / 0.4895 GB, free: 1.254 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-05/0.1651, allocations: 36 kB / 0.4895 GB, free: 1.219 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003831/0.1689, allocations: 2.685 MB / 0.4922 GB, free: 14.53 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.01029/0.1792, allocations: 6.417 MB / 0.4984 GB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005021/0.1843, allocations: 3.305 MB / 0.5017 GB, free: 4.484 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001255/0.1855, allocations: 0.8793 MB / 0.5025 GB, free: 3.605 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1789/0.3644, allocations: 7.063 MB / 0.5094 GB, free: 69.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.3645, allocations: 42.78 kB / 0.5094 GB, free: 69.46 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006862/0.3652, allocations: 169 kB / 0.5096 GB, free: 69.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=117): time 3.477e-06/0.3652, allocations: 2.344 kB / 0.5096 GB, free: 69.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=140): time 0.01941/0.3846, allocations: 5.437 MB / 0.5149 GB, free: 68.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.3847, allocations: 69.78 kB / 0.515 GB, free: 68.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.386, allocations: 1.02 MB / 0.516 GB, free: 68.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001016/0.3861, allocations: 49.08 kB / 0.516 GB, free: 68.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004502/0.3865, allocations: 0.6781 MB / 0.5167 GB, free: 68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003472/0.3869, allocations: 491.2 kB / 0.5172 GB, free: 67.69 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.601e-05/0.387, allocations: 35 kB / 0.5172 GB, free: 67.69 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.3871, allocations: 379.2 kB / 0.5176 GB, free: 67.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001052/0.3882, allocations: 0.6409 MB / 0.5182 GB, free: 67.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001215/0.3894, allocations: 1.1 MB / 0.5193 GB, free: 66.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002302/0.3917, allocations: 1.789 MB / 0.521 GB, free: 65.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/0.3917, allocations: 3.094 kB / 0.521 GB, free: 65.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.006505/0.3982, allocations: 2.409 MB / 0.5234 GB, free: 64.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.586e-05/0.3983, allocations: 10.5 kB / 0.5234 GB, free: 64.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.628e-05/0.3983, allocations: 15.06 kB / 0.5234 GB, free: 64.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003026/0.4014, allocations: 0.4917 MB / 0.5239 GB, free: 64.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00168/0.4031, allocations: 420.8 kB / 0.5243 GB, free: 64.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004898/0.408, allocations: 3.518 MB / 0.5277 GB, free: 61.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/0.4094, allocations: 78.94 kB / 0.5278 GB, free: 61.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/0.4096, allocations: 96.28 kB / 0.5279 GB, free: 61.38 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (212): * Single equations (assignments): 209 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0005764/0.4102, allocations: 348 kB / 0.5282 GB, free: 61.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001939/0.4104, allocations: 119.3 kB / 0.5283 GB, free: 61.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006439/0.4168, allocations: 2.14 MB / 0.5304 GB, free: 60.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/0.4169, allocations: 14.06 kB / 0.5304 GB, free: 60.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.4169, allocations: 1.125 kB / 0.5304 GB, free: 60.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.737e-05/0.4169, allocations: 12.91 kB / 0.5304 GB, free: 60.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007319/0.4242, allocations: 3.541 MB / 0.5339 GB, free: 58.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.4242, allocations: 0.6875 kB / 0.5339 GB, free: 58.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.4253, allocations: 271.1 kB / 0.5341 GB, free: 58.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002608/0.4279, allocations: 486.6 kB / 0.5346 GB, free: 58.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/0.428, allocations: 47.72 kB / 0.5347 GB, free: 58.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003887/0.4319, allocations: 3.425 MB / 0.538 GB, free: 54.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.432, allocations: 0 / 0.538 GB, free: 54.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006044/0.438, allocations: 2.743 MB / 0.5407 GB, free: 53.33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003617/0.4384, allocations: 209.6 kB / 0.5409 GB, free: 53.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001662/0.4386, allocations: 24.72 kB / 0.5409 GB, free: 53.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007535/0.4393, allocations: 50.03 kB / 0.541 GB, free: 53.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000266/0.4396, allocations: 123.2 kB / 0.5411 GB, free: 53.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.607e-05/0.4397, allocations: 57.84 kB / 0.5411 GB, free: 53.01 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006664/0.4404, allocations: 0.6962 MB / 0.5418 GB, free: 52.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.4404, allocations: 0 / 0.5418 GB, free: 52.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00208/0.4425, allocations: 0.9147 MB / 0.5427 GB, free: 52.45 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (solution.temperature,HCO3.logn,H.logn,CO2_liquid.logn,liquidWater.logn,OH.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 (144): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001428/0.4439, allocations: 1.075 MB / 0.5437 GB, free: 51.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004422/0.4483, allocations: 1.998 MB / 0.5457 GB, free: 49.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/0.4484, allocations: 0 / 0.5457 GB, free: 49.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00247/0.4509, allocations: 1.142 MB / 0.5468 GB, free: 48.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001929/0.4528, allocations: 245.9 kB / 0.547 GB, free: 48.51 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005448/0.4583, allocations: 3.376 MB / 0.5503 GB, free: 45.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006546/0.459, allocations: 1.191 MB / 0.5515 GB, free: 43.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001658/0.4606, allocations: 322.1 kB / 0.5518 GB, free: 43.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000508/0.4611, allocations: 216.1 kB / 0.552 GB, free: 43.37 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.4612, allocations: 0 / 0.552 GB, free: 43.37 MB / 378.7 MB Notification: Performance of Templates: time 0.03724/0.4984, allocations: 32.03 MB / 0.5833 GB, free: 11.45 MB / 378.7 MB make -j1 -f Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater.makefile (rm -f Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater.pipe ; mkfifo Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater.pipe ; head -c 1048576 < Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater.pipe >> ../files/Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater.sim & ./Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater.pipe 2>&1)