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.001515/0.001515, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001668/0.001668, allocations: 219 kB / 22.25 MB, free: 5.121 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.375/1.375, allocations: 230.6 MB / 256 MB, free: 7.988 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.131/0.131, allocations: 23.85 MB / 336.3 MB, free: 11.2 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.002028/0.002028, allocations: 67.89 kB / 471.7 MB, free: 7.203 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2748, allocations: 59.85 MB / 0.519 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.006956/0.2818, allocations: 8.517 MB / 0.5274 GB, free: 3.805 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02858/0.3104, allocations: 24.34 MB / 0.5511 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001359/0.3117, allocations: 28.81 kB / 0.5512 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001328/0.3131, allocations: 0.5043 MB / 0.5517 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006003/0.3191, allocations: 2.188 MB / 0.5538 GB, free: 436 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008267/0.3273, allocations: 3.061 MB / 0.5568 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003487/0.3308, allocations: 2.45 MB / 0.5592 GB, free: 12.85 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001538/0.3324, allocations: 1.133 MB / 0.5603 GB, free: 12 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001814/0.3342, allocations: 1.235 MB / 0.5615 GB, free: 11.42 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002081/0.3362, allocations: 1.361 MB / 0.5628 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000277/0.3365, allocations: 214.5 kB / 0.563 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008657/0.3452, allocations: 2.689 MB / 0.5656 GB, free: 9.625 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005993/0.3458, allocations: 0.5165 MB / 0.5662 GB, free: 9.203 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001511/0.3473, allocations: 1.079 MB / 0.5672 GB, free: 8.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01121/0.3585, allocations: 5.244 MB / 0.5723 GB, free: 3.289 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3585, allocations: 0 / 0.5723 GB, free: 3.289 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3585, allocations: 0 / 0.5723 GB, free: 3.289 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.058e-05/0.3585, allocations: 0 / 0.5723 GB, free: 3.289 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.005004/0.3635, allocations: 2.654 MB / 0.5749 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.3636, allocations: 8.031 kB / 0.5749 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001691/0.3653, allocations: 423 kB / 0.5753 GB, free: 176 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/0.3669, allocations: 0.8983 MB / 0.5762 GB, free: 15.25 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002132/0.3671, allocations: 242.8 kB / 0.5764 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002944/0.3674, allocations: 180.3 kB / 0.5766 GB, free: 14.81 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003359/0.3707, allocations: 2.089 MB / 0.5787 GB, free: 12.69 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.042e-05/0.3708, allocations: 7.938 kB / 0.5787 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001707/0.371, allocations: 68 kB / 0.5787 GB, free: 12.61 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.87e-05/0.371, allocations: 44 kB / 0.5788 GB, free: 12.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004131/0.3751, allocations: 2.608 MB / 0.5813 GB, free: 9.961 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.01051/0.3856, allocations: 6.581 MB / 0.5877 GB, free: 3.098 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004564/0.3902, allocations: 2.588 MB / 0.5903 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001334/0.3915, allocations: 0.8351 MB / 0.5911 GB, free: 15.65 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009301/0.4008, allocations: 4.496 MB / 0.5955 GB, free: 11.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/0.4009, allocations: 55.81 kB / 0.5955 GB, free: 11.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=144): time 2.605e-06/0.4009, allocations: 0 / 0.5955 GB, free: 11.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=180): time 0.02986/0.4307, allocations: 6.738 MB / 0.6021 GB, free: 4.262 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.982e-05/0.4308, allocations: 99.05 kB / 0.6022 GB, free: 4.145 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.4318, allocations: 0.7846 MB / 0.603 GB, free: 3.336 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001085/0.4319, allocations: 53.7 kB / 0.603 GB, free: 3.277 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005737/0.4325, allocations: 0.7663 MB / 0.6038 GB, free: 2.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005466/0.4331, allocations: 0.6352 MB / 0.6044 GB, free: 1.859 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000529/0.4336, allocations: 363.5 kB / 0.6047 GB, free: 1.496 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.4337, allocations: 301.1 kB / 0.605 GB, free: 1.199 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/0.4349, allocations: 0.6169 MB / 0.6056 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001572/0.4364, allocations: 1.141 MB / 0.6067 GB, free: 15.21 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002851/0.4393, allocations: 1.917 MB / 0.6086 GB, free: 13.07 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.156e-06/0.4393, allocations: 4 kB / 0.6086 GB, free: 13.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.007597/0.4469, allocations: 2.476 MB / 0.611 GB, free: 10.58 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/0.4469, allocations: 12 kB / 0.611 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.596e-05/0.4469, allocations: 16 kB / 0.6111 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003988/0.4509, allocations: 475.4 kB / 0.6115 GB, free: 10.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002275/0.4532, allocations: 0.5188 MB / 0.612 GB, free: 9.555 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01101/0.4642, allocations: 7.274 MB / 0.6191 GB, free: 1.832 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.4655, allocations: 64.06 kB / 0.6192 GB, free: 1.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001749/0.4657, allocations: 104 kB / 0.6193 GB, free: 1.668 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.0006955/0.4664, allocations: 369.7 kB / 0.6196 GB, free: 1.297 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003136/0.4667, allocations: 151 kB / 0.6198 GB, free: 1.148 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007831/0.4745, allocations: 2.429 MB / 0.6221 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/0.4746, allocations: 16 kB / 0.6222 GB, free: 14.68 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.4746, allocations: 4 kB / 0.6222 GB, free: 14.68 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.636e-05/0.4746, allocations: 11.95 kB / 0.6222 GB, free: 14.67 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01/0.4846, allocations: 4.042 MB / 0.6261 GB, free: 10.57 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.4846, allocations: 4 kB / 0.6261 GB, free: 10.56 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002004/0.4866, allocations: 387.5 kB / 0.6265 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004051/0.4907, allocations: 458.9 kB / 0.6269 GB, free: 9.723 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001276/0.4908, allocations: 59.97 kB / 0.627 GB, free: 9.664 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01043/0.5012, allocations: 7.107 MB / 0.6339 GB, free: 2.102 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5012, allocations: 4.031 kB / 0.6339 GB, free: 2.098 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008629/0.5098, allocations: 3.14 MB / 0.637 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002894/0.5101, allocations: 127 kB / 0.6371 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001861/0.5103, allocations: 32 kB / 0.6372 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008666/0.5112, allocations: 47.92 kB / 0.6372 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002953/0.5115, allocations: 145.7 kB / 0.6373 GB, free: 14.58 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001249/0.5116, allocations: 63.97 kB / 0.6374 GB, free: 14.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000666/0.5123, allocations: 0.5079 MB / 0.6379 GB, free: 14 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5123, allocations: 0 / 0.6379 GB, free: 14 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00291/0.5152, allocations: 1.075 MB / 0.6389 GB, free: 12.92 MB / 494.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.002002/0.5172, allocations: 1.172 MB / 0.6401 GB, free: 11.74 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003711/0.5209, allocations: 2.14 MB / 0.6422 GB, free: 9.551 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5209, allocations: 0 / 0.6422 GB, free: 9.551 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002019/0.5229, allocations: 1.302 MB / 0.6435 GB, free: 8.203 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.5242, allocations: 310.1 kB / 0.6437 GB, free: 7.902 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005299/0.5295, allocations: 3.208 MB / 0.6469 GB, free: 4.648 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009817/0.5305, allocations: 1.273 MB / 0.6481 GB, free: 3.344 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001127/0.5316, allocations: 350.8 kB / 0.6485 GB, free: 3.004 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005389/0.5322, allocations: 247.2 kB / 0.6487 GB, free: 2.762 MB / 494.1 MB Notification: Performance of SimCode: time 4.71e-07/0.5322, allocations: 0 / 0.6487 GB, free: 2.762 MB / 494.1 MB Notification: Performance of Templates: time 0.06186/0.594, allocations: 39.95 MB / 0.6877 GB, free: 10.98 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: 6.216250600060448] Failed to read output from testmodel.py, exit status != 0: 0.6024046579841524 0.6159634469999999 0.254377832 Calling exit ...