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.0007455/0.0007455, allocations: 80.45 kB / 19.9 MB, free: 12 kB / 13.93 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.0008142/0.0008142, allocations: 165.9 kB / 23.18 MB, free: 1.383 MB / 18.57 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.014/1.014, allocations: 177.2 MB / 203.6 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] 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.09602/0.09602, allocations: 17.38 MB / 277.4 MB, free: 11.86 MB / 266.7 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.0009745/0.0009745, allocations: 59.91 kB / 412.8 MB, free: 15.88 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3382, allocations: 59.84 MB / 472.7 MB, free: 29.77 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.00581/0.344, allocations: 6.735 MB / 479.4 MB, free: 25.31 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01724/0.3612, allocations: 20.59 MB / 500 MB, free: 11.3 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001405/0.3626, allocations: 27.88 kB / 0.4883 GB, free: 11.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.3639, allocations: 435 kB / 0.4887 GB, free: 11.06 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005711/0.3696, allocations: 1.931 MB / 0.4906 GB, free: 9.918 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008309/0.3779, allocations: 2.971 MB / 0.4935 GB, free: 8.184 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004029/0.382, allocations: 2.131 MB / 0.4956 GB, free: 7.148 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001865/0.3838, allocations: 1.023 MB / 0.4966 GB, free: 6.652 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002309/0.3862, allocations: 1.539 MB / 0.4981 GB, free: 6.055 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002276/0.3884, allocations: 1.116 MB / 0.4992 GB, free: 5.684 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006761/0.3891, allocations: 193.1 kB / 0.4994 GB, free: 5.684 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009267/0.3984, allocations: 2.407 MB / 0.5017 GB, free: 5.141 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00139/0.3998, allocations: 480.9 kB / 0.5022 GB, free: 4.852 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002065/0.4018, allocations: 0.8071 MB / 0.503 GB, free: 4.441 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01356/0.4154, allocations: 4.865 MB / 0.5077 GB, free: 1.957 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.4154, allocations: 0 / 0.5077 GB, free: 1.957 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.4154, allocations: 1.219 kB / 0.5077 GB, free: 1.957 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001127/0.4155, allocations: 0 / 0.5077 GB, free: 1.957 MB / 410.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.0059/0.4214, allocations: 2.367 MB / 0.51 GB, free: 352 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.4215, allocations: 8.281 kB / 0.51 GB, free: 352 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001572/0.423, allocations: 399.4 kB / 0.5104 GB, free: 168 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001722/0.4248, allocations: 0.8408 MB / 0.5112 GB, free: 15.53 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002054/0.425, allocations: 217.6 kB / 0.5114 GB, free: 15.35 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002631/0.4252, allocations: 147.4 kB / 0.5116 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002914/0.4281, allocations: 2.066 MB / 0.5136 GB, free: 13.81 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.4282, allocations: 0 / 0.5136 GB, free: 13.81 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/0.4283, allocations: 56 kB / 0.5136 GB, free: 13.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.754e-05/0.4283, allocations: 36 kB / 0.5137 GB, free: 13.72 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003009/0.4313, allocations: 2.709 MB / 0.5163 GB, free: 11 MB / 426.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.008682/0.44, allocations: 5.416 MB / 0.5216 GB, free: 5.516 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00391/0.4439, allocations: 2.795 MB / 0.5243 GB, free: 2.715 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/0.4449, allocations: 0.8012 MB / 0.5251 GB, free: 1.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006597/0.4515, allocations: 3.98 MB / 0.529 GB, free: 13.91 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.4516, allocations: 43.56 kB / 0.5291 GB, free: 13.85 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007439/0.4523, allocations: 195.1 kB / 0.5292 GB, free: 13.66 MB / 442.7 MB Notification: Performance of pre-optimization done (n=117): time 7.243e-06/0.4523, allocations: 4 kB / 0.5292 GB, free: 13.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=140): time 0.01261/0.4649, allocations: 5.182 MB / 0.5343 GB, free: 8.43 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.465, allocations: 68.72 kB / 0.5344 GB, free: 8.352 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.4662, allocations: 1.009 MB / 0.5354 GB, free: 7.328 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001487/0.4663, allocations: 49.7 kB / 0.5354 GB, free: 7.273 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004032/0.4667, allocations: 0.6954 MB / 0.5361 GB, free: 6.566 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004075/0.4671, allocations: 0.5035 MB / 0.5366 GB, free: 6.059 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003688/0.4675, allocations: 335.4 kB / 0.5369 GB, free: 5.727 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.4676, allocations: 357.9 kB / 0.5372 GB, free: 5.371 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009246/0.4686, allocations: 0.6559 MB / 0.5379 GB, free: 4.715 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001435/0.47, allocations: 1.119 MB / 0.539 GB, free: 3.406 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001928/0.4719, allocations: 1.804 MB / 0.5407 GB, free: 1.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.324e-05/0.4719, allocations: 4 kB / 0.5407 GB, free: 1.406 MB / 442.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004238/0.4762, allocations: 2.424 MB / 0.5431 GB, free: 14.96 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.577e-05/0.4762, allocations: 8 kB / 0.5431 GB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.962e-05/0.4762, allocations: 19.94 kB / 0.5431 GB, free: 14.94 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001546/0.4778, allocations: 486.1 kB / 0.5436 GB, free: 14.45 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009004/0.4787, allocations: 419.4 kB / 0.544 GB, free: 14.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004476/0.4832, allocations: 3.592 MB / 0.5475 GB, free: 10.26 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.4843, allocations: 59.92 kB / 0.5476 GB, free: 10.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001593/0.4845, allocations: 104 kB / 0.5477 GB, free: 10.1 MB / 458.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.0006874/0.4851, allocations: 329.3 kB / 0.548 GB, free: 9.766 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002733/0.4854, allocations: 127.1 kB / 0.5481 GB, free: 9.641 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003689/0.4891, allocations: 2.111 MB / 0.5502 GB, free: 7.512 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.4891, allocations: 19.94 kB / 0.5502 GB, free: 7.492 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.4891, allocations: 4 kB / 0.5502 GB, free: 7.488 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.4891, allocations: 11.97 kB / 0.5502 GB, free: 7.477 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005715/0.4949, allocations: 3.165 MB / 0.5533 GB, free: 4.258 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.4949, allocations: 3.938 kB / 0.5533 GB, free: 4.254 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006462/0.4955, allocations: 275.6 kB / 0.5535 GB, free: 3.984 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001385/0.4969, allocations: 466 kB / 0.554 GB, free: 3.52 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001237/0.497, allocations: 47.97 kB / 0.554 GB, free: 3.473 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003441/0.5005, allocations: 3.492 MB / 0.5574 GB, free: 15.78 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.5005, allocations: 64 / 0.5574 GB, free: 15.78 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004942/0.5054, allocations: 2.746 MB / 0.5601 GB, free: 13.01 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004205/0.5058, allocations: 107.2 kB / 0.5602 GB, free: 12.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.5059, allocations: 28 kB / 0.5603 GB, free: 12.88 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004333/0.5064, allocations: 24 kB / 0.5603 GB, free: 12.85 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002639/0.5066, allocations: 133 kB / 0.5604 GB, free: 12.72 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.962e-05/0.5067, allocations: 55.97 kB / 0.5605 GB, free: 12.66 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006694/0.5074, allocations: 0.6747 MB / 0.5611 GB, free: 11.99 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5074, allocations: 0 / 0.5611 GB, free: 11.99 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002952/0.5104, allocations: 0.9545 MB / 0.562 GB, free: 11.03 MB / 474.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.002579/0.5129, allocations: 1.133 MB / 0.5632 GB, free: 9.895 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003175/0.5161, allocations: 1.828 MB / 0.5649 GB, free: 8.039 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.5161, allocations: 128 / 0.5649 GB, free: 8.039 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001494/0.5176, allocations: 0.9895 MB / 0.5659 GB, free: 7.02 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001707/0.5193, allocations: 256.1 kB / 0.5662 GB, free: 6.777 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004302/0.5236, allocations: 2.672 MB / 0.5688 GB, free: 4.07 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004984/0.5241, allocations: 0.602 MB / 0.5693 GB, free: 3.434 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0009353/0.5251, allocations: 324.5 kB / 0.5697 GB, free: 3.129 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003538/0.5254, allocations: 216.3 kB / 0.5699 GB, free: 2.918 MB / 474.7 MB Notification: Performance of SimCode: time 1.993e-06/0.5254, allocations: 0 / 0.5699 GB, free: 2.918 MB / 474.7 MB Notification: Performance of Templates: time 0.0385/0.5639, allocations: 34.33 MB / 0.6034 GB, free: 0.8203 MB / 0.4948 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: 4.434684993000701] Failed to read output from testmodel.py, exit status != 0: 0.5735356980003417 0.5874576530000001 0.16870726400000002 Calling exit ...