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.001311/0.001311, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001577/0.001577, allocations: 209.6 kB / 22.24 MB, free: 5.262 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.397/1.397, allocations: 230.6 MB / 256 MB, free: 7.812 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.1322/0.1322, allocations: 23.89 MB / 336.3 MB, free: 10.97 MB / 270.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.001978/0.001978, allocations: 63.91 kB / 471.6 MB, free: 7.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3019, allocations: 59.87 MB / 0.519 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.006688/0.3086, allocations: 6.746 MB / 0.5256 GB, free: 5.336 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02518/0.3338, allocations: 20.58 MB / 0.5457 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001661/0.3355, allocations: 23.19 kB / 0.5457 GB, free: 7.312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001447/0.3369, allocations: 437.8 kB / 0.5462 GB, free: 7.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006481/0.3434, allocations: 1.924 MB / 0.548 GB, free: 5.957 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009645/0.353, allocations: 2.976 MB / 0.5509 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003154/0.3562, allocations: 2.135 MB / 0.553 GB, free: 2.793 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001353/0.3575, allocations: 1.019 MB / 0.554 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0014/0.3589, allocations: 1.085 MB / 0.5551 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00171/0.3607, allocations: 1.121 MB / 0.5562 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003042/0.361, allocations: 193.1 kB / 0.5564 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00748/0.3684, allocations: 2.387 MB / 0.5587 GB, free: 136 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006131/0.369, allocations: 480 kB / 0.5591 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001201/0.3702, allocations: 0.8114 MB / 0.5599 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01107/0.3813, allocations: 4.839 MB / 0.5647 GB, free: 10.92 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3813, allocations: 0 / 0.5647 GB, free: 10.92 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3813, allocations: 3.938 kB / 0.5647 GB, free: 10.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.333e-05/0.3814, allocations: 4 kB / 0.5647 GB, free: 10.91 MB / 414.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.004529/0.3859, allocations: 2.349 MB / 0.567 GB, free: 8.516 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.3859, allocations: 16.03 kB / 0.567 GB, free: 8.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001641/0.3876, allocations: 403.2 kB / 0.5674 GB, free: 8.105 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001564/0.3891, allocations: 0.8477 MB / 0.5682 GB, free: 7.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002032/0.3893, allocations: 218.3 kB / 0.5684 GB, free: 6.992 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002677/0.3896, allocations: 148.3 kB / 0.5685 GB, free: 6.848 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003204/0.3928, allocations: 2.064 MB / 0.5706 GB, free: 4.746 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.037e-05/0.3928, allocations: 4 kB / 0.5706 GB, free: 4.742 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001543/0.393, allocations: 60 kB / 0.5706 GB, free: 4.684 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.017e-05/0.393, allocations: 36 kB / 0.5707 GB, free: 4.648 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004159/0.3972, allocations: 2.709 MB / 0.5733 GB, free: 1.934 MB / 414.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.01041/0.4076, allocations: 5.4 MB / 0.5786 GB, free: 12.46 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005029/0.4126, allocations: 2.802 MB / 0.5813 GB, free: 9.652 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001283/0.4139, allocations: 0.7973 MB / 0.5821 GB, free: 8.855 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008576/0.4225, allocations: 3.978 MB / 0.586 GB, free: 4.855 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.4225, allocations: 43.56 kB / 0.586 GB, free: 4.801 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008186/0.4233, allocations: 195.1 kB / 0.5862 GB, free: 4.609 MB / 430.1 MB Notification: Performance of pre-optimization done (n=117): time 3.306e-06/0.4233, allocations: 0 / 0.5862 GB, free: 4.609 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.01907/0.4424, allocations: 5.174 MB / 0.5913 GB, free: 15.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.4425, allocations: 68.66 kB / 0.5913 GB, free: 15.31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/0.4437, allocations: 1.012 MB / 0.5923 GB, free: 14.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001046/0.4438, allocations: 49.7 kB / 0.5924 GB, free: 14.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005406/0.4444, allocations: 0.7032 MB / 0.593 GB, free: 13.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004505/0.4448, allocations: 0.4997 MB / 0.5935 GB, free: 13.01 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004953/0.4453, allocations: 339.4 kB / 0.5939 GB, free: 12.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.4455, allocations: 357.9 kB / 0.5942 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001114/0.4466, allocations: 0.652 MB / 0.5948 GB, free: 11.67 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001558/0.4482, allocations: 1.115 MB / 0.5959 GB, free: 10.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002729/0.4509, allocations: 1.816 MB / 0.5977 GB, free: 8.352 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.4509, allocations: 7.938 kB / 0.5977 GB, free: 8.344 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.006321/0.4572, allocations: 2.404 MB / 0.6001 GB, free: 5.922 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.4572, allocations: 12 kB / 0.6001 GB, free: 5.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.493e-05/0.4573, allocations: 24.06 kB / 0.6001 GB, free: 5.887 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002645/0.4599, allocations: 486 kB / 0.6005 GB, free: 5.402 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/0.4613, allocations: 419.3 kB / 0.6009 GB, free: 4.992 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005323/0.4667, allocations: 3.598 MB / 0.6045 GB, free: 1.199 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/0.4678, allocations: 55.98 kB / 0.6045 GB, free: 1.145 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001797/0.468, allocations: 99.89 kB / 0.6046 GB, free: 1.047 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.0006346/0.4687, allocations: 329.3 kB / 0.6049 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002807/0.4689, allocations: 127.2 kB / 0.605 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006183/0.4751, allocations: 2.121 MB / 0.6071 GB, free: 14.45 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/0.4751, allocations: 16 kB / 0.6071 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4751, allocations: 0 / 0.6071 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.533e-05/0.4752, allocations: 7.969 kB / 0.6071 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007765/0.4829, allocations: 3.16 MB / 0.6102 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.4829, allocations: 0 / 0.6102 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/0.484, allocations: 271.7 kB / 0.6105 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002539/0.4866, allocations: 470 kB / 0.6109 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/0.4867, allocations: 51.97 kB / 0.611 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00507/0.4917, allocations: 3.496 MB / 0.6144 GB, free: 6.73 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4917, allocations: 0 / 0.6144 GB, free: 6.73 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006744/0.4985, allocations: 2.742 MB / 0.6171 GB, free: 3.965 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002444/0.4987, allocations: 111.2 kB / 0.6172 GB, free: 3.855 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/0.4989, allocations: 28 kB / 0.6172 GB, free: 3.828 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006849/0.4996, allocations: 28 kB / 0.6172 GB, free: 3.801 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000268/0.4998, allocations: 137 kB / 0.6174 GB, free: 3.664 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/0.5, allocations: 55.97 kB / 0.6174 GB, free: 3.609 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008261/0.5008, allocations: 0.6708 MB / 0.6181 GB, free: 2.938 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5008, allocations: 0 / 0.6181 GB, free: 2.938 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002433/0.5032, allocations: 0.9545 MB / 0.619 GB, free: 1.98 MB / 462.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.00181/0.505, allocations: 1.121 MB / 0.6201 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003423/0.5085, allocations: 1.85 MB / 0.6219 GB, free: 14.97 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5085, allocations: 0 / 0.6219 GB, free: 14.97 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001813/0.5103, allocations: 0.9828 MB / 0.6229 GB, free: 13.96 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.5114, allocations: 251 kB / 0.6231 GB, free: 13.72 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004599/0.516, allocations: 2.683 MB / 0.6257 GB, free: 11.01 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006299/0.5166, allocations: 0.5981 MB / 0.6263 GB, free: 10.38 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001051/0.5176, allocations: 324 kB / 0.6266 GB, free: 10.07 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004563/0.5181, allocations: 207.3 kB / 0.6268 GB, free: 9.867 MB / 478.1 MB Notification: Performance of SimCode: time 5.71e-07/0.5181, allocations: 0 / 0.6268 GB, free: 9.867 MB / 478.1 MB Notification: Performance of Templates: time 0.05391/0.572, allocations: 36.25 MB / 0.6622 GB, free: 5.863 MB / 0.4981 GB " [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: 6.027707576751709] Failed to read output from testmodel.py, exit status != 0: 0.5805496033281088 0.595336659 0.21075648399999994 Calling exit ...