Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 115.2 kB / 17.13 MB, free: 6.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 208.3 kB / 20.1 MB, free: 3.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.482/1.482, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1439/0.1439, allocations: 23.86 MB / 333.4 MB, free: 1.211 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater") translateModel(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 60.69 kB / 467.2 MB, free: 30.55 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1112, allocations: 59.82 MB / 0.5146 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.009572/0.1207, allocations: 7.612 MB / 0.5221 GB, free: 4.824 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03005/0.1508, allocations: 23.46 MB / 0.545 GB, free: 13.27 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0016/0.1524, allocations: 27.75 kB / 0.545 GB, free: 13.25 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001525/0.1539, allocations: 476.5 kB / 0.5455 GB, free: 12.78 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005993/0.1599, allocations: 1.948 MB / 0.5474 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008353/0.1682, allocations: 2.947 MB / 0.5502 GB, free: 7.852 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003666/0.1719, allocations: 2.138 MB / 0.5523 GB, free: 5.703 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001723/0.1736, allocations: 1.056 MB / 0.5534 GB, free: 4.613 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001707/0.1753, allocations: 1.087 MB / 0.5544 GB, free: 3.523 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002236/0.1776, allocations: 1.242 MB / 0.5556 GB, free: 2.277 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004545/0.178, allocations: 192 kB / 0.5558 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009745/0.1878, allocations: 2.543 MB / 0.5583 GB, free: 15.54 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008927/0.1887, allocations: 478.6 kB / 0.5588 GB, free: 15.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001581/0.1903, allocations: 0.949 MB / 0.5597 GB, free: 14.12 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01232/0.2026, allocations: 4.844 MB / 0.5644 GB, free: 9.258 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.2026, allocations: 0 / 0.5644 GB, free: 9.258 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.2026, allocations: 0 / 0.5644 GB, free: 9.258 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.156e-05/0.2026, allocations: 0 / 0.5644 GB, free: 9.258 MB / 430.1 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.005657/0.2083, allocations: 2.44 MB / 0.5668 GB, free: 6.754 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.2083, allocations: 8.031 kB / 0.5668 GB, free: 6.746 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001901/0.2102, allocations: 407.2 kB / 0.5672 GB, free: 6.348 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001623/0.2119, allocations: 0.9094 MB / 0.5681 GB, free: 5.398 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001772/0.212, allocations: 166.8 kB / 0.5682 GB, free: 5.223 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003109/0.2123, allocations: 152.3 kB / 0.5684 GB, free: 5.074 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003554/0.2159, allocations: 2.052 MB / 0.5704 GB, free: 2.984 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.816e-05/0.2159, allocations: 4 kB / 0.5704 GB, free: 2.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001699/0.2161, allocations: 59.94 kB / 0.5705 GB, free: 2.922 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.251e-05/0.2161, allocations: 36 kB / 0.5705 GB, free: 2.887 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004464/0.2206, allocations: 2.72 MB / 0.5731 GB, free: 164 kB / 430.1 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.01205/0.2326, allocations: 6.557 MB / 0.5795 GB, free: 9.375 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005741/0.2384, allocations: 3.237 MB / 0.5827 GB, free: 6.039 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001559/0.2399, allocations: 0.805 MB / 0.5835 GB, free: 5.238 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2353/0.4753, allocations: 7.258 MB / 0.5906 GB, free: 66.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.4753, allocations: 45.5 kB / 0.5906 GB, free: 66.29 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009622/0.4763, allocations: 205 kB / 0.5908 GB, free: 66.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=117): time 7.525e-06/0.4763, allocations: 0.8125 kB / 0.5908 GB, free: 66.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=140): time 0.0211/0.4974, allocations: 5.409 MB / 0.5961 GB, free: 64.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.4974, allocations: 72.03 kB / 0.5962 GB, free: 64.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001517/0.4989, allocations: 1.036 MB / 0.5972 GB, free: 63.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001832/0.4991, allocations: 50.2 kB / 0.5972 GB, free: 63.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004082/0.4995, allocations: 0.6939 MB / 0.5979 GB, free: 63.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004314/0.5, allocations: 0.5033 MB / 0.5984 GB, free: 62.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006174/0.5006, allocations: 337.6 kB / 0.5987 GB, free: 62.74 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.733e-05/0.5006, allocations: 301.8 kB / 0.599 GB, free: 62.44 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/0.5018, allocations: 0.6497 MB / 0.5996 GB, free: 62.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001376/0.5031, allocations: 1.108 MB / 0.6007 GB, free: 61.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002474/0.5056, allocations: 1.802 MB / 0.6025 GB, free: 60.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/0.5056, allocations: 3.938 kB / 0.6025 GB, free: 60.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.006934/0.5126, allocations: 2.419 MB / 0.6049 GB, free: 59.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/0.5126, allocations: 17.56 kB / 0.6049 GB, free: 59.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.36e-05/0.5126, allocations: 14.53 kB / 0.6049 GB, free: 59.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002884/0.5155, allocations: 488.1 kB / 0.6053 GB, free: 59.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/0.5172, allocations: 414.3 kB / 0.6057 GB, free: 59.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00476/0.522, allocations: 3.88 MB / 0.6095 GB, free: 55.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/0.5236, allocations: 56.69 kB / 0.6096 GB, free: 55.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002064/0.5238, allocations: 95.67 kB / 0.6097 GB, free: 55.68 MB / 446.1 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.0006922/0.5245, allocations: 333.4 kB / 0.61 GB, free: 55.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003134/0.5248, allocations: 123.9 kB / 0.6101 GB, free: 55.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006227/0.531, allocations: 2.131 MB / 0.6122 GB, free: 54.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.531, allocations: 15.78 kB / 0.6122 GB, free: 54.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.531, allocations: 0 / 0.6122 GB, free: 54.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.866e-05/0.5311, allocations: 7.875 kB / 0.6122 GB, free: 54.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007444/0.5385, allocations: 3.545 MB / 0.6157 GB, free: 52.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.5385, allocations: 1.5 kB / 0.6157 GB, free: 52.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/0.5396, allocations: 279.4 kB / 0.6159 GB, free: 52.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00249/0.5421, allocations: 468.2 kB / 0.6164 GB, free: 52.51 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000135/0.5422, allocations: 47.22 kB / 0.6164 GB, free: 52.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004112/0.5464, allocations: 3.786 MB / 0.6201 GB, free: 48.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5464, allocations: 0 / 0.6201 GB, free: 48.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006437/0.5528, allocations: 2.738 MB / 0.6228 GB, free: 47.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003782/0.5532, allocations: 192.8 kB / 0.623 GB, free: 47.19 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000185/0.5534, allocations: 27.56 kB / 0.623 GB, free: 47.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007646/0.5541, allocations: 38.02 kB / 0.6231 GB, free: 47.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002774/0.5544, allocations: 118.6 kB / 0.6232 GB, free: 47.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/0.5545, allocations: 56.8 kB / 0.6232 GB, free: 47.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007195/0.5553, allocations: 0.7055 MB / 0.6239 GB, free: 46.65 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5553, allocations: 0 / 0.6239 GB, free: 46.65 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002623/0.5579, allocations: 0.9637 MB / 0.6249 GB, free: 46.46 MB / 446.1 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.001809/0.5597, allocations: 1.129 MB / 0.626 GB, free: 45.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003179/0.5629, allocations: 1.903 MB / 0.6278 GB, free: 43.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5629, allocations: 0 / 0.6278 GB, free: 43.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001596/0.5645, allocations: 1.065 MB / 0.6289 GB, free: 42.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.5658, allocations: 261 kB / 0.6291 GB, free: 42.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004303/0.5701, allocations: 2.736 MB / 0.6318 GB, free: 39.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005067/0.5706, allocations: 1.179 MB / 0.6329 GB, free: 38.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006902/0.5713, allocations: 272 kB / 0.6332 GB, free: 38.05 MB / 446.1 MB Notification: Performance of SimCode: time 1.282e-06/0.5713, allocations: 0 / 0.6332 GB, free: 38.05 MB / 446.1 MB Notification: Performance of Templates: time 0.04116/0.6124, allocations: 43.59 MB / 0.6758 GB, free: 10.57 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.sim & ./Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.891619154979708] Failed to read output from testmodel.py, exit status != 0: 0.6204834879899863 0.634133785 0.428335796 Calling exit ...