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.001289/0.001289, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001443/0.001443, allocations: 211.8 kB / 22.99 MB, free: 4.984 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.384/1.384, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.1304/0.1304, allocations: 23.93 MB / 337.1 MB, free: 10.94 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.001992/0.001992, allocations: 63.89 kB / 472.4 MB, free: 6.977 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2925, allocations: 59.88 MB / 0.5198 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.006542/0.2991, allocations: 6.754 MB / 0.5264 GB, free: 5.324 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02411/0.3232, allocations: 20.58 MB / 0.5465 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.3243, allocations: 27.84 kB / 0.5466 GB, free: 7.305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001394/0.3257, allocations: 434.2 kB / 0.547 GB, free: 7.086 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005527/0.3312, allocations: 1.928 MB / 0.5488 GB, free: 5.949 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008136/0.3394, allocations: 2.972 MB / 0.5518 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002995/0.3423, allocations: 2.135 MB / 0.5538 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001303/0.3437, allocations: 1.023 MB / 0.5548 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001266/0.3449, allocations: 1.097 MB / 0.5559 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001618/0.3465, allocations: 1.234 MB / 0.5571 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002901/0.3468, allocations: 193.4 kB / 0.5573 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006763/0.3536, allocations: 2.453 MB / 0.5597 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004972/0.3541, allocations: 487.2 kB / 0.5602 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009904/0.3551, allocations: 0.8053 MB / 0.5609 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009601/0.3647, allocations: 4.83 MB / 0.5657 GB, free: 10.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3647, allocations: 0 / 0.5657 GB, free: 10.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3647, allocations: 0 / 0.5657 GB, free: 10.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.199e-05/0.3647, allocations: 0 / 0.5657 GB, free: 10.66 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.004758/0.3695, allocations: 2.373 MB / 0.568 GB, free: 8.242 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.3695, allocations: 12.03 kB / 0.568 GB, free: 8.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001816/0.3713, allocations: 403 kB / 0.5684 GB, free: 7.836 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001626/0.3729, allocations: 0.8399 MB / 0.5692 GB, free: 6.969 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001959/0.3731, allocations: 226.2 kB / 0.5694 GB, free: 6.723 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002885/0.3734, allocations: 156.3 kB / 0.5696 GB, free: 6.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003448/0.3769, allocations: 2.06 MB / 0.5716 GB, free: 4.473 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.09e-05/0.3769, allocations: 0 / 0.5716 GB, free: 4.473 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001661/0.3771, allocations: 56 kB / 0.5716 GB, free: 4.418 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.071e-05/0.3771, allocations: 40 kB / 0.5717 GB, free: 4.379 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004295/0.3814, allocations: 2.709 MB / 0.5743 GB, free: 1.664 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.01079/0.3922, allocations: 5.392 MB / 0.5796 GB, free: 12.2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005175/0.3974, allocations: 2.802 MB / 0.5823 GB, free: 9.387 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001298/0.3987, allocations: 0.8012 MB / 0.5831 GB, free: 8.586 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008636/0.4073, allocations: 3.982 MB / 0.587 GB, free: 4.582 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.788e-05/0.4073, allocations: 47.55 kB / 0.587 GB, free: 4.523 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009373/0.4083, allocations: 187.1 kB / 0.5872 GB, free: 4.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=117): time 3.467e-06/0.4083, allocations: 3.938 kB / 0.5872 GB, free: 4.336 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.022/0.4303, allocations: 5.174 MB / 0.5923 GB, free: 15.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.4303, allocations: 68.66 kB / 0.5923 GB, free: 15.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/0.4315, allocations: 1.016 MB / 0.5933 GB, free: 14.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000109/0.4317, allocations: 45.7 kB / 0.5934 GB, free: 13.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004982/0.4322, allocations: 0.7032 MB / 0.594 GB, free: 13.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000432/0.4326, allocations: 0.4997 MB / 0.5945 GB, free: 12.74 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005125/0.4331, allocations: 335.4 kB / 0.5949 GB, free: 12.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.4333, allocations: 353.9 kB / 0.5952 GB, free: 12.06 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/0.4344, allocations: 0.6559 MB / 0.5958 GB, free: 11.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001509/0.4359, allocations: 1.119 MB / 0.5969 GB, free: 10.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002693/0.4386, allocations: 1.808 MB / 0.5987 GB, free: 8.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.4386, allocations: 4 kB / 0.5987 GB, free: 8.086 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.006883/0.4455, allocations: 2.412 MB / 0.6011 GB, free: 5.656 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.4455, allocations: 12 kB / 0.6011 GB, free: 5.645 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.5e-05/0.4455, allocations: 19.94 kB / 0.6011 GB, free: 5.625 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003126/0.4487, allocations: 490.1 kB / 0.6015 GB, free: 5.137 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/0.4502, allocations: 419.4 kB / 0.6019 GB, free: 4.727 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005791/0.456, allocations: 3.591 MB / 0.6055 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.4571, allocations: 56.06 kB / 0.6055 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001797/0.4573, allocations: 99.94 kB / 0.6056 GB, free: 0.7852 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.0006144/0.4579, allocations: 337.2 kB / 0.6059 GB, free: 456 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002813/0.4582, allocations: 123.2 kB / 0.606 GB, free: 332 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006704/0.4649, allocations: 2.121 MB / 0.6081 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.4649, allocations: 16 kB / 0.6081 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4649, allocations: 0 / 0.6081 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/0.4649, allocations: 7.969 kB / 0.6081 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008314/0.4732, allocations: 3.175 MB / 0.6112 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.4732, allocations: 0 / 0.6112 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001162/0.4744, allocations: 267.6 kB / 0.6115 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002985/0.4774, allocations: 474 kB / 0.6119 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001184/0.4775, allocations: 51.95 kB / 0.612 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005254/0.4828, allocations: 3.496 MB / 0.6154 GB, free: 6.449 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4828, allocations: 0 / 0.6154 GB, free: 6.449 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00741/0.4902, allocations: 2.746 MB / 0.6181 GB, free: 3.68 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002457/0.4904, allocations: 111.2 kB / 0.6182 GB, free: 3.57 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001787/0.4906, allocations: 28 kB / 0.6182 GB, free: 3.543 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007747/0.4914, allocations: 31.98 kB / 0.6183 GB, free: 3.512 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002786/0.4917, allocations: 125.1 kB / 0.6184 GB, free: 3.387 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000119/0.4918, allocations: 51.97 kB / 0.6184 GB, free: 3.336 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008004/0.4926, allocations: 0.6786 MB / 0.6191 GB, free: 2.656 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4926, allocations: 0 / 0.6191 GB, free: 2.656 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002546/0.4951, allocations: 0.9545 MB / 0.62 GB, free: 1.699 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.001907/0.497, allocations: 1.121 MB / 0.6211 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003588/0.5006, allocations: 1.836 MB / 0.6229 GB, free: 14.71 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5006, allocations: 0 / 0.6229 GB, free: 14.71 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001949/0.5026, allocations: 0.9856 MB / 0.6239 GB, free: 13.69 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.5037, allocations: 252.9 kB / 0.6241 GB, free: 13.45 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004701/0.5084, allocations: 2.683 MB / 0.6267 GB, free: 10.73 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006189/0.5091, allocations: 0.5942 MB / 0.6273 GB, free: 10.11 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001077/0.5101, allocations: 332 kB / 0.6276 GB, free: 9.793 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004764/0.5106, allocations: 207.2 kB / 0.6278 GB, free: 9.59 MB / 478.1 MB Notification: Performance of SimCode: time 5.21e-07/0.5106, allocations: 0 / 0.6278 GB, free: 9.59 MB / 478.1 MB Notification: Performance of Templates: time 0.05362/0.5642, allocations: 36.77 MB / 0.6637 GB, free: 5.07 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 -s gbode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.256048404000467] Failed to read output from testmodel.py, exit status != 0: 0.5729409869964002 0.58625029 0.218601611 Calling exit ...