Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001332/0.001332, 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.00146/0.00146, allocations: 217 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1381/0.1381, allocations: 23.89 MB / 337.1 MB, free: 10.99 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization") translateModel(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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.002132/0.002132, allocations: 67.91 kB / 472.4 MB, free: 7.027 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3302, allocations: 59.85 MB / 0.5198 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.007496/0.3377, allocations: 7.445 MB / 0.527 GB, free: 4.816 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02992/0.3676, allocations: 21.32 MB / 0.5478 GB, free: 6.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001666/0.3693, allocations: 28.75 kB / 0.5479 GB, free: 6.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001878/0.3712, allocations: 469.6 kB / 0.5483 GB, free: 6.023 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007804/0.379, allocations: 2.152 MB / 0.5504 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009928/0.3889, allocations: 3.069 MB / 0.5534 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00423/0.3931, allocations: 2.438 MB / 0.5558 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001864/0.395, allocations: 1.115 MB / 0.5569 GB, free: 328 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00197/0.397, allocations: 1.234 MB / 0.5581 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002336/0.3993, allocations: 1.224 MB / 0.5593 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004462/0.3997, allocations: 215.1 kB / 0.5595 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008486/0.4082, allocations: 2.524 MB / 0.562 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008781/0.4091, allocations: 0.5133 MB / 0.5625 GB, free: 13.83 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001731/0.4108, allocations: 0.9117 MB / 0.5633 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01335/0.4242, allocations: 5.237 MB / 0.5685 GB, free: 7.777 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.4242, allocations: 0 / 0.5685 GB, free: 7.777 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.4242, allocations: 4 kB / 0.5685 GB, free: 7.773 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.776e-05/0.4243, allocations: 0 / 0.5685 GB, free: 7.773 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.005973/0.4302, allocations: 2.639 MB / 0.571 GB, free: 5.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.4303, allocations: 8.031 kB / 0.5711 GB, free: 5.082 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001862/0.4321, allocations: 423 kB / 0.5715 GB, free: 4.668 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001841/0.434, allocations: 0.906 MB / 0.5723 GB, free: 3.734 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002274/0.4342, allocations: 234.9 kB / 0.5726 GB, free: 3.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003242/0.4345, allocations: 184.3 kB / 0.5727 GB, free: 3.301 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003625/0.4382, allocations: 2.096 MB / 0.5748 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.885e-05/0.4382, allocations: 7.938 kB / 0.5748 GB, free: 1.164 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001717/0.4384, allocations: 72 kB / 0.5749 GB, free: 1.094 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-05/0.4384, allocations: 43.94 kB / 0.5749 GB, free: 1.051 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004369/0.4428, allocations: 2.581 MB / 0.5774 GB, free: 14.47 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.01104/0.4538, allocations: 5.243 MB / 0.5825 GB, free: 9.117 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00489/0.4587, allocations: 2.527 MB / 0.585 GB, free: 6.582 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001492/0.4602, allocations: 0.8391 MB / 0.5858 GB, free: 5.734 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009935/0.4701, allocations: 4.252 MB / 0.59 GB, free: 1.453 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.424e-05/0.4702, allocations: 47.88 kB / 0.59 GB, free: 1.398 MB / 430.1 MB Notification: Performance of pre-optimization done (n=144): time 3.636e-06/0.4702, allocations: 0 / 0.59 GB, free: 1.398 MB / 430.1 MB Notification: Performance of matching and sorting (n=180): time 0.02996/0.5002, allocations: 6.73 MB / 0.5966 GB, free: 10.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.98e-05/0.5002, allocations: 95.11 kB / 0.5967 GB, free: 10.49 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.5012, allocations: 0.747 MB / 0.5974 GB, free: 9.734 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001768/0.5014, allocations: 57.7 kB / 0.5975 GB, free: 9.672 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006216/0.502, allocations: 0.7623 MB / 0.5982 GB, free: 8.898 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006798/0.5027, allocations: 0.6391 MB / 0.5988 GB, free: 8.254 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000566/0.5033, allocations: 367.4 kB / 0.5992 GB, free: 7.887 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.5035, allocations: 353.9 kB / 0.5995 GB, free: 7.535 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001153/0.5046, allocations: 0.617 MB / 0.6001 GB, free: 6.914 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/0.5063, allocations: 1.137 MB / 0.6012 GB, free: 5.551 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003001/0.5093, allocations: 1.913 MB / 0.6031 GB, free: 3.422 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/0.5093, allocations: 4 kB / 0.6031 GB, free: 3.418 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.007477/0.5168, allocations: 2.468 MB / 0.6055 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.272e-05/0.5168, allocations: 14.81 kB / 0.6055 GB, free: 0.918 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-05/0.5168, allocations: 16 kB / 0.6056 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003704/0.5205, allocations: 475.4 kB / 0.606 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002521/0.523, allocations: 0.5149 MB / 0.6065 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01098/0.534, allocations: 7.137 MB / 0.6135 GB, free: 8.367 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/0.5355, allocations: 68.06 kB / 0.6136 GB, free: 8.301 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002342/0.5357, allocations: 108.2 kB / 0.6137 GB, free: 8.195 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.0008778/0.5366, allocations: 369.2 kB / 0.614 GB, free: 7.824 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003742/0.5369, allocations: 139.1 kB / 0.6141 GB, free: 7.688 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007634/0.5446, allocations: 2.421 MB / 0.6165 GB, free: 5.25 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/0.5446, allocations: 16 kB / 0.6165 GB, free: 5.234 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.5446, allocations: 8 kB / 0.6165 GB, free: 5.227 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.991e-05/0.5446, allocations: 7.969 kB / 0.6165 GB, free: 5.219 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009519/0.5541, allocations: 3.609 MB / 0.6201 GB, free: 1.559 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.5542, allocations: 8 kB / 0.6201 GB, free: 1.551 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002052/0.5562, allocations: 387.5 kB / 0.6204 GB, free: 1.172 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00361/0.5598, allocations: 466.8 kB / 0.6209 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001524/0.56, allocations: 55.97 kB / 0.6209 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01018/0.5702, allocations: 6.957 MB / 0.6277 GB, free: 9.285 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.5702, allocations: 0 / 0.6277 GB, free: 9.285 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008469/0.5786, allocations: 3.124 MB / 0.6308 GB, free: 6.141 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003035/0.5789, allocations: 123 kB / 0.6309 GB, free: 6.02 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/0.5791, allocations: 39.94 kB / 0.6309 GB, free: 5.98 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008516/0.58, allocations: 39.98 kB / 0.631 GB, free: 5.941 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003027/0.5803, allocations: 149.7 kB / 0.6311 GB, free: 5.793 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001427/0.5804, allocations: 67.97 kB / 0.6312 GB, free: 5.727 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006244/0.581, allocations: 467 kB / 0.6316 GB, free: 5.266 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.581, allocations: 0 / 0.6316 GB, free: 5.266 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003036/0.5841, allocations: 1.068 MB / 0.6327 GB, free: 4.195 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.002089/0.5862, allocations: 1.176 MB / 0.6338 GB, free: 3.008 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003815/0.59, allocations: 2.14 MB / 0.6359 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.59, allocations: 3.938 kB / 0.6359 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002133/0.5921, allocations: 1.306 MB / 0.6372 GB, free: 15.47 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/0.5936, allocations: 302.3 kB / 0.6375 GB, free: 15.17 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005509/0.5991, allocations: 3.229 MB / 0.6406 GB, free: 11.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007746/0.5998, allocations: 0.6968 MB / 0.6413 GB, free: 11.17 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007962/0.6006, allocations: 307.2 kB / 0.6416 GB, free: 10.87 MB / 494.1 MB Notification: Performance of SimCode: time 7.42e-07/0.6006, allocations: 4 kB / 0.6416 GB, free: 10.87 MB / 494.1 MB Notification: Performance of Templates: time 0.06895/0.6696, allocations: 55.8 MB / 0.6961 GB, free: 3.133 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.sim & ./Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.71223990386352] Failed to read output from testmodel.py, exit status != 0: 0.6793146398849785 0.693728036 0.266142621 Calling exit ...