Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.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.001689/0.001689, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.002124/0.002124, allocations: 217.3 kB / 22.25 MB, free: 5.105 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.793 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.1501/0.1501, allocations: 23.92 MB / 336.3 MB, free: 10.89 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.WaterSelfIonization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization") translateModel(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization") [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.002215/0.002215, allocations: 68.19 kB / 471.7 MB, free: 6.91 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3413, allocations: 59.88 MB / 0.5191 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.007879/0.3492, allocations: 7.445 MB / 0.5264 GB, free: 4.832 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02919/0.3784, allocations: 21.3 MB / 0.5472 GB, free: 6.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001947/0.3803, allocations: 29.31 kB / 0.5472 GB, free: 6.297 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001642/0.382, allocations: 477.3 kB / 0.5477 GB, free: 6.047 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007711/0.3897, allocations: 2.153 MB / 0.5498 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.011/0.4007, allocations: 3.069 MB / 0.5528 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006357/0.407, allocations: 2.433 MB / 0.5551 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002149/0.4092, allocations: 1.134 MB / 0.5562 GB, free: 316 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002358/0.4115, allocations: 1.239 MB / 0.5575 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002257/0.4138, allocations: 1.369 MB / 0.5588 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004144/0.4142, allocations: 215.2 kB / 0.559 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009919/0.4241, allocations: 2.595 MB / 0.5615 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000701/0.4248, allocations: 0.5059 MB / 0.562 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001574/0.4264, allocations: 0.9143 MB / 0.5629 GB, free: 12.63 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0125/0.4389, allocations: 5.233 MB / 0.568 GB, free: 7.379 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4389, allocations: 0 / 0.568 GB, free: 7.379 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4389, allocations: 3.938 kB / 0.568 GB, free: 7.375 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.949e-05/0.4389, allocations: 0 / 0.568 GB, free: 7.375 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: 446 * Number of variables: 446 Notification: Performance of Generate backend data structure: time 0.005311/0.4442, allocations: 2.639 MB / 0.5706 GB, free: 4.691 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.4443, allocations: 8.031 kB / 0.5706 GB, free: 4.684 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001911/0.4462, allocations: 423 kB / 0.571 GB, free: 4.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001774/0.448, allocations: 0.9099 MB / 0.5719 GB, free: 3.332 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002229/0.4482, allocations: 242.9 kB / 0.5721 GB, free: 3.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003176/0.4485, allocations: 180.3 kB / 0.5723 GB, free: 2.895 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003555/0.4521, allocations: 2.089 MB / 0.5744 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.056e-05/0.4521, allocations: 3.984 kB / 0.5744 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001822/0.4523, allocations: 75.94 kB / 0.5744 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.535e-05/0.4523, allocations: 40 kB / 0.5745 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004389/0.4567, allocations: 2.584 MB / 0.577 GB, free: 14.07 MB / 430.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.01186/0.4686, allocations: 5.243 MB / 0.5821 GB, free: 8.719 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004985/0.4736, allocations: 2.523 MB / 0.5846 GB, free: 6.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001522/0.4751, allocations: 0.8353 MB / 0.5854 GB, free: 5.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01062/0.4857, allocations: 4.244 MB / 0.5895 GB, free: 1.066 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.927e-05/0.4857, allocations: 47.88 kB / 0.5896 GB, free: 1.012 MB / 430.1 MB Notification: Performance of pre-optimization done (n=144): time 3.487e-06/0.4857, allocations: 4 kB / 0.5896 GB, free: 1.008 MB / 430.1 MB Notification: Performance of matching and sorting (n=180): time 0.02889/0.5146, allocations: 6.731 MB / 0.5962 GB, free: 10.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.132e-05/0.5147, allocations: 99.11 kB / 0.5962 GB, free: 10.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.5157, allocations: 0.7392 MB / 0.597 GB, free: 9.344 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001719/0.5159, allocations: 57.7 kB / 0.597 GB, free: 9.281 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006113/0.5165, allocations: 0.7623 MB / 0.5978 GB, free: 8.508 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006436/0.5172, allocations: 0.6429 MB / 0.5984 GB, free: 7.859 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005666/0.5177, allocations: 359.5 kB / 0.5987 GB, free: 7.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.5179, allocations: 361.9 kB / 0.5991 GB, free: 7.141 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/0.5191, allocations: 0.6209 MB / 0.5997 GB, free: 6.516 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00168/0.5208, allocations: 1.133 MB / 0.6008 GB, free: 5.156 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003136/0.5239, allocations: 1.917 MB / 0.6027 GB, free: 3.023 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.5239, allocations: 4 kB / 0.6027 GB, free: 3.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.007465/0.5314, allocations: 2.472 MB / 0.6051 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.328e-05/0.5314, allocations: 12 kB / 0.6051 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.763e-05/0.5315, allocations: 16 kB / 0.6051 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003701/0.5352, allocations: 475.2 kB / 0.6056 GB, free: 28 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002568/0.5377, allocations: 0.5227 MB / 0.6061 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01111/0.5489, allocations: 7.132 MB / 0.613 GB, free: 7.969 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.5504, allocations: 60 kB / 0.6131 GB, free: 7.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002163/0.5506, allocations: 104 kB / 0.6132 GB, free: 7.809 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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 (246): * Single equations (assignments): 242 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0007971/0.5514, allocations: 377.2 kB / 0.6136 GB, free: 7.43 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003441/0.5517, allocations: 135.1 kB / 0.6137 GB, free: 7.297 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007853/0.5596, allocations: 2.429 MB / 0.6161 GB, free: 4.848 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-05/0.5596, allocations: 20 kB / 0.6161 GB, free: 4.828 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.5596, allocations: 0 / 0.6161 GB, free: 4.828 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.431e-05/0.5596, allocations: 7.969 kB / 0.6161 GB, free: 4.82 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009895/0.5695, allocations: 3.613 MB / 0.6196 GB, free: 1.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.5695, allocations: 0 / 0.6196 GB, free: 1.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002124/0.5716, allocations: 399.5 kB / 0.62 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003559/0.5752, allocations: 454.9 kB / 0.6204 GB, free: 320 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001821/0.5754, allocations: 55.97 kB / 0.6205 GB, free: 264 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01047/0.5859, allocations: 6.953 MB / 0.6273 GB, free: 8.898 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5859, allocations: 0 / 0.6273 GB, free: 8.898 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008736/0.5946, allocations: 3.14 MB / 0.6303 GB, free: 5.738 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006324/0.5952, allocations: 119 kB / 0.6305 GB, free: 5.621 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002168/0.5954, allocations: 35.94 kB / 0.6305 GB, free: 5.586 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008736/0.5963, allocations: 39.98 kB / 0.6305 GB, free: 5.547 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004372/0.5968, allocations: 149.7 kB / 0.6307 GB, free: 5.398 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001709/0.5969, allocations: 63.97 kB / 0.6307 GB, free: 5.336 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008081/0.5977, allocations: 471 kB / 0.6312 GB, free: 4.871 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5977, allocations: 0 / 0.6312 GB, free: 4.871 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004191/0.6019, allocations: 1.068 MB / 0.6322 GB, free: 3.801 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (solution.temperature,H3O.logn,OH.logn,H2O.logn,solution1.temperature,H_.logn,OH_.logn,H2O_.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 (178): * Single equations (assignments): 174 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002447/0.6044, allocations: 1.172 MB / 0.6334 GB, free: 2.617 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004372/0.6087, allocations: 2.148 MB / 0.6355 GB, free: 436 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.6087, allocations: 4 kB / 0.6355 GB, free: 432 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002249/0.611, allocations: 1.314 MB / 0.6368 GB, free: 15.06 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001719/0.6127, allocations: 302.7 kB / 0.637 GB, free: 14.77 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006137/0.6189, allocations: 3.184 MB / 0.6401 GB, free: 11.54 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008453/0.6197, allocations: 0.6929 MB / 0.6408 GB, free: 10.81 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001403/0.6211, allocations: 350 kB / 0.6412 GB, free: 10.48 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005847/0.6217, allocations: 243.2 kB / 0.6414 GB, free: 10.24 MB / 494.1 MB Notification: Performance of SimCode: time 1.222e-06/0.6217, allocations: 0 / 0.6414 GB, free: 10.24 MB / 494.1 MB Notification: Performance of Templates: time 0.06791/0.6896, allocations: 40.99 MB / 0.6814 GB, free: 1.555 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.sim & ./Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.8386703371070325] Failed to read output from testmodel.py, exit status != 0: 0.6991018671542406 0.7135979650000001 0.271493415 Calling exit ...