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.001627/0.001627, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001538/0.001538, allocations: 216.9 kB / 22.99 MB, free: 4.945 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.1407/0.1407, allocations: 23.89 MB / 337.1 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.002132/0.002132, allocations: 71.89 kB / 472.4 MB, free: 6.98 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3117, allocations: 59.86 MB / 0.5198 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.006713/0.3184, allocations: 6.764 MB / 0.5264 GB, free: 5.266 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02667/0.3451, allocations: 20.58 MB / 0.5465 GB, free: 7.262 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.3465, allocations: 28.91 kB / 0.5465 GB, free: 7.246 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001644/0.3481, allocations: 430.3 kB / 0.5469 GB, free: 7.031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006653/0.3548, allocations: 1.926 MB / 0.5488 GB, free: 5.895 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008984/0.3638, allocations: 2.969 MB / 0.5517 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003313/0.3671, allocations: 2.131 MB / 0.5538 GB, free: 2.738 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001427/0.3685, allocations: 1.019 MB / 0.5548 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001423/0.3699, allocations: 1.089 MB / 0.5558 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001777/0.3717, allocations: 1.112 MB / 0.5569 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000324/0.372, allocations: 193.2 kB / 0.5571 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007147/0.3792, allocations: 2.387 MB / 0.5594 GB, free: 84 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006443/0.3798, allocations: 479.2 kB / 0.5599 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001257/0.3811, allocations: 0.8125 MB / 0.5607 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01157/0.3927, allocations: 4.847 MB / 0.5654 GB, free: 10.89 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3927, allocations: 0 / 0.5654 GB, free: 10.89 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3927, allocations: 0 / 0.5654 GB, free: 10.89 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.857e-05/0.3927, allocations: 0 / 0.5654 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.004868/0.3976, allocations: 2.357 MB / 0.5677 GB, free: 8.484 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.3976, allocations: 12.03 kB / 0.5677 GB, free: 8.473 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001728/0.3993, allocations: 403.2 kB / 0.5681 GB, free: 8.078 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001672/0.401, allocations: 0.8438 MB / 0.5689 GB, free: 7.207 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002043/0.4012, allocations: 218.3 kB / 0.5691 GB, free: 6.969 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002845/0.4015, allocations: 152.3 kB / 0.5693 GB, free: 6.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003401/0.4049, allocations: 2.064 MB / 0.5713 GB, free: 4.719 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.079e-05/0.4049, allocations: 3.938 kB / 0.5713 GB, free: 4.715 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001553/0.4051, allocations: 60 kB / 0.5714 GB, free: 4.656 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.33e-05/0.4051, allocations: 36 kB / 0.5714 GB, free: 4.621 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004295/0.4094, allocations: 2.705 MB / 0.574 GB, free: 1.91 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.01068/0.4201, allocations: 5.408 MB / 0.5793 GB, free: 12.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005263/0.4254, allocations: 2.802 MB / 0.582 GB, free: 9.621 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001353/0.4267, allocations: 0.7973 MB / 0.5828 GB, free: 8.824 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008758/0.4355, allocations: 3.982 MB / 0.5867 GB, free: 4.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.853e-05/0.4355, allocations: 43.56 kB / 0.5868 GB, free: 4.766 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008785/0.4364, allocations: 195.1 kB / 0.5869 GB, free: 4.574 MB / 430.1 MB Notification: Performance of pre-optimization done (n=117): time 3.266e-06/0.4364, allocations: 0 / 0.5869 GB, free: 4.574 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.01995/0.4563, allocations: 5.178 MB / 0.592 GB, free: 15.35 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.092e-05/0.4564, allocations: 68.66 kB / 0.5921 GB, free: 15.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/0.4577, allocations: 1.012 MB / 0.5931 GB, free: 14.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001408/0.4579, allocations: 49.7 kB / 0.5931 GB, free: 14.19 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005666/0.4585, allocations: 0.6954 MB / 0.5938 GB, free: 13.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004928/0.4589, allocations: 0.4997 MB / 0.5943 GB, free: 12.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005139/0.4595, allocations: 347.3 kB / 0.5946 GB, free: 12.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.4597, allocations: 353.9 kB / 0.5949 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001183/0.4608, allocations: 0.652 MB / 0.5956 GB, free: 11.63 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001618/0.4625, allocations: 1.111 MB / 0.5967 GB, free: 10.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00287/0.4653, allocations: 1.812 MB / 0.5984 GB, free: 8.324 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/0.4653, allocations: 4 kB / 0.5984 GB, free: 8.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.006732/0.4721, allocations: 2.412 MB / 0.6008 GB, free: 5.891 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.317e-05/0.4721, allocations: 12 kB / 0.6008 GB, free: 5.879 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.544e-05/0.4721, allocations: 19.94 kB / 0.6008 GB, free: 5.859 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002738/0.4749, allocations: 486.1 kB / 0.6013 GB, free: 5.375 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001593/0.4765, allocations: 415.3 kB / 0.6017 GB, free: 4.969 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005692/0.4821, allocations: 3.599 MB / 0.6052 GB, free: 1.172 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/0.4834, allocations: 59.92 kB / 0.6052 GB, free: 1.113 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001944/0.4836, allocations: 95.95 kB / 0.6053 GB, free: 1.02 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.0006522/0.4843, allocations: 337.3 kB / 0.6057 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002923/0.4845, allocations: 131.1 kB / 0.6058 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006413/0.491, allocations: 2.121 MB / 0.6079 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/0.491, allocations: 16 kB / 0.6079 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.491, allocations: 0 / 0.6079 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.138e-05/0.491, allocations: 7.969 kB / 0.6079 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008404/0.4994, allocations: 3.16 MB / 0.611 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.4994, allocations: 4 kB / 0.611 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001188/0.5006, allocations: 267.7 kB / 0.6112 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002651/0.5033, allocations: 474 kB / 0.6117 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001388/0.5034, allocations: 47.97 kB / 0.6117 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005359/0.5087, allocations: 3.492 MB / 0.6151 GB, free: 6.695 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5088, allocations: 0 / 0.6151 GB, free: 6.695 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007302/0.5161, allocations: 2.746 MB / 0.6178 GB, free: 3.926 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003313/0.5164, allocations: 111.2 kB / 0.6179 GB, free: 3.816 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001778/0.5166, allocations: 32 kB / 0.618 GB, free: 3.785 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007093/0.5173, allocations: 28 kB / 0.618 GB, free: 3.758 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003215/0.5176, allocations: 133 kB / 0.6181 GB, free: 3.625 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/0.5177, allocations: 55.97 kB / 0.6182 GB, free: 3.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009104/0.5186, allocations: 0.6708 MB / 0.6188 GB, free: 2.898 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5186, allocations: 0 / 0.6188 GB, free: 2.898 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002776/0.5214, allocations: 0.9506 MB / 0.6197 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.002191/0.5236, allocations: 1.121 MB / 0.6208 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003916/0.5275, allocations: 1.848 MB / 0.6226 GB, free: 14.94 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.5275, allocations: 0 / 0.6226 GB, free: 14.94 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002024/0.5295, allocations: 0.9858 MB / 0.6236 GB, free: 13.92 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.5309, allocations: 247.6 kB / 0.6238 GB, free: 13.69 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00521/0.5361, allocations: 2.72 MB / 0.6265 GB, free: 10.93 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006687/0.5367, allocations: 0.5981 MB / 0.6271 GB, free: 10.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007673/0.5375, allocations: 271.2 kB / 0.6273 GB, free: 10.04 MB / 478.1 MB Notification: Performance of SimCode: time 1.162e-06/0.5375, allocations: 0 / 0.6273 GB, free: 10.04 MB / 478.1 MB Notification: Performance of Templates: time 0.05928/0.5968, allocations: 44.03 MB / 0.6703 GB, free: 14.11 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: 10.463743896223605] Failed to read output from testmodel.py, exit status != 0: 0.6054856777191162 0.619774495 0.223948046 Calling exit ...