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.001468/0.001468, allocations: 105.1 kB / 18.99 MB, free: 2.605 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.001896/0.001896, allocations: 215.9 kB / 22.29 MB, free: 5.301 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.679/1.679, allocations: 230.6 MB / 256.1 MB, free: 7.738 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.1526/0.1526, allocations: 23.89 MB / 336.4 MB, free: 10.98 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.002208/0.002208, allocations: 67.89 kB / 471.7 MB, free: 6.914 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3672, allocations: 59.86 MB / 0.5191 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.009442/0.3767, allocations: 7.441 MB / 0.5264 GB, free: 4.855 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03214/0.4088, allocations: 21.31 MB / 0.5472 GB, free: 6.328 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002228/0.411, allocations: 29.09 kB / 0.5472 GB, free: 6.312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002268/0.4133, allocations: 469.5 kB / 0.5477 GB, free: 6.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009132/0.4224, allocations: 2.153 MB / 0.5498 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01205/0.4345, allocations: 3.069 MB / 0.5528 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005103/0.4396, allocations: 2.441 MB / 0.5552 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002272/0.4419, allocations: 1.12 MB / 0.5563 GB, free: 308 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002697/0.4446, allocations: 1.231 MB / 0.5575 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003009/0.4476, allocations: 1.22 MB / 0.5587 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008631/0.4484, allocations: 216.3 kB / 0.5589 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01089/0.4593, allocations: 2.531 MB / 0.5613 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001088/0.4604, allocations: 0.5091 MB / 0.5618 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002245/0.4627, allocations: 0.9106 MB / 0.5627 GB, free: 12.94 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01568/0.4783, allocations: 5.237 MB / 0.5678 GB, free: 7.684 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.015e-05/0.4783, allocations: 0 / 0.5678 GB, free: 7.684 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4784, allocations: 4 kB / 0.5678 GB, free: 7.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001082/0.4785, allocations: 3.938 kB / 0.5678 GB, free: 7.676 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.006738/0.4852, allocations: 2.643 MB / 0.5704 GB, free: 4.988 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.4852, allocations: 8.031 kB / 0.5704 GB, free: 4.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/0.4872, allocations: 423 kB / 0.5708 GB, free: 4.566 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001744/0.489, allocations: 0.8982 MB / 0.5717 GB, free: 3.641 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002411/0.4892, allocations: 246.8 kB / 0.5719 GB, free: 3.375 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003205/0.4896, allocations: 180.3 kB / 0.5721 GB, free: 3.199 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003663/0.4932, allocations: 2.093 MB / 0.5742 GB, free: 1.074 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.887e-05/0.4933, allocations: 4 kB / 0.5742 GB, free: 1.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001869/0.4934, allocations: 75.94 kB / 0.5742 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-05/0.4935, allocations: 44 kB / 0.5743 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004456/0.4979, allocations: 2.573 MB / 0.5768 GB, free: 14.38 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.01059/0.5085, allocations: 5.244 MB / 0.5819 GB, free: 9.027 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00496/0.5135, allocations: 2.535 MB / 0.5844 GB, free: 6.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001473/0.515, allocations: 0.8351 MB / 0.5852 GB, free: 5.641 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00998/0.5249, allocations: 4.248 MB / 0.5894 GB, free: 1.363 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.698e-05/0.525, allocations: 51.86 kB / 0.5894 GB, free: 1.305 MB / 430.1 MB Notification: Performance of pre-optimization done (n=144): time 3.807e-06/0.525, allocations: 0 / 0.5894 GB, free: 1.305 MB / 430.1 MB Notification: Performance of matching and sorting (n=180): time 0.03122/0.5562, allocations: 6.73 MB / 0.596 GB, free: 10.51 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.32e-05/0.5563, allocations: 107 kB / 0.5961 GB, free: 10.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.5574, allocations: 0.7392 MB / 0.5968 GB, free: 9.637 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002104/0.5576, allocations: 57.7 kB / 0.5969 GB, free: 9.574 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000648/0.5582, allocations: 0.7623 MB / 0.5976 GB, free: 8.801 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000696/0.5589, allocations: 0.6391 MB / 0.5982 GB, free: 8.156 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005514/0.5595, allocations: 363.5 kB / 0.5986 GB, free: 7.793 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.5597, allocations: 357.9 kB / 0.5989 GB, free: 7.438 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00117/0.5608, allocations: 0.617 MB / 0.5995 GB, free: 6.816 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001644/0.5625, allocations: 1.133 MB / 0.6006 GB, free: 5.457 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003044/0.5655, allocations: 1.913 MB / 0.6025 GB, free: 3.328 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/0.5655, allocations: 8 kB / 0.6025 GB, free: 3.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.007764/0.5733, allocations: 2.464 MB / 0.6049 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.058e-05/0.5733, allocations: 12 kB / 0.6049 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.693e-05/0.5734, allocations: 16 kB / 0.6049 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003895/0.5773, allocations: 475.4 kB / 0.6054 GB, free: 340 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002654/0.5799, allocations: 0.5188 MB / 0.6059 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01198/0.5919, allocations: 7.132 MB / 0.6129 GB, free: 8.277 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/0.5934, allocations: 68.05 kB / 0.6129 GB, free: 8.211 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002158/0.5936, allocations: 108 kB / 0.613 GB, free: 8.105 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.0007703/0.5944, allocations: 361.3 kB / 0.6134 GB, free: 7.742 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004214/0.5948, allocations: 135.1 kB / 0.6135 GB, free: 7.609 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007938/0.6027, allocations: 2.44 MB / 0.6159 GB, free: 5.148 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/0.6028, allocations: 20 kB / 0.6159 GB, free: 5.129 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.6028, allocations: 4 kB / 0.6159 GB, free: 5.125 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.912e-05/0.6028, allocations: 7.969 kB / 0.6159 GB, free: 5.117 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009845/0.6126, allocations: 3.609 MB / 0.6194 GB, free: 1.457 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.6126, allocations: 4 kB / 0.6194 GB, free: 1.453 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002104/0.6147, allocations: 391.5 kB / 0.6198 GB, free: 1.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003891/0.6186, allocations: 462.9 kB / 0.6203 GB, free: 0.6055 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001368/0.6188, allocations: 55.91 kB / 0.6203 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01071/0.6295, allocations: 6.953 MB / 0.6271 GB, free: 9.191 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6295, allocations: 3.938 kB / 0.6271 GB, free: 9.188 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008896/0.6384, allocations: 3.124 MB / 0.6301 GB, free: 6.043 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002883/0.6387, allocations: 123 kB / 0.6303 GB, free: 5.922 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001899/0.6389, allocations: 43.94 kB / 0.6303 GB, free: 5.879 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008533/0.6397, allocations: 32 kB / 0.6303 GB, free: 5.848 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003506/0.6401, allocations: 145.7 kB / 0.6305 GB, free: 5.703 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001458/0.6402, allocations: 71.91 kB / 0.6305 GB, free: 5.633 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006517/0.6409, allocations: 471 kB / 0.631 GB, free: 5.168 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6409, allocations: 0 / 0.631 GB, free: 5.168 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003261/0.6441, allocations: 1.072 MB / 0.632 GB, free: 4.094 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.002109/0.6462, allocations: 1.175 MB / 0.6332 GB, free: 2.91 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003907/0.6501, allocations: 2.148 MB / 0.6353 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6501, allocations: 0 / 0.6353 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002148/0.6523, allocations: 1.302 MB / 0.6366 GB, free: 15.37 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/0.6537, allocations: 298.8 kB / 0.6368 GB, free: 15.08 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005475/0.6592, allocations: 3.189 MB / 0.64 GB, free: 11.86 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007696/0.66, allocations: 0.6929 MB / 0.6406 GB, free: 11.13 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001218/0.6612, allocations: 338.8 kB / 0.641 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000567/0.6618, allocations: 248.3 kB / 0.6412 GB, free: 10.56 MB / 494.1 MB Notification: Performance of SimCode: time 9.31e-07/0.6618, allocations: 3.938 kB / 0.6412 GB, free: 10.55 MB / 494.1 MB Notification: Performance of Templates: time 0.06134/0.7231, allocations: 38.19 MB / 0.6785 GB, free: 4.676 MB / 0.5137 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: 7.048453867435455] Failed to read output from testmodel.py, exit status != 0: 0.7335788495838642 0.7497552230000001 0.26776646400000004 Calling exit ...