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.001304/0.001304, 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.001486/0.001486, allocations: 214.3 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.1507/0.1507, allocations: 23.99 MB / 337.2 MB, free: 10.87 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.002056/0.002056, allocations: 72.16 kB / 472.5 MB, free: 6.875 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3469, allocations: 59.89 MB / 0.52 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.008031/0.3549, allocations: 7.442 MB / 0.5272 GB, free: 4.812 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02983/0.3848, allocations: 21.32 MB / 0.548 GB, free: 6.277 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001999/0.3868, allocations: 28.31 kB / 0.5481 GB, free: 6.262 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0022/0.389, allocations: 476.1 kB / 0.5485 GB, free: 6.016 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008015/0.397, allocations: 2.151 MB / 0.5506 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009943/0.4069, allocations: 3.072 MB / 0.5536 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00415/0.4111, allocations: 2.434 MB / 0.556 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001725/0.4128, allocations: 1.112 MB / 0.5571 GB, free: 248 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002052/0.4149, allocations: 1.234 MB / 0.5583 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002573/0.4174, allocations: 1.233 MB / 0.5595 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004263/0.4179, allocations: 214.8 kB / 0.5597 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008228/0.4261, allocations: 2.521 MB / 0.5622 GB, free: 14.17 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009194/0.427, allocations: 0.5129 MB / 0.5627 GB, free: 13.74 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001732/0.4287, allocations: 0.9104 MB / 0.5636 GB, free: 12.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01334/0.4421, allocations: 5.237 MB / 0.5687 GB, free: 7.566 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4421, allocations: 0 / 0.5687 GB, free: 7.566 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4421, allocations: 0 / 0.5687 GB, free: 7.566 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.868e-05/0.4421, allocations: 0 / 0.5687 GB, free: 7.566 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.005718/0.4479, allocations: 2.639 MB / 0.5712 GB, free: 4.883 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.4479, allocations: 8.031 kB / 0.5713 GB, free: 4.875 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001892/0.4498, allocations: 423 kB / 0.5717 GB, free: 4.461 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001939/0.4517, allocations: 0.906 MB / 0.5725 GB, free: 3.527 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002431/0.452, allocations: 242.9 kB / 0.5728 GB, free: 3.266 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003378/0.4523, allocations: 184.3 kB / 0.573 GB, free: 3.086 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003806/0.4561, allocations: 2.085 MB / 0.575 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.913e-05/0.4561, allocations: 0 / 0.575 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001807/0.4563, allocations: 72 kB / 0.5751 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.004e-05/0.4564, allocations: 44 kB / 0.5751 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004594/0.461, allocations: 2.584 MB / 0.5776 GB, free: 14.27 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.01127/0.4722, allocations: 5.243 MB / 0.5827 GB, free: 8.918 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004963/0.4772, allocations: 2.531 MB / 0.5852 GB, free: 6.379 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001546/0.4787, allocations: 0.8314 MB / 0.586 GB, free: 5.539 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01019/0.4889, allocations: 4.256 MB / 0.5902 GB, free: 1.254 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.324e-05/0.489, allocations: 47.88 kB / 0.5902 GB, free: 1.199 MB / 430.1 MB Notification: Performance of pre-optimization done (n=144): time 3.687e-06/0.489, allocations: 0 / 0.5902 GB, free: 1.199 MB / 430.1 MB Notification: Performance of matching and sorting (n=180): time 0.02839/0.5174, allocations: 6.728 MB / 0.5968 GB, free: 10.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.475e-05/0.5174, allocations: 99.11 kB / 0.5969 GB, free: 10.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009811/0.5184, allocations: 0.7392 MB / 0.5976 GB, free: 9.543 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001784/0.5186, allocations: 57.7 kB / 0.5977 GB, free: 9.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005651/0.5192, allocations: 0.7623 MB / 0.5984 GB, free: 8.707 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006037/0.5198, allocations: 0.643 MB / 0.599 GB, free: 8.059 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005429/0.5203, allocations: 359.5 kB / 0.5994 GB, free: 7.699 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.5205, allocations: 361.8 kB / 0.5997 GB, free: 7.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001173/0.5217, allocations: 0.6248 MB / 0.6003 GB, free: 6.711 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001655/0.5233, allocations: 1.137 MB / 0.6014 GB, free: 5.348 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002999/0.5263, allocations: 1.913 MB / 0.6033 GB, free: 3.219 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/0.5263, allocations: 4 kB / 0.6033 GB, free: 3.215 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.007398/0.5337, allocations: 2.464 MB / 0.6057 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.924e-05/0.5338, allocations: 12 kB / 0.6057 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.528e-05/0.5338, allocations: 19.94 kB / 0.6058 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003636/0.5374, allocations: 471 kB / 0.6062 GB, free: 232 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002477/0.5399, allocations: 0.5267 MB / 0.6067 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01119/0.5511, allocations: 7.125 MB / 0.6137 GB, free: 8.164 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/0.5525, allocations: 60 kB / 0.6137 GB, free: 8.105 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001943/0.5527, allocations: 104 kB / 0.6138 GB, free: 8.004 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.0007955/0.5535, allocations: 377.2 kB / 0.6142 GB, free: 7.625 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003658/0.5539, allocations: 135.1 kB / 0.6143 GB, free: 7.492 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007639/0.5615, allocations: 2.428 MB / 0.6167 GB, free: 5.047 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.178e-05/0.5615, allocations: 20 kB / 0.6167 GB, free: 5.027 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.5615, allocations: 0 / 0.6167 GB, free: 5.027 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.253e-05/0.5615, allocations: 11.95 kB / 0.6167 GB, free: 5.016 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009565/0.5711, allocations: 3.609 MB / 0.6202 GB, free: 1.359 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.882e-06/0.5711, allocations: 0 / 0.6202 GB, free: 1.359 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002026/0.5731, allocations: 395.5 kB / 0.6206 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003546/0.5767, allocations: 462.8 kB / 0.6211 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001813/0.5769, allocations: 51.97 kB / 0.6211 GB, free: 468 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01025/0.5871, allocations: 6.957 MB / 0.6279 GB, free: 9.094 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.5871, allocations: 3.984 kB / 0.6279 GB, free: 9.09 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008304/0.5954, allocations: 3.136 MB / 0.631 GB, free: 5.934 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003428/0.5958, allocations: 123 kB / 0.6311 GB, free: 5.812 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000186/0.596, allocations: 39.88 kB / 0.6311 GB, free: 5.773 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008138/0.5968, allocations: 35.98 kB / 0.6312 GB, free: 5.738 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003297/0.5971, allocations: 145.7 kB / 0.6313 GB, free: 5.594 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001386/0.5972, allocations: 63.97 kB / 0.6314 GB, free: 5.531 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006461/0.5979, allocations: 475 kB / 0.6318 GB, free: 5.062 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5979, allocations: 0 / 0.6318 GB, free: 5.062 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003087/0.601, allocations: 1.068 MB / 0.6329 GB, free: 3.992 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.002181/0.6032, allocations: 1.18 MB / 0.634 GB, free: 2.801 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003983/0.6071, allocations: 2.144 MB / 0.6361 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.6071, allocations: 0 / 0.6361 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00219/0.6093, allocations: 1.299 MB / 0.6374 GB, free: 15.27 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/0.6108, allocations: 302.6 kB / 0.6377 GB, free: 14.97 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005652/0.6165, allocations: 3.229 MB / 0.6408 GB, free: 11.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007784/0.6173, allocations: 0.6969 MB / 0.6415 GB, free: 10.97 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008356/0.6181, allocations: 311.2 kB / 0.6418 GB, free: 10.66 MB / 494.1 MB Notification: Performance of SimCode: time 8.52e-07/0.6181, allocations: 0 / 0.6418 GB, free: 10.66 MB / 494.1 MB Notification: Performance of Templates: time 0.06869/0.6868, allocations: 55.83 MB / 0.6963 GB, free: 2.91 MB / 0.5294 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: 10.826794289983809] Failed to read output from testmodel.py, exit status != 0: 0.695899962913245 0.710668493 0.26518076700000004 Calling exit ...