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.001251/0.001251, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001409/0.001409, allocations: 209.8 kB / 22.99 MB, free: 4.984 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1329/0.1329, allocations: 23.88 MB / 337.1 MB, free: 10.98 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.001987/0.001987, allocations: 67.91 kB / 472.4 MB, free: 7.023 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3091, allocations: 59.85 MB / 0.5198 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.007169/0.3162, allocations: 6.767 MB / 0.5264 GB, free: 5.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02641/0.3427, allocations: 20.58 MB / 0.5465 GB, free: 7.316 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001509/0.3442, allocations: 23.75 kB / 0.5465 GB, free: 7.305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001586/0.3458, allocations: 434 kB / 0.5469 GB, free: 7.086 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006394/0.3521, allocations: 1.927 MB / 0.5488 GB, free: 5.949 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008978/0.3611, allocations: 2.973 MB / 0.5517 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003291/0.3644, allocations: 2.127 MB / 0.5538 GB, free: 2.809 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001382/0.3658, allocations: 1.038 MB / 0.5548 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001369/0.3672, allocations: 1.094 MB / 0.5558 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001773/0.3689, allocations: 1.225 MB / 0.557 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003101/0.3692, allocations: 193.2 kB / 0.5572 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007259/0.3765, allocations: 2.454 MB / 0.5596 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005414/0.3771, allocations: 486.5 kB / 0.5601 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001205/0.3783, allocations: 0.8088 MB / 0.5609 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01135/0.3896, allocations: 4.835 MB / 0.5656 GB, free: 10.71 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.3896, allocations: 0 / 0.5656 GB, free: 10.71 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3896, allocations: 0 / 0.5656 GB, free: 10.71 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.548e-05/0.3896, allocations: 0 / 0.5656 GB, free: 10.71 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.005074/0.3947, allocations: 2.365 MB / 0.5679 GB, free: 8.301 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.3947, allocations: 12.03 kB / 0.5679 GB, free: 8.289 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001849/0.3966, allocations: 403.2 kB / 0.5683 GB, free: 7.895 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00164/0.3982, allocations: 0.8399 MB / 0.5691 GB, free: 7.027 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001937/0.3984, allocations: 222.2 kB / 0.5693 GB, free: 6.785 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002937/0.3987, allocations: 152.3 kB / 0.5695 GB, free: 6.637 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003491/0.4022, allocations: 2.06 MB / 0.5715 GB, free: 4.539 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.242e-05/0.4022, allocations: 3.938 kB / 0.5715 GB, free: 4.535 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001694/0.4024, allocations: 60 kB / 0.5715 GB, free: 4.477 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.058e-05/0.4024, allocations: 36 kB / 0.5716 GB, free: 4.441 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004364/0.4068, allocations: 2.705 MB / 0.5742 GB, free: 1.73 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.01125/0.4181, allocations: 5.404 MB / 0.5795 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005214/0.4233, allocations: 2.802 MB / 0.5822 GB, free: 9.445 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001309/0.4246, allocations: 0.8012 MB / 0.583 GB, free: 8.645 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009054/0.4336, allocations: 3.986 MB / 0.5869 GB, free: 4.637 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.611e-05/0.4337, allocations: 43.56 kB / 0.5869 GB, free: 4.582 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00101/0.4347, allocations: 195.1 kB / 0.5871 GB, free: 4.391 MB / 430.1 MB Notification: Performance of pre-optimization done (n=117): time 3.436e-06/0.4347, allocations: 0 / 0.5871 GB, free: 4.391 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.0218/0.4565, allocations: 5.178 MB / 0.5922 GB, free: 15.17 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.321e-05/0.4566, allocations: 68.66 kB / 0.5923 GB, free: 15.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.4579, allocations: 1.016 MB / 0.5932 GB, free: 14.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.982e-05/0.458, allocations: 49.7 kB / 0.5933 GB, free: 14.01 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005507/0.4585, allocations: 0.6993 MB / 0.594 GB, free: 13.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004636/0.459, allocations: 0.4997 MB / 0.5945 GB, free: 12.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005246/0.4595, allocations: 331.4 kB / 0.5948 GB, free: 12.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.4597, allocations: 357.9 kB / 0.5951 GB, free: 12.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/0.4608, allocations: 0.652 MB / 0.5958 GB, free: 11.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001628/0.4624, allocations: 1.119 MB / 0.5969 GB, free: 10.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002756/0.4652, allocations: 1.808 MB / 0.5986 GB, free: 8.145 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.209e-05/0.4652, allocations: 4 kB / 0.5986 GB, free: 8.141 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.007012/0.4722, allocations: 2.408 MB / 0.601 GB, free: 5.715 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.4722, allocations: 12 kB / 0.601 GB, free: 5.703 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.85e-05/0.4723, allocations: 19.94 kB / 0.601 GB, free: 5.684 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003078/0.4753, allocations: 490.1 kB / 0.6015 GB, free: 5.195 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/0.4769, allocations: 423.3 kB / 0.6019 GB, free: 4.781 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005988/0.4829, allocations: 3.603 MB / 0.6054 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/0.4842, allocations: 55.98 kB / 0.6054 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000191/0.4844, allocations: 91.95 kB / 0.6055 GB, free: 0.8359 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.0006261/0.485, allocations: 333.3 kB / 0.6059 GB, free: 0.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002764/0.4853, allocations: 127.1 kB / 0.606 GB, free: 384 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006841/0.4921, allocations: 2.117 MB / 0.608 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/0.4922, allocations: 16.14 kB / 0.6081 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.4922, allocations: 4 kB / 0.6081 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/0.4922, allocations: 15.95 kB / 0.6081 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008561/0.5008, allocations: 3.164 MB / 0.6112 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.5008, allocations: 0 / 0.6112 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001212/0.502, allocations: 271.6 kB / 0.6114 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002977/0.5049, allocations: 462 kB / 0.6119 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001339/0.5051, allocations: 47.97 kB / 0.6119 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005481/0.5106, allocations: 3.492 MB / 0.6153 GB, free: 6.52 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.5106, allocations: 0 / 0.6153 GB, free: 6.52 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007615/0.5182, allocations: 2.75 MB / 0.618 GB, free: 3.746 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003647/0.5185, allocations: 111.2 kB / 0.6181 GB, free: 3.637 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001845/0.5187, allocations: 31.98 kB / 0.6181 GB, free: 3.605 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007799/0.5195, allocations: 31.94 kB / 0.6182 GB, free: 3.574 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003179/0.5198, allocations: 129.1 kB / 0.6183 GB, free: 3.445 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/0.52, allocations: 55.97 kB / 0.6184 GB, free: 3.391 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008805/0.5208, allocations: 0.6708 MB / 0.619 GB, free: 2.719 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5208, allocations: 0 / 0.619 GB, free: 2.719 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00271/0.5235, allocations: 0.9506 MB / 0.6199 GB, free: 1.766 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.002049/0.5256, allocations: 1.125 MB / 0.621 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00382/0.5294, allocations: 1.836 MB / 0.6228 GB, free: 14.77 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.5294, allocations: 0 / 0.6228 GB, free: 14.77 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002012/0.5314, allocations: 0.9936 MB / 0.6238 GB, free: 13.75 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/0.5327, allocations: 248.6 kB / 0.624 GB, free: 13.51 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005204/0.5379, allocations: 2.672 MB / 0.6266 GB, free: 10.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007001/0.5386, allocations: 0.6058 MB / 0.6272 GB, free: 10.16 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001214/0.5398, allocations: 328 kB / 0.6275 GB, free: 9.855 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004936/0.5403, allocations: 207.3 kB / 0.6277 GB, free: 9.652 MB / 478.1 MB Notification: Performance of SimCode: time 1.032e-06/0.5403, allocations: 0 / 0.6277 GB, free: 9.652 MB / 478.1 MB Notification: Performance of Templates: time 0.05563/0.596, allocations: 36.77 MB / 0.6637 GB, free: 5.133 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 -s cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.140901954000583] Failed to read output from testmodel.py, exit status != 0: 0.6044875880033942 0.6186604760000001 0.226000735 Calling exit ...