Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001239/0.001239, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001407/0.001407, allocations: 207.9 kB / 22.99 MB, free: 4.984 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.381/1.381, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1318/0.1318, allocations: 23.92 MB / 337.1 MB, free: 10.94 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization") translateModel(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.002004/0.002004, allocations: 63.91 kB / 472.4 MB, free: 6.953 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2784, allocations: 59.88 MB / 0.5198 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.007425/0.2859, allocations: 7.44 MB / 0.5271 GB, free: 4.781 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02582/0.3117, allocations: 21.31 MB / 0.5479 GB, free: 6.254 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001339/0.313, allocations: 29.69 kB / 0.5479 GB, free: 6.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001395/0.3144, allocations: 468.6 kB / 0.5484 GB, free: 5.996 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006534/0.321, allocations: 2.156 MB / 0.5505 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008615/0.3296, allocations: 3.07 MB / 0.5535 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003637/0.3332, allocations: 2.434 MB / 0.5559 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0017/0.3349, allocations: 1.139 MB / 0.557 GB, free: 248 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001889/0.3368, allocations: 1.231 MB / 0.5582 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002073/0.3389, allocations: 1.368 MB / 0.5595 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004256/0.3393, allocations: 216.1 kB / 0.5597 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007604/0.3469, allocations: 2.586 MB / 0.5623 GB, free: 13.97 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006478/0.3475, allocations: 0.5095 MB / 0.5627 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00141/0.349, allocations: 0.9162 MB / 0.5636 GB, free: 12.72 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01049/0.3595, allocations: 5.233 MB / 0.5688 GB, free: 7.465 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3595, allocations: 4 kB / 0.5688 GB, free: 7.461 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3595, allocations: 4 kB / 0.5688 GB, free: 7.457 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.33e-05/0.3595, allocations: 0 / 0.5688 GB, free: 7.457 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.005222/0.3647, allocations: 2.635 MB / 0.5713 GB, free: 4.777 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.3647, allocations: 12.03 kB / 0.5713 GB, free: 4.766 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001859/0.3666, allocations: 423 kB / 0.5717 GB, free: 4.352 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00173/0.3683, allocations: 0.8982 MB / 0.5726 GB, free: 3.426 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00022/0.3686, allocations: 242.9 kB / 0.5729 GB, free: 3.164 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003315/0.3689, allocations: 184.3 kB / 0.573 GB, free: 2.984 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00365/0.3725, allocations: 2.1 MB / 0.5751 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.878e-05/0.3726, allocations: 0 / 0.5751 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001946/0.3728, allocations: 75.97 kB / 0.5752 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.563e-05/0.3728, allocations: 47.94 kB / 0.5752 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004267/0.3771, allocations: 2.577 MB / 0.5777 GB, free: 14.15 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.01022/0.3873, allocations: 5.243 MB / 0.5828 GB, free: 8.801 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004765/0.3921, allocations: 2.531 MB / 0.5853 GB, free: 6.254 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001366/0.3934, allocations: 0.839 MB / 0.5861 GB, free: 5.414 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009573/0.403, allocations: 4.244 MB / 0.5903 GB, free: 1.141 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.403, allocations: 47.88 kB / 0.5903 GB, free: 1.086 MB / 430.1 MB Notification: Performance of pre-optimization done (n=144): time 3.397e-06/0.403, allocations: 3.938 kB / 0.5903 GB, free: 1.082 MB / 430.1 MB Notification: Performance of matching and sorting (n=180): time 0.03257/0.4356, allocations: 6.734 MB / 0.5969 GB, free: 10.28 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.334e-05/0.4357, allocations: 99.11 kB / 0.597 GB, free: 10.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009124/0.4366, allocations: 0.7431 MB / 0.5977 GB, free: 9.414 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001452/0.4368, allocations: 61.64 kB / 0.5978 GB, free: 9.348 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005513/0.4373, allocations: 0.7623 MB / 0.5985 GB, free: 8.574 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005785/0.4379, allocations: 0.6391 MB / 0.5991 GB, free: 7.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005526/0.4384, allocations: 363.5 kB / 0.5995 GB, free: 7.566 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.4386, allocations: 357.9 kB / 0.5998 GB, free: 7.211 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/0.4398, allocations: 0.6169 MB / 0.6004 GB, free: 6.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001587/0.4414, allocations: 1.13 MB / 0.6015 GB, free: 5.234 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002946/0.4443, allocations: 1.921 MB / 0.6034 GB, free: 3.098 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/0.4443, allocations: 4 kB / 0.6034 GB, free: 3.094 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008215/0.4525, allocations: 2.467 MB / 0.6058 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.4526, allocations: 12 kB / 0.6058 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/0.4526, allocations: 16 kB / 0.6059 GB, free: 0.582 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004327/0.4569, allocations: 475.6 kB / 0.6063 GB, free: 108 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002484/0.4594, allocations: 0.5188 MB / 0.6068 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0115/0.4709, allocations: 7.124 MB / 0.6138 GB, free: 8.059 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.4723, allocations: 75.98 kB / 0.6138 GB, free: 7.984 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001946/0.4725, allocations: 104 kB / 0.6139 GB, free: 7.883 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.0007056/0.4732, allocations: 361.3 kB / 0.6143 GB, free: 7.52 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003333/0.4735, allocations: 139.1 kB / 0.6144 GB, free: 7.383 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008499/0.482, allocations: 2.433 MB / 0.6168 GB, free: 4.926 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.329e-05/0.482, allocations: 20 kB / 0.6168 GB, free: 4.906 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.4821, allocations: 4 kB / 0.6168 GB, free: 4.902 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.864e-05/0.4821, allocations: 7.969 kB / 0.6168 GB, free: 4.895 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01009/0.4922, allocations: 3.613 MB / 0.6204 GB, free: 1.234 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.868e-06/0.4922, allocations: 7.938 kB / 0.6204 GB, free: 1.227 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002125/0.4943, allocations: 391.5 kB / 0.6207 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004246/0.4985, allocations: 454.9 kB / 0.6212 GB, free: 396 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001696/0.4987, allocations: 55.97 kB / 0.6212 GB, free: 340 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01054/0.5093, allocations: 6.953 MB / 0.628 GB, free: 8.973 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.5093, allocations: 3.984 kB / 0.628 GB, free: 8.969 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008863/0.5181, allocations: 3.124 MB / 0.6311 GB, free: 5.824 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002848/0.5184, allocations: 127 kB / 0.6312 GB, free: 5.699 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002025/0.5186, allocations: 39.94 kB / 0.6312 GB, free: 5.66 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009358/0.5196, allocations: 36 kB / 0.6313 GB, free: 5.625 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003163/0.5199, allocations: 141.7 kB / 0.6314 GB, free: 5.484 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001464/0.52, allocations: 67.98 kB / 0.6315 GB, free: 5.418 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005993/0.5206, allocations: 471 kB / 0.6319 GB, free: 4.953 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5206, allocations: 0 / 0.6319 GB, free: 4.953 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003047/0.5237, allocations: 1.075 MB / 0.633 GB, free: 3.875 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.002126/0.5258, allocations: 1.168 MB / 0.6341 GB, free: 2.695 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003816/0.5296, allocations: 2.148 MB / 0.6362 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5296, allocations: 0 / 0.6362 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002109/0.5317, allocations: 1.31 MB / 0.6375 GB, free: 15.14 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/0.5331, allocations: 305.8 kB / 0.6378 GB, free: 14.85 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005308/0.5384, allocations: 3.195 MB / 0.6409 GB, free: 11.61 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007391/0.5392, allocations: 0.689 MB / 0.6416 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001221/0.5404, allocations: 346.7 kB / 0.6419 GB, free: 10.55 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005673/0.541, allocations: 239.3 kB / 0.6421 GB, free: 10.32 MB / 494.1 MB Notification: Performance of SimCode: time 4.91e-07/0.541, allocations: 0 / 0.6421 GB, free: 10.32 MB / 494.1 MB Notification: Performance of Templates: time 0.06053/0.6015, allocations: 40.99 MB / 0.6822 GB, free: 1.641 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.sim & ./Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.2835111960012] Failed to read output from testmodel.py, exit status != 0: 0.6106221619993448 0.624985287 0.26231059500000004 Calling exit ...