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.001375/0.001375, allocations: 110.4 kB / 19.7 MB, free: 2.262 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.001594/0.001594, allocations: 217.5 kB / 23.01 MB, free: 4.598 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.143/0.143, allocations: 23.89 MB / 337.1 MB, free: 11.18 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.002019/0.002019, allocations: 67.91 kB / 472.5 MB, free: 7.137 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3408, allocations: 59.88 MB / 0.5199 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.008336/0.3491, allocations: 8.501 MB / 0.5282 GB, free: 3.754 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02969/0.3788, allocations: 24.34 MB / 0.552 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001915/0.3807, allocations: 29.03 kB / 0.552 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001683/0.3824, allocations: 0.5072 MB / 0.5525 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007584/0.39, allocations: 2.187 MB / 0.5546 GB, free: 384 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009606/0.3996, allocations: 3.065 MB / 0.5576 GB, free: 14.24 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004277/0.4039, allocations: 2.443 MB / 0.56 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001754/0.4056, allocations: 1.133 MB / 0.5611 GB, free: 11.94 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00206/0.4077, allocations: 1.226 MB / 0.5623 GB, free: 11.37 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002755/0.4105, allocations: 1.364 MB / 0.5636 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004857/0.4109, allocations: 215.5 kB / 0.5638 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01054/0.4215, allocations: 2.694 MB / 0.5665 GB, free: 9.566 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009606/0.4224, allocations: 0.5075 MB / 0.567 GB, free: 9.152 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00193/0.4244, allocations: 1.079 MB / 0.568 GB, free: 8.43 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01439/0.4388, allocations: 5.251 MB / 0.5731 GB, free: 3.242 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.4388, allocations: 0 / 0.5731 GB, free: 3.242 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4388, allocations: 0 / 0.5731 GB, free: 3.242 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.098e-05/0.4388, allocations: 0 / 0.5731 GB, free: 3.242 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.005716/0.4445, allocations: 2.647 MB / 0.5757 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.4446, allocations: 8.031 kB / 0.5757 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001896/0.4465, allocations: 427 kB / 0.5761 GB, free: 128 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001919/0.4484, allocations: 0.8982 MB / 0.577 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000246/0.4486, allocations: 242.9 kB / 0.5773 GB, free: 14.94 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000324/0.449, allocations: 184.3 kB / 0.5774 GB, free: 14.76 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003775/0.4527, allocations: 2.089 MB / 0.5795 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.653e-05/0.4528, allocations: 3.938 kB / 0.5795 GB, free: 12.63 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001794/0.453, allocations: 72 kB / 0.5795 GB, free: 12.56 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.823e-05/0.453, allocations: 40 kB / 0.5796 GB, free: 12.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00452/0.4575, allocations: 2.616 MB / 0.5821 GB, free: 9.906 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.01216/0.4697, allocations: 6.585 MB / 0.5886 GB, free: 3.043 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004973/0.4746, allocations: 2.588 MB / 0.5911 GB, free: 448 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001465/0.4761, allocations: 0.8347 MB / 0.5919 GB, free: 15.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01014/0.4863, allocations: 4.492 MB / 0.5963 GB, free: 11.08 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.4863, allocations: 51.75 kB / 0.5963 GB, free: 11.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=144): time 3.256e-06/0.4863, allocations: 3.938 kB / 0.5964 GB, free: 11.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=180): time 0.03134/0.5176, allocations: 6.734 MB / 0.6029 GB, free: 4.215 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.616e-05/0.5177, allocations: 99.11 kB / 0.603 GB, free: 4.098 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.5189, allocations: 0.7846 MB / 0.6038 GB, free: 3.289 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002313/0.5191, allocations: 57.7 kB / 0.6038 GB, free: 3.227 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006083/0.5197, allocations: 0.7507 MB / 0.6046 GB, free: 2.465 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006393/0.5204, allocations: 0.6507 MB / 0.6052 GB, free: 1.809 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005585/0.5209, allocations: 355.5 kB / 0.6056 GB, free: 1.453 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.5211, allocations: 301.1 kB / 0.6058 GB, free: 1.156 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/0.5222, allocations: 0.6209 MB / 0.6064 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001655/0.5239, allocations: 1.13 MB / 0.6075 GB, free: 15.17 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003002/0.5269, allocations: 1.921 MB / 0.6094 GB, free: 13.03 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.238e-05/0.5269, allocations: 7.938 kB / 0.6094 GB, free: 13.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.007816/0.5347, allocations: 2.472 MB / 0.6118 GB, free: 10.54 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.42e-05/0.5347, allocations: 12 kB / 0.6119 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.312e-05/0.5348, allocations: 16 kB / 0.6119 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003989/0.5387, allocations: 475.3 kB / 0.6123 GB, free: 10.03 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00259/0.5413, allocations: 0.5227 MB / 0.6128 GB, free: 9.508 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01186/0.5532, allocations: 7.278 MB / 0.6199 GB, free: 1.785 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/0.5547, allocations: 67.98 kB / 0.62 GB, free: 1.719 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002039/0.5549, allocations: 108 kB / 0.6201 GB, free: 1.613 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.0008011/0.5557, allocations: 373.7 kB / 0.6205 GB, free: 1.238 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003574/0.5561, allocations: 139.1 kB / 0.6206 GB, free: 1.102 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008036/0.5641, allocations: 2.429 MB / 0.623 GB, free: 14.65 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.368e-05/0.5642, allocations: 20.09 kB / 0.623 GB, free: 14.63 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.5642, allocations: 3.984 kB / 0.623 GB, free: 14.63 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.341e-05/0.5642, allocations: 7.969 kB / 0.623 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01055/0.5747, allocations: 4.057 MB / 0.627 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.5748, allocations: 0 / 0.627 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002067/0.5768, allocations: 391.5 kB / 0.6273 GB, free: 10.12 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003721/0.5805, allocations: 454.9 kB / 0.6278 GB, free: 9.664 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002192/0.5808, allocations: 55.98 kB / 0.6278 GB, free: 9.609 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0108/0.5916, allocations: 7.107 MB / 0.6348 GB, free: 2.047 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.5916, allocations: 0 / 0.6348 GB, free: 2.047 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008923/0.6005, allocations: 3.147 MB / 0.6378 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000371/0.6009, allocations: 123 kB / 0.638 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001955/0.6011, allocations: 36 kB / 0.638 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008606/0.6019, allocations: 39.94 kB / 0.638 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003256/0.6022, allocations: 145.7 kB / 0.6382 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001401/0.6024, allocations: 63.97 kB / 0.6382 GB, free: 14.47 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007106/0.6031, allocations: 0.504 MB / 0.6387 GB, free: 13.95 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6031, allocations: 0 / 0.6387 GB, free: 13.95 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003316/0.6064, allocations: 1.075 MB / 0.6398 GB, free: 12.88 MB / 494.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.002501/0.6089, allocations: 1.175 MB / 0.6409 GB, free: 11.69 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004096/0.613, allocations: 2.136 MB / 0.643 GB, free: 9.508 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.613, allocations: 4 kB / 0.643 GB, free: 9.504 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002151/0.6152, allocations: 1.306 MB / 0.6443 GB, free: 8.152 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/0.6167, allocations: 310.2 kB / 0.6446 GB, free: 7.848 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005858/0.6226, allocations: 3.251 MB / 0.6478 GB, free: 4.547 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/0.6236, allocations: 1.273 MB / 0.649 GB, free: 3.242 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000822/0.6244, allocations: 311.2 kB / 0.6493 GB, free: 2.938 MB / 494.1 MB Notification: Performance of SimCode: time 9.12e-07/0.6244, allocations: 0 / 0.6493 GB, free: 2.938 MB / 494.1 MB Notification: Performance of Templates: time 0.06933/0.6937, allocations: 55.28 MB / 0.7033 GB, free: 11.73 MB / 0.545 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.29412417500862] Failed to read output from testmodel.py, exit status != 0: 0.7032691189961042 0.717868384 0.27579188600000004 Calling exit ...