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.001599/0.001599, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.001916/0.001916, allocations: 215.8 kB / 23.01 MB, free: 4.609 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.419/1.419, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.1344/0.1344, allocations: 23.86 MB / 337 MB, free: 11.23 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.002045/0.002045, allocations: 72.17 kB / 472.4 MB, free: 7.227 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.281, allocations: 59.85 MB / 0.5198 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.007477/0.2885, allocations: 8.512 MB / 0.5281 GB, free: 3.812 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02878/0.3173, allocations: 24.33 MB / 0.5519 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001455/0.3187, allocations: 28.75 kB / 0.5519 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001587/0.3203, allocations: 0.5153 MB / 0.5524 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006618/0.3269, allocations: 2.182 MB / 0.5545 GB, free: 448 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008843/0.3358, allocations: 3.066 MB / 0.5575 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003861/0.3396, allocations: 2.439 MB / 0.5599 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001777/0.3414, allocations: 1.133 MB / 0.561 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001959/0.3434, allocations: 1.235 MB / 0.5622 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002703/0.3461, allocations: 1.365 MB / 0.5636 GB, free: 10.63 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000645/0.3467, allocations: 218.4 kB / 0.5638 GB, free: 10.63 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009102/0.3558, allocations: 2.694 MB / 0.5664 GB, free: 9.641 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008117/0.3566, allocations: 0.508 MB / 0.5669 GB, free: 9.227 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001835/0.3584, allocations: 1.083 MB / 0.568 GB, free: 8.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0124/0.3709, allocations: 5.244 MB / 0.5731 GB, free: 3.332 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.3709, allocations: 0 / 0.5731 GB, free: 3.332 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3709, allocations: 0 / 0.5731 GB, free: 3.332 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.347e-05/0.3709, allocations: 0 / 0.5731 GB, free: 3.332 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.00626/0.3772, allocations: 2.647 MB / 0.5757 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.3772, allocations: 8.031 kB / 0.5757 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001976/0.3792, allocations: 426.9 kB / 0.5761 GB, free: 220 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001828/0.381, allocations: 0.906 MB / 0.577 GB, free: 15.28 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002147/0.3813, allocations: 242.9 kB / 0.5772 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003237/0.3816, allocations: 184.3 kB / 0.5774 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003647/0.3852, allocations: 2.085 MB / 0.5794 GB, free: 12.72 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.919e-05/0.3853, allocations: 4 kB / 0.5794 GB, free: 12.72 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001767/0.3855, allocations: 68 kB / 0.5795 GB, free: 12.65 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.845e-05/0.3855, allocations: 44 kB / 0.5795 GB, free: 12.61 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004367/0.3899, allocations: 2.612 MB / 0.5821 GB, free: 9.996 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.01154/0.4014, allocations: 6.581 MB / 0.5885 GB, free: 3.133 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00485/0.4062, allocations: 2.584 MB / 0.591 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001434/0.4077, allocations: 0.8315 MB / 0.5918 GB, free: 15.69 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01008/0.4178, allocations: 4.492 MB / 0.5962 GB, free: 11.17 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/0.4178, allocations: 51.81 kB / 0.5963 GB, free: 11.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=144): time 3.256e-06/0.4178, allocations: 0 / 0.5963 GB, free: 11.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=180): time 0.03153/0.4493, allocations: 6.746 MB / 0.6028 GB, free: 4.297 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.325e-05/0.4494, allocations: 95.11 kB / 0.6029 GB, free: 4.184 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.4505, allocations: 0.7846 MB / 0.6037 GB, free: 3.375 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001629/0.4506, allocations: 53.7 kB / 0.6038 GB, free: 3.316 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005659/0.4512, allocations: 0.7507 MB / 0.6045 GB, free: 2.555 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000595/0.4518, allocations: 0.6469 MB / 0.6051 GB, free: 1.902 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005381/0.4523, allocations: 363.5 kB / 0.6055 GB, free: 1.539 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.4524, allocations: 301.1 kB / 0.6058 GB, free: 1.242 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001161/0.4536, allocations: 0.6131 MB / 0.6064 GB, free: 0.625 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001622/0.4552, allocations: 1.141 MB / 0.6075 GB, free: 15.26 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002992/0.4582, allocations: 1.921 MB / 0.6093 GB, free: 13.12 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.786e-06/0.4582, allocations: 4 kB / 0.6093 GB, free: 13.11 MB / 462.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008019/0.4662, allocations: 2.472 MB / 0.6118 GB, free: 10.62 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.197e-05/0.4663, allocations: 14.81 kB / 0.6118 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.211e-05/0.4663, allocations: 19.94 kB / 0.6118 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004222/0.4705, allocations: 467.2 kB / 0.6122 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002497/0.473, allocations: 0.5188 MB / 0.6127 GB, free: 9.605 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0115/0.4845, allocations: 7.284 MB / 0.6199 GB, free: 1.871 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/0.486, allocations: 63.98 kB / 0.6199 GB, free: 1.809 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001957/0.4862, allocations: 99.98 kB / 0.62 GB, free: 1.711 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.0007129/0.4869, allocations: 381.7 kB / 0.6204 GB, free: 1.328 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003399/0.4872, allocations: 143.1 kB / 0.6205 GB, free: 1.188 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008278/0.4955, allocations: 2.429 MB / 0.6229 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.985e-05/0.4955, allocations: 16 kB / 0.6229 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.4955, allocations: 8 kB / 0.6229 GB, free: 14.72 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.408e-05/0.4955, allocations: 7.969 kB / 0.6229 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/0.5062, allocations: 4.049 MB / 0.6269 GB, free: 10.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/0.5062, allocations: 4 kB / 0.6269 GB, free: 10.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00222/0.5084, allocations: 387.5 kB / 0.6272 GB, free: 10.22 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004094/0.5125, allocations: 454.9 kB / 0.6277 GB, free: 9.762 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002599/0.5128, allocations: 55.97 kB / 0.6277 GB, free: 9.707 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01085/0.5236, allocations: 7.11 MB / 0.6347 GB, free: 2.141 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5236, allocations: 4.031 kB / 0.6347 GB, free: 2.137 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009201/0.5328, allocations: 3.132 MB / 0.6377 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003787/0.5332, allocations: 127.2 kB / 0.6379 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002495/0.5335, allocations: 43.98 kB / 0.6379 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008906/0.5344, allocations: 39.94 kB / 0.6379 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003128/0.5347, allocations: 149.7 kB / 0.6381 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001545/0.5348, allocations: 63.98 kB / 0.6381 GB, free: 14.56 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006887/0.5355, allocations: 0.504 MB / 0.6386 GB, free: 14.04 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5355, allocations: 0 / 0.6386 GB, free: 14.04 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003134/0.5387, allocations: 1.075 MB / 0.6397 GB, free: 12.96 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.002226/0.5409, allocations: 1.168 MB / 0.6408 GB, free: 11.79 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004012/0.5449, allocations: 2.151 MB / 0.6429 GB, free: 9.586 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5449, allocations: 448 / 0.6429 GB, free: 9.586 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002237/0.5471, allocations: 1.299 MB / 0.6442 GB, free: 8.242 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/0.5487, allocations: 310.2 kB / 0.6445 GB, free: 7.941 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005675/0.5544, allocations: 3.251 MB / 0.6477 GB, free: 4.641 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001167/0.5555, allocations: 1.277 MB / 0.6489 GB, free: 3.332 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008756/0.5564, allocations: 315.2 kB / 0.6492 GB, free: 3.023 MB / 494.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5564, allocations: 0 / 0.6492 GB, free: 3.023 MB / 494.1 MB Notification: Performance of Templates: time 0.06731/0.6237, allocations: 55.28 MB / 0.7032 GB, free: 11.82 MB / 0.545 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.950323754921556] Failed to read output from testmodel.py, exit status != 0: 0.6335931750945747 0.647627017 0.273480261 Calling exit ...