Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.0007482/0.0007482, allocations: 80.45 kB / 19.9 MB, free: 4 kB / 13.93 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.0007186/0.0007186, allocations: 165.9 kB / 23.18 MB, free: 1.375 MB / 18.57 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 0.8694/0.8694, allocations: 177.2 MB / 203.6 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.08844/0.08844, allocations: 17.38 MB / 277.4 MB, free: 11.87 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization") translateModel(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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.0008647/0.0008647, allocations: 67.91 kB / 412.8 MB, free: 15.86 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.274, allocations: 59.83 MB / 472.7 MB, free: 29.78 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.004997/0.279, allocations: 7.423 MB / 480.1 MB, free: 24.85 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0135/0.2925, allocations: 21.32 MB / 0.4897 GB, free: 10.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005311/0.293, allocations: 29.44 kB / 0.4897 GB, free: 10.3 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008542/0.2939, allocations: 475.9 kB / 0.4901 GB, free: 10.05 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00318/0.2971, allocations: 2.153 MB / 0.4922 GB, free: 8.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005246/0.3023, allocations: 3.074 MB / 0.4952 GB, free: 6.969 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001813/0.3041, allocations: 2.437 MB / 0.4976 GB, free: 5.785 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009761/0.3051, allocations: 1.118 MB / 0.4987 GB, free: 5.23 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001341/0.3064, allocations: 1.748 MB / 0.5004 GB, free: 4.555 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001186/0.3076, allocations: 1.228 MB / 0.5016 GB, free: 4.145 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002397/0.3079, allocations: 215.6 kB / 0.5018 GB, free: 4.145 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004922/0.3128, allocations: 2.53 MB / 0.5043 GB, free: 3.586 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003591/0.3131, allocations: 0.519 MB / 0.5048 GB, free: 3.258 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006654/0.3138, allocations: 0.9124 MB / 0.5057 GB, free: 2.793 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004601/0.3184, allocations: 5.269 MB / 0.5108 GB, free: 15.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3184, allocations: 0 / 0.5108 GB, free: 15.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.3184, allocations: 3.984 kB / 0.5108 GB, free: 15.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.042e-05/0.3184, allocations: 1.094 kB / 0.5108 GB, free: 15.7 MB / 426.7 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.003078/0.3215, allocations: 2.635 MB / 0.5134 GB, free: 13.92 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.3216, allocations: 9.375 kB / 0.5134 GB, free: 13.92 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.3226, allocations: 422.3 kB / 0.5138 GB, free: 13.61 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.3236, allocations: 0.906 MB / 0.5147 GB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/0.3238, allocations: 242.9 kB / 0.5149 GB, free: 12.42 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000189/0.324, allocations: 180.3 kB / 0.5151 GB, free: 12.24 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002208/0.3262, allocations: 2.093 MB / 0.5172 GB, free: 10.12 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.746e-05/0.3262, allocations: 4 kB / 0.5172 GB, free: 10.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/0.3263, allocations: 64 kB / 0.5172 GB, free: 10.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.25e-05/0.3263, allocations: 44 kB / 0.5173 GB, free: 10.01 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002544/0.3289, allocations: 2.581 MB / 0.5198 GB, free: 7.426 MB / 426.7 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.005751/0.3346, allocations: 5.25 MB / 0.5249 GB, free: 2.066 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00273/0.3374, allocations: 2.527 MB / 0.5274 GB, free: 15.53 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008383/0.3382, allocations: 0.8307 MB / 0.5282 GB, free: 14.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005142/0.3433, allocations: 4.26 MB / 0.5324 GB, free: 10.41 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.3434, allocations: 47.88 kB / 0.5324 GB, free: 10.35 MB / 442.7 MB Notification: Performance of pre-optimization done (n=144): time 2.976e-06/0.3434, allocations: 7.938 kB / 0.5324 GB, free: 10.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=180): time 0.01418/0.3576, allocations: 6.725 MB / 0.539 GB, free: 3.551 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.3576, allocations: 95.11 kB / 0.5391 GB, free: 3.438 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005583/0.3582, allocations: 0.7431 MB / 0.5398 GB, free: 2.688 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.591e-05/0.3582, allocations: 53.7 kB / 0.5398 GB, free: 2.629 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003393/0.3586, allocations: 0.7623 MB / 0.5406 GB, free: 1.855 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003478/0.3589, allocations: 0.6391 MB / 0.5412 GB, free: 1.211 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000343/0.3593, allocations: 363.5 kB / 0.5416 GB, free: 0.8477 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.3594, allocations: 353.9 kB / 0.5419 GB, free: 0.4961 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007494/0.3601, allocations: 0.6248 MB / 0.5425 GB, free: 15.86 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009872/0.3611, allocations: 1.141 MB / 0.5436 GB, free: 14.5 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001862/0.363, allocations: 1.917 MB / 0.5455 GB, free: 12.36 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.363, allocations: 4 kB / 0.5455 GB, free: 12.36 MB / 458.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.003974/0.367, allocations: 2.456 MB / 0.5479 GB, free: 9.883 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.367, allocations: 15.94 kB / 0.5479 GB, free: 9.867 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.12e-05/0.367, allocations: 16.09 kB / 0.5479 GB, free: 9.852 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001719/0.3687, allocations: 474.9 kB / 0.5484 GB, free: 9.375 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.3699, allocations: 0.5227 MB / 0.5489 GB, free: 8.852 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006121/0.3761, allocations: 7.141 MB / 0.5559 GB, free: 1.312 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007048/0.3768, allocations: 60 kB / 0.5559 GB, free: 1.254 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.3769, allocations: 99.97 kB / 0.556 GB, free: 1.156 MB / 458.7 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.0005162/0.3774, allocations: 373.1 kB / 0.5564 GB, free: 0.7812 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/0.3776, allocations: 139.2 kB / 0.5565 GB, free: 0.6445 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004773/0.3823, allocations: 2.423 MB / 0.5589 GB, free: 14.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.077e-05/0.3824, allocations: 20 kB / 0.5589 GB, free: 14.18 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/0.3824, allocations: 0 / 0.5589 GB, free: 14.18 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-05/0.3824, allocations: 15.91 kB / 0.5589 GB, free: 14.16 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005942/0.3883, allocations: 3.629 MB / 0.5624 GB, free: 10.49 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.3883, allocations: 0 / 0.5624 GB, free: 10.49 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/0.3894, allocations: 387.5 kB / 0.5628 GB, free: 10.11 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001706/0.3911, allocations: 462.8 kB / 0.5633 GB, free: 9.645 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/0.3912, allocations: 55.97 kB / 0.5633 GB, free: 9.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0064/0.3976, allocations: 6.957 MB / 0.5701 GB, free: 2.227 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3976, allocations: 0 / 0.5701 GB, free: 2.227 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005197/0.4028, allocations: 3.128 MB / 0.5732 GB, free: 15.08 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003373/0.4032, allocations: 123 kB / 0.5733 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.4033, allocations: 35.94 kB / 0.5733 GB, free: 14.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004501/0.4037, allocations: 36 kB / 0.5733 GB, free: 14.89 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002688/0.404, allocations: 145.7 kB / 0.5735 GB, free: 14.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.899e-05/0.4041, allocations: 67.97 kB / 0.5735 GB, free: 14.68 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005083/0.4046, allocations: 463 kB / 0.574 GB, free: 14.22 MB / 490.7 MB Notification: Performance of sort global known variables: time 4e-08/0.4046, allocations: 4 kB / 0.574 GB, free: 14.21 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002981/0.4076, allocations: 1.072 MB / 0.575 GB, free: 13.14 MB / 490.7 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.002353/0.4099, allocations: 1.18 MB / 0.5762 GB, free: 11.95 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002967/0.4129, allocations: 2.132 MB / 0.5783 GB, free: 9.777 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4129, allocations: 0 / 0.5783 GB, free: 9.777 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00137/0.4143, allocations: 1.306 MB / 0.5795 GB, free: 8.422 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.4154, allocations: 307.4 kB / 0.5798 GB, free: 8.121 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004101/0.4195, allocations: 3.192 MB / 0.583 GB, free: 4.895 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005055/0.42, allocations: 0.689 MB / 0.5836 GB, free: 4.172 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008957/0.4209, allocations: 346.4 kB / 0.584 GB, free: 3.836 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003748/0.4213, allocations: 236.3 kB / 0.5842 GB, free: 3.605 MB / 490.7 MB Notification: Performance of SimCode: time 1.413e-06/0.4213, allocations: 0 / 0.5842 GB, free: 3.605 MB / 490.7 MB Notification: Performance of Templates: time 0.04155/0.4628, allocations: 38.25 MB / 0.6215 GB, free: 13.61 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.sim & ./Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.555411775945686] Failed to read output from testmodel.py, exit status != 0: 0.46914177399594337 0.704965114 0.16199191000000002 Calling exit ...