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.001682/0.001682, allocations: 108.7 kB / 16.45 MB, free: 6.453 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.002269/0.002269, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.538/1.538, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.1474/0.1474, allocations: 23.84 MB / 332.7 MB, free: 12.36 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.002145/0.002145, allocations: 67.91 kB / 466.5 MB, free: 9.598 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3785, allocations: 59.81 MB / 0.5139 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.00817/0.3867, allocations: 7.622 MB / 0.5214 GB, free: 3.875 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03257/0.4192, allocations: 23.45 MB / 0.5443 GB, free: 2.758 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00181/0.4211, allocations: 25.16 kB / 0.5443 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002141/0.4232, allocations: 485.8 kB / 0.5448 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008148/0.4313, allocations: 1.959 MB / 0.5467 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01136/0.4427, allocations: 2.937 MB / 0.5496 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004625/0.4473, allocations: 2.138 MB / 0.5517 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002414/0.4497, allocations: 1.059 MB / 0.5527 GB, free: 13.69 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002595/0.4523, allocations: 1.093 MB / 0.5538 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003002/0.4553, allocations: 1.234 MB / 0.555 GB, free: 12.44 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001167/0.4565, allocations: 192.5 kB / 0.5551 GB, free: 12.44 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01251/0.469, allocations: 2.548 MB / 0.5576 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001252/0.4703, allocations: 471.1 kB / 0.5581 GB, free: 11.13 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003478/0.4737, allocations: 0.9608 MB / 0.559 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01739/0.4911, allocations: 4.85 MB / 0.5638 GB, free: 7.438 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.4911, allocations: 4 kB / 0.5638 GB, free: 7.434 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.4911, allocations: 0 / 0.5638 GB, free: 7.434 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001089/0.4913, allocations: 0 / 0.5638 GB, free: 7.434 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.007804/0.4991, allocations: 2.444 MB / 0.5661 GB, free: 5.535 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.4991, allocations: 8.031 kB / 0.5662 GB, free: 5.527 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002275/0.5014, allocations: 403.2 kB / 0.5665 GB, free: 5.133 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002202/0.5036, allocations: 0.9093 MB / 0.5674 GB, free: 4.184 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001919/0.5038, allocations: 170.9 kB / 0.5676 GB, free: 4.004 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003588/0.5041, allocations: 152.3 kB / 0.5677 GB, free: 3.855 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003785/0.5079, allocations: 2.045 MB / 0.5697 GB, free: 1.773 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.129e-05/0.5079, allocations: 3.938 kB / 0.5697 GB, free: 1.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001776/0.5081, allocations: 56 kB / 0.5698 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-05/0.5082, allocations: 36 kB / 0.5698 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004948/0.5131, allocations: 2.721 MB / 0.5725 GB, free: 14.95 MB / 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.01331/0.5264, allocations: 6.557 MB / 0.5789 GB, free: 8.168 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006045/0.5325, allocations: 3.23 MB / 0.582 GB, free: 4.84 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001528/0.534, allocations: 0.805 MB / 0.5828 GB, free: 4.039 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01192/0.5459, allocations: 7.267 MB / 0.5899 GB, free: 11.99 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.5459, allocations: 43.56 kB / 0.59 GB, free: 11.94 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001047/0.547, allocations: 207 kB / 0.5902 GB, free: 11.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=117): time 4.768e-06/0.547, allocations: 4 kB / 0.5902 GB, free: 11.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=140): time 0.02215/0.5691, allocations: 5.415 MB / 0.5954 GB, free: 6.215 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.364e-05/0.5692, allocations: 64.72 kB / 0.5955 GB, free: 6.137 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001533/0.5708, allocations: 1.034 MB / 0.5965 GB, free: 5.078 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001708/0.5709, allocations: 49.7 kB / 0.5966 GB, free: 5.023 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006111/0.5715, allocations: 0.6955 MB / 0.5972 GB, free: 4.316 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005386/0.5721, allocations: 0.5074 MB / 0.5977 GB, free: 3.805 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00056/0.5726, allocations: 331.4 kB / 0.5981 GB, free: 3.473 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.5728, allocations: 301.1 kB / 0.5983 GB, free: 3.176 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/0.5741, allocations: 0.6481 MB / 0.599 GB, free: 2.527 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/0.5758, allocations: 1.114 MB / 0.6001 GB, free: 1.223 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003166/0.5789, allocations: 1.8 MB / 0.6018 GB, free: 15.23 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.268e-06/0.5789, allocations: 4 kB / 0.6018 GB, free: 15.23 MB / 462.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.007409/0.5864, allocations: 2.408 MB / 0.6042 GB, free: 12.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.539e-05/0.5864, allocations: 11.94 kB / 0.6042 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.684e-05/0.5864, allocations: 16 kB / 0.6042 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002889/0.5893, allocations: 0.4902 MB / 0.6047 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001799/0.5911, allocations: 415.4 kB / 0.6051 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00645/0.5976, allocations: 3.867 MB / 0.6089 GB, free: 7.723 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/0.5993, allocations: 59.92 kB / 0.6089 GB, free: 7.664 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003367/0.5996, allocations: 95.95 kB / 0.609 GB, free: 7.57 MB / 462.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.0008553/0.6005, allocations: 329.4 kB / 0.6093 GB, free: 7.238 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003948/0.6009, allocations: 127.2 kB / 0.6094 GB, free: 7.113 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006965/0.6079, allocations: 2.125 MB / 0.6115 GB, free: 4.973 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.158e-05/0.6079, allocations: 27.92 kB / 0.6115 GB, free: 4.945 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.6079, allocations: 0 / 0.6115 GB, free: 4.945 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.736e-05/0.6079, allocations: 3.984 kB / 0.6115 GB, free: 4.941 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009289/0.6172, allocations: 3.543 MB / 0.615 GB, free: 1.324 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/0.6172, allocations: 0 / 0.615 GB, free: 1.324 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001373/0.6186, allocations: 275.6 kB / 0.6153 GB, free: 1.055 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002794/0.6214, allocations: 470.1 kB / 0.6157 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001835/0.6216, allocations: 47.97 kB / 0.6158 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005738/0.6273, allocations: 3.787 MB / 0.6195 GB, free: 12.48 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.6273, allocations: 0 / 0.6195 GB, free: 12.48 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008008/0.6353, allocations: 2.758 MB / 0.6222 GB, free: 9.688 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004721/0.6358, allocations: 180.4 kB / 0.6223 GB, free: 9.492 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003055/0.6361, allocations: 31.94 kB / 0.6224 GB, free: 9.461 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008369/0.6369, allocations: 31.98 kB / 0.6224 GB, free: 9.43 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003634/0.6373, allocations: 117.1 kB / 0.6225 GB, free: 9.316 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001686/0.6374, allocations: 67.95 kB / 0.6226 GB, free: 9.25 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001098/0.6385, allocations: 0.7029 MB / 0.6233 GB, free: 8.535 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6385, allocations: 4 kB / 0.6233 GB, free: 8.531 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003739/0.6423, allocations: 0.9583 MB / 0.6242 GB, free: 7.57 MB / 478.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.002802/0.6451, allocations: 1.12 MB / 0.6253 GB, free: 6.445 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004639/0.6497, allocations: 1.898 MB / 0.6271 GB, free: 4.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.6497, allocations: 0 / 0.6271 GB, free: 4.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002456/0.6522, allocations: 1.062 MB / 0.6282 GB, free: 3.395 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/0.6538, allocations: 265.8 kB / 0.6284 GB, free: 3.133 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005285/0.6591, allocations: 2.688 MB / 0.6311 GB, free: 432 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009373/0.66, allocations: 1.187 MB / 0.6322 GB, free: 15.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001352/0.6614, allocations: 325.2 kB / 0.6325 GB, free: 14.89 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005253/0.6619, allocations: 207.3 kB / 0.6327 GB, free: 14.7 MB / 494.1 MB Notification: Performance of SimCode: time 1.163e-06/0.6619, allocations: 0 / 0.6327 GB, free: 14.7 MB / 494.1 MB Notification: Performance of Templates: time 0.06059/0.7225, allocations: 34.65 MB / 0.6666 GB, free: 12.18 MB / 0.5137 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.6202444434165955] Failed to read output from testmodel.py, exit status != 0: 0.7325976863503456 0.747447573 0.25258440600000004 Calling exit ...