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.00139/0.00139, allocations: 84.83 kB / 19.76 MB, free: 2.023 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.001638/0.001638, allocations: 157.5 kB / 23 MB, free: 4.961 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.333/1.333, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.1 MB " [Timeout remaining time 179] 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.1204/0.1204, allocations: 17.44 MB / 277.2 MB, free: 15.2 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.002051/0.002051, allocations: 63.89 kB / 412.6 MB, free: 5.551 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09887/0.1009, allocations: 59.87 MB / 472.5 MB, free: 9.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.009186/0.1101, allocations: 7.452 MB / 479.9 MB, free: 2.078 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1997/0.3099, allocations: 21.3 MB / 0.4895 GB, free: 34.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009698/0.3108, allocations: 32.59 kB / 0.4895 GB, free: 34.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.3119, allocations: 481 kB / 0.49 GB, free: 34.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004494/0.3164, allocations: 2.143 MB / 0.492 GB, free: 32.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006142/0.3225, allocations: 3.071 MB / 0.495 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002041/0.3245, allocations: 2.436 MB / 0.4974 GB, free: 30 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000893/0.3254, allocations: 1.119 MB / 0.4985 GB, free: 29.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.3264, allocations: 1.232 MB / 0.4997 GB, free: 29.01 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001335/0.3278, allocations: 1.225 MB / 0.5009 GB, free: 28.6 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002548/0.328, allocations: 215.2 kB / 0.5011 GB, free: 28.6 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005443/0.3335, allocations: 2.524 MB / 0.5036 GB, free: 28.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003784/0.3338, allocations: 0.5128 MB / 0.5041 GB, free: 27.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008035/0.3347, allocations: 0.9072 MB / 0.505 GB, free: 27.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007275/0.3419, allocations: 5.24 MB / 0.5101 GB, free: 25.06 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3419, allocations: 0 / 0.5101 GB, free: 25.06 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3419, allocations: 0 / 0.5101 GB, free: 25.06 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.068e-05/0.342, allocations: 0 / 0.5101 GB, free: 25.06 MB / 446.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.004332/0.3463, allocations: 2.635 MB / 0.5127 GB, free: 23.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.3463, allocations: 9.094 kB / 0.5127 GB, free: 23.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001631/0.348, allocations: 429 kB / 0.5131 GB, free: 23.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/0.3492, allocations: 0.9032 MB / 0.514 GB, free: 22.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001381/0.3494, allocations: 238.5 kB / 0.5142 GB, free: 22.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002599/0.3496, allocations: 185 kB / 0.5144 GB, free: 22.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002844/0.3525, allocations: 2.088 MB / 0.5164 GB, free: 21.83 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.822e-05/0.3525, allocations: 1.062 kB / 0.5164 GB, free: 21.83 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001554/0.3527, allocations: 70.19 kB / 0.5165 GB, free: 21.78 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.648e-05/0.3527, allocations: 46.94 kB / 0.5165 GB, free: 21.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003523/0.3562, allocations: 2.579 MB / 0.519 GB, free: 21.02 MB / 446.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.008372/0.3646, allocations: 5.247 MB / 0.5242 GB, free: 18.15 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004158/0.3688, allocations: 2.533 MB / 0.5266 GB, free: 17.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001193/0.37, allocations: 0.832 MB / 0.5275 GB, free: 16.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008604/0.3786, allocations: 4.245 MB / 0.5316 GB, free: 15.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.3786, allocations: 50.72 kB / 0.5316 GB, free: 15.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=144): time 3.336e-06/0.3786, allocations: 1.188 kB / 0.5316 GB, free: 15.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=180): time 0.02697/0.4056, allocations: 6.737 MB / 0.5382 GB, free: 12.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.4056, allocations: 95.77 kB / 0.5383 GB, free: 12.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007465/0.4063, allocations: 0.7446 MB / 0.539 GB, free: 11.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.613e-05/0.4064, allocations: 55.39 kB / 0.5391 GB, free: 11.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002998/0.4067, allocations: 0.7658 MB / 0.5398 GB, free: 11.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003128/0.407, allocations: 0.6406 MB / 0.5405 GB, free: 10.78 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004274/0.4075, allocations: 358.7 kB / 0.5408 GB, free: 10.61 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.158e-05/0.4075, allocations: 359 kB / 0.5412 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000946/0.4085, allocations: 0.6132 MB / 0.5418 GB, free: 10.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/0.4096, allocations: 1.132 MB / 0.5429 GB, free: 9.188 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002267/0.4119, allocations: 1.919 MB / 0.5447 GB, free: 7.684 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/0.4119, allocations: 4 kB / 0.5447 GB, free: 7.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.006527/0.4184, allocations: 2.47 MB / 0.5471 GB, free: 5.484 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.4185, allocations: 12.89 kB / 0.5472 GB, free: 5.473 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.4185, allocations: 19.94 kB / 0.5472 GB, free: 5.453 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003582/0.4221, allocations: 473.6 kB / 0.5476 GB, free: 5.109 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00212/0.4242, allocations: 0.5191 MB / 0.5481 GB, free: 4.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009215/0.4334, allocations: 7.128 MB / 0.5551 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.4346, allocations: 74.88 kB / 0.5552 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000184/0.4348, allocations: 101.5 kB / 0.5553 GB, free: 13.3 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.0007269/0.4356, allocations: 373.1 kB / 0.5556 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003101/0.4359, allocations: 131.2 kB / 0.5557 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007703/0.4436, allocations: 2.425 MB / 0.5581 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.332e-05/0.4436, allocations: 23.94 kB / 0.5581 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.4436, allocations: 0 / 0.5581 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.388e-05/0.4436, allocations: 17.55 kB / 0.5582 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009705/0.4533, allocations: 3.605 MB / 0.5617 GB, free: 7.082 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.4533, allocations: 4 kB / 0.5617 GB, free: 7.078 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002078/0.4554, allocations: 391.5 kB / 0.5621 GB, free: 6.695 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003742/0.4592, allocations: 462.8 kB / 0.5625 GB, free: 6.23 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001543/0.4593, allocations: 51.97 kB / 0.5625 GB, free: 6.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01035/0.4697, allocations: 6.958 MB / 0.5693 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4697, allocations: 0 / 0.5693 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008513/0.4782, allocations: 3.139 MB / 0.5724 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003062/0.4785, allocations: 115.1 kB / 0.5725 GB, free: 11.55 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002097/0.4787, allocations: 36 kB / 0.5725 GB, free: 11.51 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009046/0.4796, allocations: 43.92 kB / 0.5726 GB, free: 11.47 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003204/0.4799, allocations: 150.8 kB / 0.5727 GB, free: 11.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001438/0.4801, allocations: 63.97 kB / 0.5728 GB, free: 11.26 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006573/0.4807, allocations: 471 kB / 0.5732 GB, free: 10.79 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4807, allocations: 3.938 kB / 0.5732 GB, free: 10.79 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003199/0.4839, allocations: 1.072 MB / 0.5743 GB, free: 9.715 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.002374/0.4863, allocations: 1.169 MB / 0.5754 GB, free: 8.539 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003884/0.4902, allocations: 2.144 MB / 0.5775 GB, free: 6.355 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4902, allocations: 0 / 0.5775 GB, free: 6.355 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002071/0.4923, allocations: 1.306 MB / 0.5788 GB, free: 5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/0.4937, allocations: 301.2 kB / 0.5791 GB, free: 4.715 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005666/0.4993, allocations: 3.192 MB / 0.5822 GB, free: 1.488 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007833/0.5001, allocations: 0.6969 MB / 0.5829 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001211/0.5013, allocations: 344.3 kB / 0.5832 GB, free: 432 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005489/0.5019, allocations: 240.3 kB / 0.5834 GB, free: 192 kB / 478.1 MB Notification: Performance of SimCode: time 8.71e-07/0.5019, allocations: 4 kB / 0.5835 GB, free: 188 kB / 478.1 MB Notification: Performance of Templates: time 0.05839/0.5603, allocations: 38.21 MB / 0.6208 GB, free: 10.23 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 ida -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.067002657917328] Failed to read output from testmodel.py, exit status != 0: 0.5687516289763153 0.582608691 0.237553009 Calling exit ...