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.002037/0.002037, allocations: 105.2 kB / 19.7 MB, free: 2.008 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.002355/0.002355, allocations: 206.8 kB / 22.99 MB, free: 4.41 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.1448/0.1448, allocations: 23.92 MB / 337.1 MB, free: 11.04 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.002086/0.002086, allocations: 67.89 kB / 472.4 MB, free: 6.98 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3213, allocations: 59.87 MB / 0.5198 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.007637/0.3289, allocations: 7.442 MB / 0.5271 GB, free: 4.758 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02866/0.3576, allocations: 21.32 MB / 0.5479 GB, free: 6.227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001818/0.3594, allocations: 25.09 kB / 0.5479 GB, free: 6.215 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001781/0.3612, allocations: 482.4 kB / 0.5484 GB, free: 5.965 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007514/0.3687, allocations: 2.15 MB / 0.5505 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009642/0.3783, allocations: 3.066 MB / 0.5535 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004557/0.3829, allocations: 2.433 MB / 0.5559 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001928/0.3848, allocations: 1.139 MB / 0.557 GB, free: 240 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002182/0.387, allocations: 1.233 MB / 0.5582 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002614/0.3896, allocations: 1.362 MB / 0.5595 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005748/0.3902, allocations: 215.2 kB / 0.5597 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009088/0.3992, allocations: 2.594 MB / 0.5623 GB, free: 13.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001011/0.4003, allocations: 0.5087 MB / 0.5628 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001667/0.4019, allocations: 0.924 MB / 0.5637 GB, free: 12.72 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01366/0.4156, allocations: 5.23 MB / 0.5688 GB, free: 7.469 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.4156, allocations: 0 / 0.5688 GB, free: 7.469 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4156, allocations: 4 kB / 0.5688 GB, free: 7.465 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.214e-05/0.4156, allocations: 0 / 0.5688 GB, free: 7.465 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.005571/0.4212, allocations: 2.639 MB / 0.5713 GB, free: 4.781 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.4213, allocations: 8.031 kB / 0.5714 GB, free: 4.773 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001917/0.4232, allocations: 423 kB / 0.5718 GB, free: 4.359 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00202/0.4252, allocations: 0.906 MB / 0.5726 GB, free: 3.426 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002211/0.4254, allocations: 238.9 kB / 0.5729 GB, free: 3.168 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003406/0.4258, allocations: 188.3 kB / 0.573 GB, free: 2.984 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003817/0.4296, allocations: 2.089 MB / 0.5751 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.816e-05/0.4296, allocations: 0 / 0.5751 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001814/0.4298, allocations: 68 kB / 0.5752 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.736e-05/0.4298, allocations: 44 kB / 0.5752 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004457/0.4343, allocations: 2.577 MB / 0.5777 GB, free: 14.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.01156/0.4458, allocations: 5.258 MB / 0.5828 GB, free: 8.809 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005063/0.4509, allocations: 2.516 MB / 0.5853 GB, free: 6.277 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001507/0.4524, allocations: 0.839 MB / 0.5861 GB, free: 5.438 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01331/0.4657, allocations: 4.252 MB / 0.5903 GB, free: 1.156 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.177e-05/0.4658, allocations: 51.88 kB / 0.5903 GB, free: 1.098 MB / 430.1 MB Notification: Performance of pre-optimization done (n=144): time 5.541e-06/0.4658, allocations: 0 / 0.5903 GB, free: 1.098 MB / 430.1 MB Notification: Performance of matching and sorting (n=180): time 0.03917/0.505, allocations: 6.731 MB / 0.5969 GB, free: 10.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.451e-05/0.5051, allocations: 95.11 kB / 0.597 GB, free: 10.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.5061, allocations: 0.7509 MB / 0.5977 GB, free: 9.426 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002359/0.5063, allocations: 53.7 kB / 0.5978 GB, free: 9.367 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005747/0.5069, allocations: 0.7662 MB / 0.5985 GB, free: 8.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006492/0.5076, allocations: 0.6352 MB / 0.5991 GB, free: 7.949 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005597/0.5081, allocations: 359.5 kB / 0.5995 GB, free: 7.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001993/0.5083, allocations: 361.9 kB / 0.5998 GB, free: 7.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001191/0.5095, allocations: 0.6092 MB / 0.6004 GB, free: 6.617 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001715/0.5112, allocations: 1.137 MB / 0.6015 GB, free: 5.254 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003129/0.5143, allocations: 1.925 MB / 0.6034 GB, free: 3.113 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/0.5144, allocations: 4 kB / 0.6034 GB, free: 3.109 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.007474/0.5218, allocations: 2.468 MB / 0.6058 GB, free: 0.625 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.396e-05/0.5219, allocations: 12 kB / 0.6058 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.664e-05/0.5219, allocations: 24.14 kB / 0.6059 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003665/0.5256, allocations: 466.9 kB / 0.6063 GB, free: 124 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002571/0.5281, allocations: 0.5227 MB / 0.6068 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01101/0.5391, allocations: 7.132 MB / 0.6138 GB, free: 8.062 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.5405, allocations: 63.98 kB / 0.6138 GB, free: 8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000214/0.5408, allocations: 103.9 kB / 0.6139 GB, free: 7.898 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.0007637/0.5415, allocations: 365.3 kB / 0.6143 GB, free: 7.531 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003478/0.5419, allocations: 143.1 kB / 0.6144 GB, free: 7.391 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007712/0.5496, allocations: 2.425 MB / 0.6168 GB, free: 4.941 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.911e-05/0.5496, allocations: 16 kB / 0.6168 GB, free: 4.926 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.5496, allocations: 4 kB / 0.6168 GB, free: 4.922 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.712e-05/0.5496, allocations: 11.95 kB / 0.6168 GB, free: 4.91 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009783/0.5594, allocations: 3.605 MB / 0.6203 GB, free: 1.258 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.5594, allocations: 0 / 0.6203 GB, free: 1.258 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002139/0.5616, allocations: 399.5 kB / 0.6207 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003562/0.5651, allocations: 450.8 kB / 0.6212 GB, free: 424 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001796/0.5653, allocations: 59.97 kB / 0.6212 GB, free: 364 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01021/0.5755, allocations: 6.957 MB / 0.628 GB, free: 8.992 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.5755, allocations: 0 / 0.628 GB, free: 8.992 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008435/0.584, allocations: 3.132 MB / 0.6311 GB, free: 5.84 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003425/0.5843, allocations: 123 kB / 0.6312 GB, free: 5.719 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001992/0.5845, allocations: 39.94 kB / 0.6312 GB, free: 5.68 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008305/0.5853, allocations: 39.98 kB / 0.6313 GB, free: 5.641 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003255/0.5857, allocations: 137.7 kB / 0.6314 GB, free: 5.504 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001469/0.5858, allocations: 71.97 kB / 0.6315 GB, free: 5.434 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006454/0.5864, allocations: 471 kB / 0.6319 GB, free: 4.969 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5864, allocations: 0 / 0.6319 GB, free: 4.969 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003219/0.5897, allocations: 1.072 MB / 0.633 GB, free: 3.895 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.002358/0.592, allocations: 1.176 MB / 0.6341 GB, free: 2.707 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004061/0.5961, allocations: 2.14 MB / 0.6362 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5961, allocations: 4 kB / 0.6362 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002195/0.5983, allocations: 1.314 MB / 0.6375 GB, free: 15.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001612/0.5999, allocations: 301.2 kB / 0.6378 GB, free: 14.87 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005739/0.6056, allocations: 3.238 MB / 0.6409 GB, free: 11.59 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000777/0.6064, allocations: 0.6929 MB / 0.6416 GB, free: 10.86 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008447/0.6073, allocations: 311.2 kB / 0.6419 GB, free: 10.55 MB / 494.1 MB Notification: Performance of SimCode: time 1.102e-06/0.6073, allocations: 0 / 0.6419 GB, free: 10.55 MB / 494.1 MB Notification: Performance of Templates: time 0.07008/0.6773, allocations: 55.82 MB / 0.6964 GB, free: 2.805 MB / 0.5294 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 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.228720468003303] Failed to read output from testmodel.py, exit status != 0: 0.6867929630097933 0.71081059 0.29031342699999996 Calling exit ...