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.001303/0.001303, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001453/0.001453, allocations: 213.7 kB / 22.24 MB, free: 5.238 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.379/1.379, allocations: 230.6 MB / 256 MB, free: 7.809 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.1342/0.1342, allocations: 24 MB / 336.4 MB, free: 10.85 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.002243/0.002243, allocations: 71.84 kB / 471.8 MB, free: 6.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.281, allocations: 59.89 MB / 0.5192 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.008628/0.2896, allocations: 7.44 MB / 0.5265 GB, free: 4.844 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02697/0.3166, allocations: 21.32 MB / 0.5473 GB, free: 6.309 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001447/0.318, allocations: 29.56 kB / 0.5473 GB, free: 6.293 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001673/0.3197, allocations: 460.8 kB / 0.5478 GB, free: 6.059 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006743/0.3264, allocations: 2.155 MB / 0.5499 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00926/0.3357, allocations: 3.073 MB / 0.5529 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003717/0.3394, allocations: 2.44 MB / 0.5553 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001765/0.3412, allocations: 1.12 MB / 0.5564 GB, free: 320 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002015/0.3432, allocations: 1.23 MB / 0.5576 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002523/0.3457, allocations: 1.22 MB / 0.5588 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006061/0.3463, allocations: 216.2 kB / 0.559 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008003/0.3543, allocations: 2.528 MB / 0.5614 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008469/0.3552, allocations: 0.5102 MB / 0.5619 GB, free: 13.72 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002091/0.3573, allocations: 0.9182 MB / 0.5628 GB, free: 12.8 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01202/0.3693, allocations: 5.237 MB / 0.5679 GB, free: 7.539 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3693, allocations: 0 / 0.5679 GB, free: 7.539 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3693, allocations: 4 kB / 0.5679 GB, free: 7.535 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.503e-05/0.3694, allocations: 0 / 0.5679 GB, free: 7.535 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.00594/0.3753, allocations: 2.635 MB / 0.5705 GB, free: 4.855 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.3754, allocations: 8.031 kB / 0.5705 GB, free: 4.848 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001886/0.3772, allocations: 423 kB / 0.5709 GB, free: 4.434 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00185/0.3791, allocations: 0.8982 MB / 0.5718 GB, free: 3.508 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000233/0.3793, allocations: 238.9 kB / 0.572 GB, free: 3.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003403/0.3797, allocations: 188.3 kB / 0.5722 GB, free: 3.066 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003602/0.3833, allocations: 2.093 MB / 0.5743 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.636e-05/0.3833, allocations: 0 / 0.5743 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001722/0.3835, allocations: 68 kB / 0.5743 GB, free: 0.875 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.765e-05/0.3835, allocations: 51.92 kB / 0.5744 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004213/0.3877, allocations: 2.58 MB / 0.5769 GB, free: 14.24 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.01001/0.3977, allocations: 5.239 MB / 0.582 GB, free: 8.895 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00468/0.4024, allocations: 2.539 MB / 0.5845 GB, free: 6.348 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001375/0.4038, allocations: 0.8314 MB / 0.5853 GB, free: 5.508 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009321/0.4131, allocations: 4.248 MB / 0.5894 GB, free: 1.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.212e-05/0.4132, allocations: 51.88 kB / 0.5895 GB, free: 1.172 MB / 430.1 MB Notification: Performance of pre-optimization done (n=144): time 3.327e-06/0.4132, allocations: 3.938 kB / 0.5895 GB, free: 1.168 MB / 430.1 MB Notification: Performance of matching and sorting (n=180): time 0.02847/0.4416, allocations: 6.72 MB / 0.5961 GB, free: 10.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.98e-05/0.4417, allocations: 95.11 kB / 0.5961 GB, free: 10.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.4427, allocations: 0.747 MB / 0.5969 GB, free: 9.516 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001436/0.4429, allocations: 53.7 kB / 0.5969 GB, free: 9.457 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005929/0.4435, allocations: 0.7663 MB / 0.5977 GB, free: 8.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006264/0.4441, allocations: 0.6391 MB / 0.5983 GB, free: 8.035 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005571/0.4446, allocations: 363.5 kB / 0.5986 GB, free: 7.672 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.4448, allocations: 353.9 kB / 0.599 GB, free: 7.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001172/0.446, allocations: 0.6208 MB / 0.5996 GB, free: 6.695 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001679/0.4477, allocations: 1.133 MB / 0.6007 GB, free: 5.336 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003106/0.4508, allocations: 1.921 MB / 0.6026 GB, free: 3.199 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.287e-05/0.4508, allocations: 4 kB / 0.6026 GB, free: 3.195 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.007427/0.4582, allocations: 2.467 MB / 0.605 GB, free: 0.707 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.4583, allocations: 12 kB / 0.605 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.308e-05/0.4583, allocations: 20.81 kB / 0.605 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003687/0.462, allocations: 470.9 kB / 0.6055 GB, free: 208 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002359/0.4643, allocations: 0.5305 MB / 0.606 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01084/0.4752, allocations: 7.121 MB / 0.6129 GB, free: 8.145 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/0.4764, allocations: 63.94 kB / 0.613 GB, free: 8.082 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002097/0.4766, allocations: 104 kB / 0.6131 GB, free: 7.98 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.0007047/0.4773, allocations: 361.3 kB / 0.6134 GB, free: 7.617 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003539/0.4776, allocations: 143.1 kB / 0.6136 GB, free: 7.477 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007615/0.4853, allocations: 2.44 MB / 0.616 GB, free: 5.02 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/0.4853, allocations: 16 kB / 0.616 GB, free: 5.004 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.4853, allocations: 4 kB / 0.616 GB, free: 5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-05/0.4853, allocations: 7.969 kB / 0.616 GB, free: 4.992 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009338/0.4946, allocations: 3.616 MB / 0.6195 GB, free: 1.324 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.4947, allocations: 3.938 kB / 0.6195 GB, free: 1.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002057/0.4967, allocations: 391.5 kB / 0.6199 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003614/0.5003, allocations: 450.9 kB / 0.6203 GB, free: 496 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001961/0.5005, allocations: 59.97 kB / 0.6204 GB, free: 436 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01004/0.5106, allocations: 6.961 MB / 0.6272 GB, free: 9.055 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.5106, allocations: 0 / 0.6272 GB, free: 9.055 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008722/0.5193, allocations: 3.128 MB / 0.6302 GB, free: 5.906 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003152/0.5196, allocations: 123 kB / 0.6304 GB, free: 5.785 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002338/0.5198, allocations: 35.94 kB / 0.6304 GB, free: 5.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008666/0.5207, allocations: 36 kB / 0.6304 GB, free: 5.715 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003305/0.521, allocations: 145.7 kB / 0.6306 GB, free: 5.57 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001443/0.5212, allocations: 67.97 kB / 0.6306 GB, free: 5.504 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006935/0.5219, allocations: 467 kB / 0.6311 GB, free: 5.043 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5219, allocations: 0 / 0.6311 GB, free: 5.043 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00321/0.5251, allocations: 1.072 MB / 0.6321 GB, free: 3.969 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.002537/0.5276, allocations: 1.18 MB / 0.6333 GB, free: 2.781 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004119/0.5317, allocations: 2.14 MB / 0.6354 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.5317, allocations: 0 / 0.6354 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002184/0.5339, allocations: 1.303 MB / 0.6366 GB, free: 15.25 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/0.5354, allocations: 310.5 kB / 0.6369 GB, free: 14.95 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00583/0.5412, allocations: 3.184 MB / 0.64 GB, free: 11.72 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000826/0.5421, allocations: 0.6969 MB / 0.6407 GB, free: 10.99 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001306/0.5434, allocations: 345.8 kB / 0.6411 GB, free: 10.66 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005898/0.5439, allocations: 235.3 kB / 0.6413 GB, free: 10.43 MB / 494.1 MB Notification: Performance of SimCode: time 7.42e-07/0.5439, allocations: 0 / 0.6413 GB, free: 10.43 MB / 494.1 MB Notification: Performance of Templates: time 0.06234/0.6063, allocations: 40.43 MB / 0.6808 GB, free: 2.316 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 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.273650309070945] Failed to read output from testmodel.py, exit status != 0: 0.6155169270932674 0.629419446 0.25704903300000004 Calling exit ...