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.001821/0.001821, allocations: 105.1 kB / 18.99 MB, free: 2.605 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.00228/0.00228, allocations: 218.7 kB / 22.3 MB, free: 5.301 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.494/1.494, allocations: 230.6 MB / 256.1 MB, free: 7.801 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.1402/0.1402, allocations: 23.89 MB / 336.4 MB, free: 10.95 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.00214/0.00214, allocations: 63.89 kB / 471.7 MB, free: 6.965 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3541, allocations: 59.86 MB / 0.5191 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.007544/0.3617, allocations: 6.76 MB / 0.5257 GB, free: 5.262 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0288/0.3905, allocations: 20.58 MB / 0.5458 GB, free: 7.254 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001557/0.392, allocations: 24.22 kB / 0.5459 GB, free: 7.242 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00168/0.3937, allocations: 441.3 kB / 0.5463 GB, free: 7.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007234/0.401, allocations: 1.925 MB / 0.5482 GB, free: 5.883 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01006/0.411, allocations: 2.973 MB / 0.5511 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004362/0.4154, allocations: 2.127 MB / 0.5531 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002039/0.4174, allocations: 1.02 MB / 0.5541 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001961/0.4194, allocations: 1.09 MB / 0.5552 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002209/0.4216, allocations: 1.12 MB / 0.5563 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006579/0.4222, allocations: 192.4 kB / 0.5565 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009169/0.4314, allocations: 2.388 MB / 0.5588 GB, free: 52 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001037/0.4324, allocations: 479.5 kB / 0.5593 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003164/0.4356, allocations: 0.8082 MB / 0.56 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01401/0.4496, allocations: 4.842 MB / 0.5648 GB, free: 10.89 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4496, allocations: 0 / 0.5648 GB, free: 10.89 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4496, allocations: 0 / 0.5648 GB, free: 10.89 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.755e-05/0.4497, allocations: 0 / 0.5648 GB, free: 10.89 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.005294/0.455, allocations: 2.357 MB / 0.5671 GB, free: 8.492 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.455, allocations: 8.031 kB / 0.5671 GB, free: 8.484 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001838/0.4569, allocations: 407.2 kB / 0.5675 GB, free: 8.086 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/0.4585, allocations: 0.8477 MB / 0.5683 GB, free: 7.211 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002087/0.4587, allocations: 214.3 kB / 0.5685 GB, free: 6.977 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00029/0.459, allocations: 148.3 kB / 0.5686 GB, free: 6.832 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00343/0.4624, allocations: 2.064 MB / 0.5707 GB, free: 4.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.226e-05/0.4624, allocations: 0 / 0.5707 GB, free: 4.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001584/0.4626, allocations: 64 kB / 0.5707 GB, free: 4.668 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.171e-05/0.4626, allocations: 36 kB / 0.5708 GB, free: 4.633 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00437/0.467, allocations: 2.709 MB / 0.5734 GB, free: 1.918 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.01114/0.4781, allocations: 5.406 MB / 0.5787 GB, free: 12.44 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00548/0.4836, allocations: 2.799 MB / 0.5814 GB, free: 9.637 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00145/0.4851, allocations: 0.8051 MB / 0.5822 GB, free: 8.828 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009156/0.4942, allocations: 3.98 MB / 0.5861 GB, free: 4.824 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.099e-05/0.4943, allocations: 39.56 kB / 0.5861 GB, free: 4.773 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000954/0.4952, allocations: 195.1 kB / 0.5863 GB, free: 4.582 MB / 430.1 MB Notification: Performance of pre-optimization done (n=117): time 3.356e-06/0.4952, allocations: 0 / 0.5863 GB, free: 4.582 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.02122/0.5164, allocations: 5.182 MB / 0.5914 GB, free: 15.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.447e-05/0.5165, allocations: 80.53 kB / 0.5914 GB, free: 15.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001336/0.5178, allocations: 1.009 MB / 0.5924 GB, free: 14.24 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001129/0.5179, allocations: 49.7 kB / 0.5925 GB, free: 14.19 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000542/0.5185, allocations: 0.6954 MB / 0.5932 GB, free: 13.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004563/0.5189, allocations: 0.4997 MB / 0.5936 GB, free: 12.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000505/0.5194, allocations: 335.4 kB / 0.594 GB, free: 12.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.5196, allocations: 361.9 kB / 0.5943 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/0.5208, allocations: 0.652 MB / 0.595 GB, free: 11.63 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001616/0.5224, allocations: 1.111 MB / 0.596 GB, free: 10.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002826/0.5252, allocations: 1.812 MB / 0.5978 GB, free: 8.328 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/0.5253, allocations: 8 kB / 0.5978 GB, free: 8.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.006889/0.5321, allocations: 2.412 MB / 0.6002 GB, free: 5.891 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.5322, allocations: 8 kB / 0.6002 GB, free: 5.883 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.801e-05/0.5322, allocations: 20.06 kB / 0.6002 GB, free: 5.863 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002876/0.5351, allocations: 490 kB / 0.6007 GB, free: 5.375 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/0.5366, allocations: 415.3 kB / 0.6011 GB, free: 4.969 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005861/0.5425, allocations: 3.595 MB / 0.6046 GB, free: 1.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/0.5437, allocations: 55.98 kB / 0.6046 GB, free: 1.125 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001976/0.5439, allocations: 95.89 kB / 0.6047 GB, free: 1.031 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.0006615/0.5445, allocations: 334.8 kB / 0.605 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002883/0.5448, allocations: 123.2 kB / 0.6052 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006623/0.5514, allocations: 2.128 MB / 0.6072 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/0.5515, allocations: 16 kB / 0.6072 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.5515, allocations: 0 / 0.6072 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.669e-05/0.5515, allocations: 7.969 kB / 0.6073 GB, free: 14.4 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008121/0.5596, allocations: 3.165 MB / 0.6103 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.5596, allocations: 0 / 0.6103 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/0.5608, allocations: 275.7 kB / 0.6106 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002758/0.5635, allocations: 466 kB / 0.611 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001306/0.5637, allocations: 51.97 kB / 0.6111 GB, free: 10.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005335/0.569, allocations: 3.488 MB / 0.6145 GB, free: 6.707 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.569, allocations: 4.031 kB / 0.6145 GB, free: 6.703 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007243/0.5762, allocations: 2.746 MB / 0.6172 GB, free: 3.934 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003449/0.5766, allocations: 107.2 kB / 0.6173 GB, free: 3.828 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001725/0.5768, allocations: 31.94 kB / 0.6173 GB, free: 3.797 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000751/0.5775, allocations: 28 kB / 0.6174 GB, free: 3.77 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003174/0.5778, allocations: 133 kB / 0.6175 GB, free: 3.637 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00012/0.5779, allocations: 63.91 kB / 0.6175 GB, free: 3.574 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008672/0.5788, allocations: 0.6708 MB / 0.6182 GB, free: 2.902 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5788, allocations: 0 / 0.6182 GB, free: 2.902 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0028/0.5816, allocations: 0.9545 MB / 0.6191 GB, free: 1.945 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.002117/0.5837, allocations: 1.113 MB / 0.6202 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003725/0.5875, allocations: 1.839 MB / 0.622 GB, free: 14.96 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.5875, allocations: 0 / 0.622 GB, free: 14.96 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00199/0.5894, allocations: 0.9895 MB / 0.623 GB, free: 13.94 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/0.5907, allocations: 255.8 kB / 0.6232 GB, free: 13.7 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005129/0.5959, allocations: 2.68 MB / 0.6258 GB, free: 10.98 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006638/0.5965, allocations: 0.5981 MB / 0.6264 GB, free: 10.35 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001162/0.5977, allocations: 328.2 kB / 0.6267 GB, free: 10.04 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004969/0.5982, allocations: 204.3 kB / 0.6269 GB, free: 9.836 MB / 478.1 MB Notification: Performance of SimCode: time 1.123e-06/0.5982, allocations: 0 / 0.6269 GB, free: 9.836 MB / 478.1 MB Notification: Performance of Templates: time 0.05732/0.6555, allocations: 34.32 MB / 0.6604 GB, free: 7.773 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.637378258630633] Failed to read output from testmodel.py, exit status != 0: 0.6655556224286556 0.681363314 0.228281895 Calling exit ...