Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001871/0.001871, allocations: 99.75 kB / 18.95 MB, free: 2.672 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.002419/0.002419, allocations: 214.7 kB / 22.25 MB, free: 5.254 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.5/1.5, allocations: 230.6 MB / 256 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1429/0.1429, allocations: 23.94 MB / 336.4 MB, free: 10.97 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater") translateModel(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.002094/0.002094, allocations: 71.89 kB / 471.7 MB, free: 7 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3367, allocations: 59.87 MB / 0.5191 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.007894/0.3446, allocations: 6.75 MB / 0.5257 GB, free: 5.316 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0281/0.3727, allocations: 20.58 MB / 0.5458 GB, free: 7.309 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001905/0.3746, allocations: 27.06 kB / 0.5458 GB, free: 7.293 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001558/0.3762, allocations: 434.9 kB / 0.5462 GB, free: 7.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006703/0.3829, allocations: 1.928 MB / 0.5481 GB, free: 5.938 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009227/0.3921, allocations: 2.977 MB / 0.551 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003627/0.3958, allocations: 2.127 MB / 0.5531 GB, free: 2.777 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001523/0.3973, allocations: 1.035 MB / 0.5541 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001598/0.3989, allocations: 1.086 MB / 0.5552 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002172/0.401, allocations: 1.237 MB / 0.5564 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003551/0.4014, allocations: 193.1 kB / 0.5566 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007993/0.4094, allocations: 2.45 MB / 0.559 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008404/0.4102, allocations: 487.2 kB / 0.5594 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001621/0.4119, allocations: 0.8084 MB / 0.5602 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0124/0.4243, allocations: 4.834 MB / 0.5649 GB, free: 10.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.4243, allocations: 0 / 0.5649 GB, free: 10.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4243, allocations: 0 / 0.5649 GB, free: 10.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.143e-05/0.4243, allocations: 0 / 0.5649 GB, free: 10.68 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.005757/0.4301, allocations: 2.365 MB / 0.5672 GB, free: 8.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.4301, allocations: 12.03 kB / 0.5672 GB, free: 8.258 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002025/0.4321, allocations: 407 kB / 0.5676 GB, free: 7.859 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00185/0.434, allocations: 0.8438 MB / 0.5685 GB, free: 6.988 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002356/0.4342, allocations: 218.2 kB / 0.5687 GB, free: 6.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003357/0.4345, allocations: 152.3 kB / 0.5688 GB, free: 6.602 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004051/0.4386, allocations: 2.06 MB / 0.5708 GB, free: 4.504 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.506e-05/0.4386, allocations: 3.938 kB / 0.5708 GB, free: 4.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001843/0.4388, allocations: 64 kB / 0.5709 GB, free: 4.438 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.099e-05/0.4389, allocations: 36 kB / 0.5709 GB, free: 4.402 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004725/0.4436, allocations: 2.713 MB / 0.5736 GB, free: 1.684 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.0121/0.4557, allocations: 5.392 MB / 0.5788 GB, free: 12.22 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005682/0.4614, allocations: 2.794 MB / 0.5816 GB, free: 9.414 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001469/0.4628, allocations: 0.8051 MB / 0.5824 GB, free: 8.609 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009937/0.4728, allocations: 3.982 MB / 0.5862 GB, free: 4.605 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/0.4728, allocations: 43.56 kB / 0.5863 GB, free: 4.551 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001036/0.4738, allocations: 195.1 kB / 0.5865 GB, free: 4.359 MB / 430.1 MB Notification: Performance of pre-optimization done (n=117): time 3.607e-06/0.4738, allocations: 3.938 kB / 0.5865 GB, free: 4.355 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.02388/0.4977, allocations: 5.178 MB / 0.5915 GB, free: 15.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.4978, allocations: 68.66 kB / 0.5916 GB, free: 15.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001391/0.4992, allocations: 1.009 MB / 0.5926 GB, free: 14.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001767/0.4993, allocations: 45.7 kB / 0.5926 GB, free: 13.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005446/0.4999, allocations: 0.7031 MB / 0.5933 GB, free: 13.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005127/0.5004, allocations: 0.4997 MB / 0.5938 GB, free: 12.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005566/0.501, allocations: 331.4 kB / 0.5941 GB, free: 12.44 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.5011, allocations: 357.9 kB / 0.5945 GB, free: 12.08 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/0.5024, allocations: 0.652 MB / 0.5951 GB, free: 11.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001702/0.5041, allocations: 1.115 MB / 0.5962 GB, free: 10.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003026/0.5071, allocations: 1.812 MB / 0.598 GB, free: 8.117 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/0.5071, allocations: 8 kB / 0.598 GB, free: 8.109 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.007675/0.5148, allocations: 2.4 MB / 0.6003 GB, free: 5.691 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.363e-05/0.5149, allocations: 12 kB / 0.6003 GB, free: 5.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.031e-05/0.5149, allocations: 23.88 kB / 0.6003 GB, free: 5.656 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003333/0.5182, allocations: 498.1 kB / 0.6008 GB, free: 5.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001867/0.5201, allocations: 415.4 kB / 0.6012 GB, free: 4.754 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006516/0.5266, allocations: 3.606 MB / 0.6047 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/0.5282, allocations: 55.98 kB / 0.6048 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004184/0.5287, allocations: 87.97 kB / 0.6049 GB, free: 0.8086 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.000977/0.5296, allocations: 337.2 kB / 0.6052 GB, free: 480 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004835/0.5301, allocations: 123.2 kB / 0.6053 GB, free: 356 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007812/0.5379, allocations: 2.117 MB / 0.6074 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.048e-05/0.538, allocations: 16 kB / 0.6074 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.538, allocations: 144 / 0.6074 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-05/0.538, allocations: 11.95 kB / 0.6074 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009964/0.548, allocations: 3.172 MB / 0.6105 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.548, allocations: 0 / 0.6105 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001357/0.5493, allocations: 279.6 kB / 0.6108 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003239/0.5526, allocations: 466 kB / 0.6112 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002073/0.5528, allocations: 47.97 kB / 0.6113 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005982/0.5588, allocations: 3.492 MB / 0.6147 GB, free: 6.48 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.5588, allocations: 4.031 kB / 0.6147 GB, free: 6.477 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008758/0.5675, allocations: 2.746 MB / 0.6174 GB, free: 3.707 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003904/0.5679, allocations: 107.2 kB / 0.6175 GB, free: 3.602 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003189/0.5682, allocations: 28 kB / 0.6175 GB, free: 3.574 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.5693, allocations: 31.98 kB / 0.6175 GB, free: 3.543 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003718/0.5696, allocations: 125.1 kB / 0.6176 GB, free: 3.418 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001734/0.5698, allocations: 63.95 kB / 0.6177 GB, free: 3.355 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001053/0.5709, allocations: 0.6708 MB / 0.6183 GB, free: 2.684 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5709, allocations: 0 / 0.6183 GB, free: 2.684 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003204/0.5741, allocations: 0.9545 MB / 0.6193 GB, free: 1.727 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.003081/0.5771, allocations: 1.125 MB / 0.6204 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004637/0.5818, allocations: 1.831 MB / 0.6222 GB, free: 14.73 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.5818, allocations: 0 / 0.6222 GB, free: 14.73 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002333/0.5841, allocations: 0.9856 MB / 0.6231 GB, free: 13.72 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001703/0.5858, allocations: 260.2 kB / 0.6234 GB, free: 13.47 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006463/0.5923, allocations: 2.675 MB / 0.626 GB, free: 10.77 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009142/0.5932, allocations: 0.602 MB / 0.6266 GB, free: 10.13 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001485/0.5947, allocations: 328.3 kB / 0.6269 GB, free: 9.82 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005933/0.5953, allocations: 203.3 kB / 0.6271 GB, free: 9.621 MB / 478.1 MB Notification: Performance of SimCode: time 9.32e-07/0.5953, allocations: 0 / 0.6271 GB, free: 9.621 MB / 478.1 MB Notification: Performance of Templates: time 0.06377/0.659, allocations: 36.77 MB / 0.663 GB, free: 5.094 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.sim & ./Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.529327415861189] Failed to read output from testmodel.py, exit status != 0: 0.669102415908128 0.686572134 0.25871664 Calling exit ...