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.001268/0.001268, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001393/0.001393, allocations: 156 kB / 23.01 MB, free: 4.605 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.969 MB / 190.1 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.1223/0.1223, allocations: 17.37 MB / 277.1 MB, free: 15.27 MB / 270.1 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.001994/0.001994, allocations: 63.91 kB / 412.4 MB, free: 5.715 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09682/0.09881, allocations: 59.85 MB / 472.3 MB, free: 9.742 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.009094/0.1079, allocations: 7.44 MB / 479.7 MB, free: 2.262 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2042/0.3121, allocations: 21.31 MB / 0.4893 GB, free: 34.79 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001036/0.3131, allocations: 28.19 kB / 0.4893 GB, free: 34.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.3142, allocations: 473 kB / 0.4898 GB, free: 34.53 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004339/0.3185, allocations: 2.152 MB / 0.4919 GB, free: 33.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006054/0.3246, allocations: 3.074 MB / 0.4949 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001994/0.3265, allocations: 2.434 MB / 0.4973 GB, free: 30.26 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00088/0.3274, allocations: 1.111 MB / 0.4983 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008961/0.3283, allocations: 1.232 MB / 0.4995 GB, free: 29.28 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001349/0.3297, allocations: 1.228 MB / 0.5007 GB, free: 28.87 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002767/0.3299, allocations: 214.3 kB / 0.5009 GB, free: 28.87 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005299/0.3352, allocations: 2.52 MB / 0.5034 GB, free: 28.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003674/0.3356, allocations: 0.5185 MB / 0.5039 GB, free: 27.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007826/0.3364, allocations: 0.9071 MB / 0.5048 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007444/0.3438, allocations: 5.238 MB / 0.5099 GB, free: 25.33 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3438, allocations: 3.938 kB / 0.5099 GB, free: 25.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3438, allocations: 0 / 0.5099 GB, free: 25.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.564e-05/0.3439, allocations: 0 / 0.5099 GB, free: 25.32 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.004439/0.3483, allocations: 2.627 MB / 0.5125 GB, free: 23.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.3484, allocations: 13.25 kB / 0.5125 GB, free: 23.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001729/0.3501, allocations: 426 kB / 0.5129 GB, free: 23.69 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.3514, allocations: 0.906 MB / 0.5138 GB, free: 23.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001501/0.3516, allocations: 242.1 kB / 0.514 GB, free: 22.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002617/0.3518, allocations: 184.6 kB / 0.5142 GB, free: 22.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002962/0.3548, allocations: 2.088 MB / 0.5162 GB, free: 22.1 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.234e-05/0.3548, allocations: 3.938 kB / 0.5162 GB, free: 22.1 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001564/0.355, allocations: 70.34 kB / 0.5163 GB, free: 22.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-05/0.355, allocations: 47.2 kB / 0.5163 GB, free: 22.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003557/0.3586, allocations: 2.576 MB / 0.5189 GB, free: 21.29 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.008609/0.3672, allocations: 5.248 MB / 0.524 GB, free: 18.42 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004128/0.3713, allocations: 2.543 MB / 0.5265 GB, free: 17.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00117/0.3725, allocations: 0.8298 MB / 0.5273 GB, free: 17.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008799/0.3813, allocations: 4.24 MB / 0.5314 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.3813, allocations: 51.27 kB / 0.5315 GB, free: 15.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=144): time 3.456e-06/0.3813, allocations: 0 / 0.5315 GB, free: 15.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=180): time 0.02804/0.4094, allocations: 6.745 MB / 0.5381 GB, free: 12.65 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.4094, allocations: 96.55 kB / 0.5381 GB, free: 12.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008553/0.4102, allocations: 0.7487 MB / 0.5389 GB, free: 12.22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000108/0.4104, allocations: 55.7 kB / 0.5389 GB, free: 12.17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003349/0.4107, allocations: 0.764 MB / 0.5397 GB, free: 11.56 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003748/0.4111, allocations: 0.6377 MB / 0.5403 GB, free: 11.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004617/0.4115, allocations: 362.7 kB / 0.5406 GB, free: 10.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.626e-05/0.4116, allocations: 354.9 kB / 0.541 GB, free: 10.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/0.4126, allocations: 0.6165 MB / 0.5416 GB, free: 10.31 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001215/0.4139, allocations: 1.133 MB / 0.5427 GB, free: 9.449 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002352/0.4162, allocations: 1.918 MB / 0.5446 GB, free: 7.977 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.4162, allocations: 8 kB / 0.5446 GB, free: 7.969 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.006658/0.4229, allocations: 2.461 MB / 0.547 GB, free: 5.781 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.4229, allocations: 15.11 kB / 0.547 GB, free: 5.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.4229, allocations: 16 kB / 0.547 GB, free: 5.754 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003628/0.4265, allocations: 480.4 kB / 0.5475 GB, free: 5.402 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00222/0.4288, allocations: 0.52 MB / 0.548 GB, free: 4.953 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009338/0.4381, allocations: 7.13 MB / 0.5549 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/0.4395, allocations: 65.12 kB / 0.555 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001992/0.4397, allocations: 108 kB / 0.5551 GB, free: 13.59 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.0007939/0.4405, allocations: 366.3 kB / 0.5555 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003116/0.4408, allocations: 131.2 kB / 0.5556 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00771/0.4485, allocations: 2.431 MB / 0.558 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.823e-05/0.4485, allocations: 27.92 kB / 0.558 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.4485, allocations: 0 / 0.558 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.059e-05/0.4485, allocations: 7.969 kB / 0.558 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00944/0.458, allocations: 3.613 MB / 0.5615 GB, free: 7.336 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.458, allocations: 0 / 0.5615 GB, free: 7.336 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00206/0.46, allocations: 387.5 kB / 0.5619 GB, free: 6.957 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003703/0.4637, allocations: 462.8 kB / 0.5623 GB, free: 6.492 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001425/0.4639, allocations: 51.98 kB / 0.5624 GB, free: 6.441 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01009/0.474, allocations: 6.957 MB / 0.5692 GB, free: 15.08 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.474, allocations: 0 / 0.5692 GB, free: 15.08 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00852/0.4825, allocations: 3.137 MB / 0.5722 GB, free: 11.93 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002949/0.4828, allocations: 111.1 kB / 0.5723 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/0.483, allocations: 35.98 kB / 0.5724 GB, free: 11.78 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008639/0.4839, allocations: 39.94 kB / 0.5724 GB, free: 11.74 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003219/0.4842, allocations: 153.7 kB / 0.5726 GB, free: 11.59 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001487/0.4843, allocations: 61.11 kB / 0.5726 GB, free: 11.53 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006251/0.485, allocations: 471 kB / 0.5731 GB, free: 11.07 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.485, allocations: 0 / 0.5731 GB, free: 11.07 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003175/0.4881, allocations: 1.075 MB / 0.5741 GB, free: 9.988 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.002317/0.4904, allocations: 1.167 MB / 0.5753 GB, free: 8.816 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003893/0.4943, allocations: 2.14 MB / 0.5773 GB, free: 6.637 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4943, allocations: 4 kB / 0.5773 GB, free: 6.633 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0021/0.4964, allocations: 1.303 MB / 0.5786 GB, free: 5.281 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001383/0.4978, allocations: 306.7 kB / 0.5789 GB, free: 4.984 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005446/0.5033, allocations: 3.197 MB / 0.582 GB, free: 1.754 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007721/0.504, allocations: 0.6968 MB / 0.5827 GB, free: 1.023 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001205/0.5052, allocations: 346.8 kB / 0.583 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005523/0.5058, allocations: 236.3 kB / 0.5833 GB, free: 468 kB / 478.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5058, allocations: 0 / 0.5833 GB, free: 468 kB / 478.1 MB Notification: Performance of Templates: time 0.05974/0.5655, allocations: 38.2 MB / 0.6206 GB, free: 10.51 MB / 0.5137 GB " [Timeout remaining time 659] 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 ida -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.132414175081067] Failed to read output from testmodel.py, exit status != 0: 0.5743216309929267 0.588322355 0.24141544199999995 Calling exit ...