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.001358/0.001358, allocations: 103.6 kB / 18.95 MB, free: 2.656 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.001438/0.001438, allocations: 221.6 kB / 22.25 MB, free: 5.262 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.487/1.487, allocations: 230.6 MB / 256 MB, free: 7.773 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.1382/0.1382, allocations: 23.88 MB / 336.3 MB, free: 10.95 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.002512/0.002512, allocations: 67.89 kB / 471.6 MB, free: 6.992 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3355, allocations: 59.86 MB / 0.519 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.007527/0.343, allocations: 7.447 MB / 0.5263 GB, free: 4.824 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02886/0.3719, allocations: 21.31 MB / 0.5471 GB, free: 6.301 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001679/0.3736, allocations: 33.06 kB / 0.5471 GB, free: 6.281 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001615/0.3752, allocations: 473.3 kB / 0.5476 GB, free: 6.035 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00792/0.3831, allocations: 2.149 MB / 0.5497 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01021/0.3933, allocations: 3.071 MB / 0.5527 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004364/0.3977, allocations: 2.441 MB / 0.5551 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001764/0.3994, allocations: 1.146 MB / 0.5562 GB, free: 304 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002025/0.4015, allocations: 1.227 MB / 0.5574 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00237/0.4038, allocations: 1.364 MB / 0.5587 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004372/0.4043, allocations: 215.4 kB / 0.5589 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009146/0.4134, allocations: 2.586 MB / 0.5614 GB, free: 14.03 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009432/0.4144, allocations: 0.5205 MB / 0.562 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001758/0.4161, allocations: 0.9108 MB / 0.5628 GB, free: 12.76 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01324/0.4294, allocations: 5.233 MB / 0.568 GB, free: 7.504 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.4294, allocations: 3.938 kB / 0.568 GB, free: 7.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4294, allocations: 0 / 0.568 GB, free: 7.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.116e-05/0.4294, allocations: 0 / 0.568 GB, free: 7.5 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.006032/0.4355, allocations: 2.635 MB / 0.5705 GB, free: 4.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.4355, allocations: 8.031 kB / 0.5705 GB, free: 4.812 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001897/0.4374, allocations: 427 kB / 0.571 GB, free: 4.395 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001907/0.4393, allocations: 0.9021 MB / 0.5718 GB, free: 3.465 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002403/0.4395, allocations: 242.9 kB / 0.5721 GB, free: 3.203 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003189/0.4399, allocations: 184.3 kB / 0.5722 GB, free: 3.023 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004019/0.4439, allocations: 2.089 MB / 0.5743 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.859e-05/0.4439, allocations: 0 / 0.5743 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000183/0.4441, allocations: 72 kB / 0.5743 GB, free: 0.832 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.284e-05/0.4441, allocations: 44 kB / 0.5744 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004768/0.4489, allocations: 2.577 MB / 0.5769 GB, free: 14.21 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.01159/0.4605, allocations: 5.25 MB / 0.582 GB, free: 8.852 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004869/0.4654, allocations: 2.535 MB / 0.5845 GB, free: 6.301 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001483/0.4669, allocations: 0.8351 MB / 0.5853 GB, free: 5.465 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01113/0.478, allocations: 4.244 MB / 0.5895 GB, free: 1.191 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.773e-05/0.478, allocations: 43.88 kB / 0.5895 GB, free: 1.141 MB / 430.1 MB Notification: Performance of pre-optimization done (n=144): time 4.188e-06/0.478, allocations: 0 / 0.5895 GB, free: 1.141 MB / 430.1 MB Notification: Performance of matching and sorting (n=180): time 0.02918/0.5072, allocations: 6.734 MB / 0.5961 GB, free: 10.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.831e-05/0.5073, allocations: 103.1 kB / 0.5962 GB, free: 10.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009808/0.5083, allocations: 0.747 MB / 0.5969 GB, free: 9.461 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002072/0.5085, allocations: 53.7 kB / 0.597 GB, free: 9.402 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006011/0.5091, allocations: 0.7663 MB / 0.5977 GB, free: 8.625 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006933/0.5098, allocations: 0.6351 MB / 0.5983 GB, free: 7.984 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005826/0.5104, allocations: 363.5 kB / 0.5987 GB, free: 7.621 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.5105, allocations: 353.9 kB / 0.599 GB, free: 7.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/0.5117, allocations: 0.617 MB / 0.5996 GB, free: 6.648 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001689/0.5134, allocations: 1.145 MB / 0.6007 GB, free: 5.277 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003011/0.5164, allocations: 1.913 MB / 0.6026 GB, free: 3.148 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.5164, allocations: 4 kB / 0.6026 GB, free: 3.145 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.007511/0.5239, allocations: 2.467 MB / 0.605 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.554e-05/0.524, allocations: 12 kB / 0.605 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.98e-05/0.524, allocations: 16.91 kB / 0.605 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003567/0.5276, allocations: 470.9 kB / 0.6055 GB, free: 164 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002646/0.5302, allocations: 0.5227 MB / 0.606 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01124/0.5415, allocations: 7.129 MB / 0.613 GB, free: 8.102 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/0.5429, allocations: 67.98 kB / 0.613 GB, free: 8.035 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001971/0.5431, allocations: 99.98 kB / 0.6131 GB, free: 7.938 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.0007809/0.5439, allocations: 369.2 kB / 0.6135 GB, free: 7.566 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003404/0.5443, allocations: 135.1 kB / 0.6136 GB, free: 7.434 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007571/0.5518, allocations: 2.429 MB / 0.616 GB, free: 4.98 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.809e-05/0.5519, allocations: 23.98 kB / 0.616 GB, free: 4.957 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.5519, allocations: 0 / 0.616 GB, free: 4.957 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-05/0.5519, allocations: 7.969 kB / 0.616 GB, free: 4.949 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009489/0.5614, allocations: 3.617 MB / 0.6195 GB, free: 1.285 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.5614, allocations: 4 kB / 0.6195 GB, free: 1.281 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002131/0.5635, allocations: 383.5 kB / 0.6199 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003557/0.5671, allocations: 470.8 kB / 0.6204 GB, free: 444 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002385/0.5673, allocations: 51.98 kB / 0.6204 GB, free: 392 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01069/0.578, allocations: 6.957 MB / 0.6272 GB, free: 9.02 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.578, allocations: 0 / 0.6272 GB, free: 9.02 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008674/0.5867, allocations: 3.136 MB / 0.6303 GB, free: 5.863 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004566/0.5871, allocations: 119 kB / 0.6304 GB, free: 5.746 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001905/0.5873, allocations: 39.88 kB / 0.6304 GB, free: 5.707 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008043/0.5881, allocations: 35.98 kB / 0.6305 GB, free: 5.672 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003927/0.5885, allocations: 149.7 kB / 0.6306 GB, free: 5.523 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001429/0.5887, allocations: 63.97 kB / 0.6307 GB, free: 5.461 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007142/0.5894, allocations: 471 kB / 0.6311 GB, free: 4.996 MB / 478.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5894, allocations: 0 / 0.6311 GB, free: 4.996 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003997/0.5934, allocations: 1.072 MB / 0.6322 GB, free: 3.922 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.002397/0.5958, allocations: 1.175 MB / 0.6333 GB, free: 2.738 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004035/0.5998, allocations: 2.147 MB / 0.6354 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.5998, allocations: 0 / 0.6354 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002272/0.6021, allocations: 1.303 MB / 0.6367 GB, free: 15.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001697/0.6038, allocations: 293.2 kB / 0.637 GB, free: 14.91 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006094/0.6099, allocations: 3.192 MB / 0.6401 GB, free: 11.68 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008416/0.6107, allocations: 0.7007 MB / 0.6408 GB, free: 10.95 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001457/0.6122, allocations: 350.4 kB / 0.6411 GB, free: 10.61 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005625/0.6127, allocations: 239.3 kB / 0.6413 GB, free: 10.37 MB / 494.1 MB Notification: Performance of SimCode: time 1.673e-06/0.6127, allocations: 0 / 0.6413 GB, free: 10.37 MB / 494.1 MB Notification: Performance of Templates: time 0.06459/0.6773, allocations: 40.99 MB / 0.6813 GB, free: 1.691 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: 6.846124116331339] Failed to read output from testmodel.py, exit status != 0: 0.6877840217202902 0.7026742960000001 0.26988383600000004 Calling exit ...