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.001442/0.001442, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.001814/0.001814, allocations: 220 kB / 22.24 MB, free: 5.109 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.404/1.404, allocations: 230.6 MB / 256 MB, free: 7.785 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.1313/0.1313, allocations: 23.99 MB / 336.4 MB, free: 10.84 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.001958/0.001958, allocations: 71.89 kB / 471.8 MB, free: 6.824 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3057, allocations: 59.89 MB / 0.5192 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.007172/0.3129, allocations: 6.76 MB / 0.5258 GB, free: 5.207 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02696/0.3399, allocations: 20.57 MB / 0.5459 GB, free: 7.211 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001737/0.3416, allocations: 27.75 kB / 0.5459 GB, free: 7.195 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001796/0.3434, allocations: 441.1 kB / 0.5464 GB, free: 6.973 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007529/0.3509, allocations: 1.917 MB / 0.5482 GB, free: 5.844 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01049/0.3614, allocations: 2.976 MB / 0.5511 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004061/0.3655, allocations: 2.132 MB / 0.5532 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001897/0.3674, allocations: 1.023 MB / 0.5542 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001953/0.3693, allocations: 1.085 MB / 0.5553 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002478/0.3718, allocations: 1.113 MB / 0.5564 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006782/0.3725, allocations: 191.9 kB / 0.5565 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008276/0.3808, allocations: 2.389 MB / 0.5589 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008768/0.3817, allocations: 486.8 kB / 0.5593 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002024/0.3837, allocations: 0.8051 MB / 0.5601 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01267/0.3963, allocations: 4.845 MB / 0.5649 GB, free: 10.7 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3963, allocations: 3.938 kB / 0.5649 GB, free: 10.69 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3964, allocations: 0 / 0.5649 GB, free: 10.69 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.693e-05/0.3964, allocations: 0 / 0.5649 GB, free: 10.69 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.005766/0.4022, allocations: 2.365 MB / 0.5672 GB, free: 8.281 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.4022, allocations: 16.02 kB / 0.5672 GB, free: 8.266 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001888/0.4041, allocations: 399 kB / 0.5676 GB, free: 7.875 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001784/0.4059, allocations: 0.8438 MB / 0.5684 GB, free: 7.004 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001997/0.4061, allocations: 218.3 kB / 0.5686 GB, free: 6.766 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003036/0.4064, allocations: 148.3 kB / 0.5687 GB, free: 6.621 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003475/0.4099, allocations: 2.068 MB / 0.5708 GB, free: 4.516 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.708e-05/0.4099, allocations: 4 kB / 0.5708 GB, free: 4.512 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001623/0.4101, allocations: 56 kB / 0.5708 GB, free: 4.457 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-05/0.4101, allocations: 36 kB / 0.5709 GB, free: 4.422 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004362/0.4145, allocations: 2.713 MB / 0.5735 GB, free: 1.703 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.01088/0.4254, allocations: 5.388 MB / 0.5788 GB, free: 12.24 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005264/0.4306, allocations: 2.802 MB / 0.5815 GB, free: 9.438 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001343/0.432, allocations: 0.805 MB / 0.5823 GB, free: 8.633 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008808/0.4408, allocations: 3.982 MB / 0.5862 GB, free: 4.629 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.4408, allocations: 43.56 kB / 0.5862 GB, free: 4.574 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000835/0.4417, allocations: 191.1 kB / 0.5864 GB, free: 4.387 MB / 430.1 MB Notification: Performance of pre-optimization done (n=117): time 3.085e-06/0.4417, allocations: 4 kB / 0.5864 GB, free: 4.383 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.01911/0.4608, allocations: 5.174 MB / 0.5915 GB, free: 15.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.4608, allocations: 68.66 kB / 0.5915 GB, free: 15.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/0.4622, allocations: 1.009 MB / 0.5925 GB, free: 14.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001017/0.4623, allocations: 49.7 kB / 0.5926 GB, free: 14.01 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005447/0.4628, allocations: 0.7032 MB / 0.5932 GB, free: 13.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004664/0.4633, allocations: 0.5075 MB / 0.5937 GB, free: 12.78 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005555/0.4638, allocations: 335.4 kB / 0.5941 GB, free: 12.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.464, allocations: 353.9 kB / 0.5944 GB, free: 12.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00117/0.4652, allocations: 0.652 MB / 0.595 GB, free: 11.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/0.4667, allocations: 1.119 MB / 0.5961 GB, free: 10.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002809/0.4695, allocations: 1.808 MB / 0.5979 GB, free: 8.133 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-05/0.4695, allocations: 4 kB / 0.5979 GB, free: 8.129 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.006597/0.4761, allocations: 2.412 MB / 0.6002 GB, free: 5.699 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.4762, allocations: 12 kB / 0.6003 GB, free: 5.688 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.603e-05/0.4762, allocations: 23.88 kB / 0.6003 GB, free: 5.664 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002735/0.4789, allocations: 486.1 kB / 0.6007 GB, free: 5.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/0.4804, allocations: 423.3 kB / 0.6011 GB, free: 4.766 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005748/0.4861, allocations: 3.601 MB / 0.6047 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/0.4873, allocations: 52 kB / 0.6047 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002245/0.4875, allocations: 95.95 kB / 0.6048 GB, free: 0.8281 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.0007091/0.4882, allocations: 341.2 kB / 0.6051 GB, free: 496 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003494/0.4886, allocations: 123.2 kB / 0.6052 GB, free: 372 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006515/0.4951, allocations: 2.124 MB / 0.6073 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-05/0.4951, allocations: 19.98 kB / 0.6073 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.4951, allocations: 0 / 0.6073 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.568e-05/0.4951, allocations: 3.984 kB / 0.6073 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008253/0.5034, allocations: 3.168 MB / 0.6104 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.5034, allocations: 0 / 0.6104 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/0.5045, allocations: 267.7 kB / 0.6107 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002531/0.507, allocations: 466.2 kB / 0.6111 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001261/0.5072, allocations: 47.97 kB / 0.6112 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005005/0.5122, allocations: 3.5 MB / 0.6146 GB, free: 6.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.5122, allocations: 4.031 kB / 0.6146 GB, free: 6.496 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007047/0.5192, allocations: 2.746 MB / 0.6173 GB, free: 3.727 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003209/0.5195, allocations: 115.1 kB / 0.6174 GB, free: 3.613 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002405/0.5198, allocations: 28 kB / 0.6174 GB, free: 3.586 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007847/0.5206, allocations: 27.98 kB / 0.6174 GB, free: 3.559 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003087/0.5209, allocations: 129.1 kB / 0.6176 GB, free: 3.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001297/0.521, allocations: 51.97 kB / 0.6176 GB, free: 3.379 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001015/0.522, allocations: 0.6708 MB / 0.6183 GB, free: 2.707 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.522, allocations: 0 / 0.6183 GB, free: 2.707 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002829/0.5248, allocations: 0.9584 MB / 0.6192 GB, free: 1.746 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.002385/0.5272, allocations: 1.117 MB / 0.6203 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003738/0.531, allocations: 1.835 MB / 0.6221 GB, free: 14.76 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.531, allocations: 0 / 0.6221 GB, free: 14.76 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001901/0.5329, allocations: 0.99 MB / 0.6231 GB, free: 13.74 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.5341, allocations: 257 kB / 0.6233 GB, free: 13.49 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004813/0.5389, allocations: 2.683 MB / 0.6259 GB, free: 10.78 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006371/0.5395, allocations: 0.602 MB / 0.6265 GB, free: 10.14 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001133/0.5407, allocations: 324 kB / 0.6268 GB, free: 9.836 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004807/0.5412, allocations: 207.3 kB / 0.627 GB, free: 9.633 MB / 478.1 MB Notification: Performance of SimCode: time 6.21e-07/0.5412, allocations: 0 / 0.627 GB, free: 9.633 MB / 478.1 MB Notification: Performance of Templates: time 0.0536/0.5947, allocations: 36.26 MB / 0.6624 GB, free: 5.621 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.049116503447294] Failed to read output from testmodel.py, exit status != 0: 0.6032595671713352 0.620397464 0.219496927 Calling exit ...