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.001685/0.001685, allocations: 108.7 kB / 16.45 MB, free: 6.453 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.001977/0.001977, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.521/1.521, allocations: 230.6 MB / 252.8 MB, free: 8.992 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.1443/0.1443, allocations: 23.84 MB / 332.7 MB, free: 12.38 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.002114/0.002114, allocations: 63.91 kB / 466.5 MB, free: 9.613 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.326, allocations: 59.82 MB / 0.514 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.008963/0.335, allocations: 8.465 MB / 0.5222 GB, free: 3.184 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03185/0.3668, allocations: 24.29 MB / 0.5459 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001788/0.3686, allocations: 29.19 kB / 0.546 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001797/0.3704, allocations: 0.5081 MB / 0.5465 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008762/0.3792, allocations: 2.167 MB / 0.5486 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01025/0.3894, allocations: 3.031 MB / 0.5515 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004723/0.3941, allocations: 2.451 MB / 0.5539 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001892/0.396, allocations: 1.161 MB / 0.5551 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001927/0.398, allocations: 1.227 MB / 0.5563 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002346/0.4003, allocations: 1.365 MB / 0.5576 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004017/0.4007, allocations: 215.6 kB / 0.5578 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01309/0.4138, allocations: 2.688 MB / 0.5604 GB, free: 9.34 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009654/0.4148, allocations: 0.5121 MB / 0.5609 GB, free: 8.922 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002135/0.4169, allocations: 1.078 MB / 0.562 GB, free: 8.199 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01694/0.4338, allocations: 5.249 MB / 0.5671 GB, free: 4.625 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.4338, allocations: 4 kB / 0.5671 GB, free: 4.621 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4338, allocations: 0 / 0.5671 GB, free: 4.621 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001293/0.434, allocations: 0 / 0.5671 GB, free: 4.621 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.007475/0.4414, allocations: 2.71 MB / 0.5698 GB, free: 1.848 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.4415, allocations: 11.97 kB / 0.5698 GB, free: 1.836 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002037/0.4435, allocations: 431 kB / 0.5702 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001788/0.4453, allocations: 0.96 MB / 0.5711 GB, free: 420 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002026/0.4455, allocations: 191.5 kB / 0.5713 GB, free: 216 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003317/0.4458, allocations: 184.3 kB / 0.5715 GB, free: 32 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003818/0.4497, allocations: 2.093 MB / 0.5735 GB, free: 13.9 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.451e-05/0.4497, allocations: 0 / 0.5735 GB, free: 13.9 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000198/0.4499, allocations: 72 kB / 0.5736 GB, free: 13.83 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.303e-05/0.45, allocations: 47.98 kB / 0.5736 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004733/0.4547, allocations: 2.608 MB / 0.5762 GB, free: 11.18 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.01254/0.4672, allocations: 6.648 MB / 0.5827 GB, free: 4.246 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005496/0.4727, allocations: 3.048 MB / 0.5856 GB, free: 1.078 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001674/0.4744, allocations: 0.8314 MB / 0.5865 GB, free: 248 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01412/0.4885, allocations: 8.155 MB / 0.5944 GB, free: 7.148 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.156e-05/0.4886, allocations: 59.75 kB / 0.5945 GB, free: 7.082 MB / 446.1 MB Notification: Performance of pre-optimization done (n=144): time 3.076e-06/0.4886, allocations: 0 / 0.5945 GB, free: 7.082 MB / 446.1 MB Notification: Performance of matching and sorting (n=180): time 0.03198/0.5206, allocations: 7.026 MB / 0.6013 GB, free: 15.91 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.559e-05/0.5207, allocations: 103 kB / 0.6014 GB, free: 15.79 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.5219, allocations: 0.7807 MB / 0.6022 GB, free: 14.99 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000304/0.5222, allocations: 57.7 kB / 0.6023 GB, free: 14.93 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006282/0.5229, allocations: 0.7624 MB / 0.603 GB, free: 14.15 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006999/0.5236, allocations: 0.6391 MB / 0.6036 GB, free: 13.51 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006223/0.5242, allocations: 367.4 kB / 0.604 GB, free: 13.14 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.5243, allocations: 301.1 kB / 0.6043 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/0.5256, allocations: 0.6092 MB / 0.6049 GB, free: 12.23 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001794/0.5274, allocations: 1.137 MB / 0.606 GB, free: 10.87 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003455/0.5309, allocations: 1.925 MB / 0.6078 GB, free: 8.727 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.431e-05/0.5309, allocations: 8 kB / 0.6079 GB, free: 8.719 MB / 462.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.00852/0.5394, allocations: 2.464 MB / 0.6103 GB, free: 6.234 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.643e-05/0.5394, allocations: 15.98 kB / 0.6103 GB, free: 6.219 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.395e-05/0.5395, allocations: 16 kB / 0.6103 GB, free: 6.203 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004111/0.5436, allocations: 475.4 kB / 0.6107 GB, free: 5.727 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002854/0.5464, allocations: 0.5227 MB / 0.6113 GB, free: 5.203 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01302/0.5594, allocations: 7.677 MB / 0.6188 GB, free: 12.98 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/0.5611, allocations: 68.05 kB / 0.6188 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003526/0.5615, allocations: 108 kB / 0.6189 GB, free: 12.8 MB / 478.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.0008564/0.5623, allocations: 369.2 kB / 0.6193 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000429/0.5627, allocations: 139.1 kB / 0.6194 GB, free: 12.3 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008509/0.5712, allocations: 2.437 MB / 0.6218 GB, free: 9.848 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.47e-05/0.5713, allocations: 20 kB / 0.6218 GB, free: 9.828 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.515e-05/0.5713, allocations: 0 / 0.6218 GB, free: 9.828 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.648e-05/0.5713, allocations: 11.91 kB / 0.6218 GB, free: 9.816 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0114/0.5827, allocations: 4.066 MB / 0.6258 GB, free: 5.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.5827, allocations: 0 / 0.6258 GB, free: 5.68 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002214/0.5849, allocations: 391.5 kB / 0.6262 GB, free: 5.297 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003878/0.5888, allocations: 454.9 kB / 0.6266 GB, free: 4.84 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002522/0.5891, allocations: 59.97 kB / 0.6267 GB, free: 4.781 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01175/0.6008, allocations: 7.524 MB / 0.634 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.6008, allocations: 3.938 kB / 0.634 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009475/0.6103, allocations: 3.147 MB / 0.6371 GB, free: 9.523 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004872/0.6108, allocations: 200.2 kB / 0.6373 GB, free: 9.309 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003083/0.6111, allocations: 40 kB / 0.6373 GB, free: 9.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009184/0.612, allocations: 35.94 kB / 0.6373 GB, free: 9.234 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003635/0.6124, allocations: 141.8 kB / 0.6375 GB, free: 9.098 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001503/0.6125, allocations: 63.97 kB / 0.6375 GB, free: 9.035 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007591/0.6133, allocations: 0.504 MB / 0.638 GB, free: 8.52 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6133, allocations: 0 / 0.638 GB, free: 8.52 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003563/0.6168, allocations: 1.072 MB / 0.6391 GB, free: 7.445 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.002531/0.6194, allocations: 1.19 MB / 0.6402 GB, free: 6.246 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004434/0.6238, allocations: 2.14 MB / 0.6423 GB, free: 4.059 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.6238, allocations: 4 kB / 0.6423 GB, free: 4.055 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002381/0.6262, allocations: 1.302 MB / 0.6436 GB, free: 2.703 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/0.6279, allocations: 314.9 kB / 0.6439 GB, free: 2.398 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006677/0.6346, allocations: 3.196 MB / 0.647 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001139/0.6358, allocations: 1.277 MB / 0.6483 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001442/0.6372, allocations: 350.6 kB / 0.6486 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006139/0.6378, allocations: 247.2 kB / 0.6488 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of SimCode: time 1.002e-06/0.6378, allocations: 0 / 0.6488 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of Templates: time 0.06588/0.7037, allocations: 38.69 MB / 0.6866 GB, free: 6.742 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.8356530256569386] Failed to read output from testmodel.py, exit status != 0: 0.7135139815509319 0.727242033 0.29021987200000005 Calling exit ...