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.001316/0.001316, allocations: 92.42 kB / 19.7 MB, free: 2.137 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.001528/0.001528, allocations: 215.5 kB / 23 MB, free: 4.949 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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.1444/0.1444, allocations: 23.88 MB / 337.1 MB, free: 10.98 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.002006/0.002006, allocations: 63.89 kB / 472.4 MB, free: 7.023 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3629, allocations: 59.85 MB / 0.5198 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.01416/0.3771, allocations: 7.446 MB / 0.527 GB, free: 4.902 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05173/0.4288, allocations: 21.31 MB / 0.5478 GB, free: 6.375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002596/0.4314, allocations: 28.97 kB / 0.5479 GB, free: 6.359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00237/0.4338, allocations: 472.4 kB / 0.5483 GB, free: 6.113 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008518/0.4423, allocations: 2.148 MB / 0.5504 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0121/0.4544, allocations: 3.076 MB / 0.5534 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004678/0.4591, allocations: 2.437 MB / 0.5558 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002185/0.4613, allocations: 1.139 MB / 0.5569 GB, free: 408 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00264/0.4639, allocations: 1.23 MB / 0.5581 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003328/0.4672, allocations: 1.368 MB / 0.5594 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008898/0.4681, allocations: 216.3 kB / 0.5597 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01053/0.4787, allocations: 2.586 MB / 0.5622 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001261/0.4799, allocations: 0.5239 MB / 0.5627 GB, free: 13.7 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002055/0.482, allocations: 0.9062 MB / 0.5636 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01421/0.4962, allocations: 5.233 MB / 0.5687 GB, free: 7.535 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.4962, allocations: 3.938 kB / 0.5687 GB, free: 7.531 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4962, allocations: 0 / 0.5687 GB, free: 7.531 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.433e-05/0.4963, allocations: 0 / 0.5687 GB, free: 7.531 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.005885/0.5021, allocations: 2.639 MB / 0.5713 GB, free: 4.848 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.5022, allocations: 12.03 kB / 0.5713 GB, free: 4.836 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001939/0.5041, allocations: 427 kB / 0.5717 GB, free: 4.418 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001921/0.506, allocations: 0.9021 MB / 0.5726 GB, free: 3.488 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002322/0.5063, allocations: 246.9 kB / 0.5728 GB, free: 3.223 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004043/0.5067, allocations: 184.3 kB / 0.573 GB, free: 3.043 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003811/0.5105, allocations: 2.089 MB / 0.575 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.198e-05/0.5105, allocations: 4 kB / 0.575 GB, free: 0.918 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001738/0.5107, allocations: 68 kB / 0.5751 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001176/0.5108, allocations: 44 kB / 0.5751 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004529/0.5154, allocations: 2.577 MB / 0.5776 GB, free: 14.23 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.01137/0.5267, allocations: 5.254 MB / 0.5828 GB, free: 8.867 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004932/0.5316, allocations: 2.531 MB / 0.5852 GB, free: 6.324 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00147/0.5331, allocations: 0.8274 MB / 0.5861 GB, free: 5.492 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01065/0.5438, allocations: 4.248 MB / 0.5902 GB, free: 1.215 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.907e-05/0.5438, allocations: 47.88 kB / 0.5902 GB, free: 1.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=144): time 4.348e-06/0.5438, allocations: 4 kB / 0.5903 GB, free: 1.156 MB / 430.1 MB Notification: Performance of matching and sorting (n=180): time 0.02773/0.5715, allocations: 6.738 MB / 0.5968 GB, free: 10.35 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.808e-05/0.5716, allocations: 95.11 kB / 0.5969 GB, free: 10.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009958/0.5726, allocations: 0.747 MB / 0.5977 GB, free: 9.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000182/0.5728, allocations: 53.7 kB / 0.5977 GB, free: 9.422 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000579/0.5734, allocations: 0.7623 MB / 0.5984 GB, free: 8.648 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006097/0.574, allocations: 0.6391 MB / 0.5991 GB, free: 8.004 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005472/0.5746, allocations: 359.5 kB / 0.5994 GB, free: 7.645 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.5748, allocations: 357.9 kB / 0.5998 GB, free: 7.289 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/0.5759, allocations: 0.617 MB / 0.6004 GB, free: 6.668 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001628/0.5775, allocations: 1.137 MB / 0.6015 GB, free: 5.305 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002998/0.5805, allocations: 1.917 MB / 0.6033 GB, free: 3.172 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/0.5805, allocations: 4 kB / 0.6033 GB, free: 3.168 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.007239/0.5878, allocations: 2.464 MB / 0.6058 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.257e-05/0.5878, allocations: 8 kB / 0.6058 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.772e-05/0.5878, allocations: 19.98 kB / 0.6058 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003463/0.5913, allocations: 474.9 kB / 0.6062 GB, free: 188 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002589/0.5939, allocations: 0.5227 MB / 0.6067 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01103/0.6049, allocations: 7.14 MB / 0.6137 GB, free: 8.117 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/0.6063, allocations: 63.98 kB / 0.6138 GB, free: 8.055 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002078/0.6065, allocations: 95.98 kB / 0.6139 GB, free: 7.961 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.0007506/0.6073, allocations: 373.2 kB / 0.6142 GB, free: 7.586 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003789/0.6076, allocations: 139.2 kB / 0.6144 GB, free: 7.449 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007278/0.6149, allocations: 2.417 MB / 0.6167 GB, free: 5.008 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.56e-05/0.6149, allocations: 20 kB / 0.6167 GB, free: 4.988 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-05/0.615, allocations: 8 kB / 0.6167 GB, free: 4.98 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.754e-05/0.615, allocations: 11.95 kB / 0.6168 GB, free: 4.969 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009665/0.6246, allocations: 3.609 MB / 0.6203 GB, free: 1.312 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/0.6247, allocations: 0 / 0.6203 GB, free: 1.312 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002042/0.6267, allocations: 387.5 kB / 0.6206 GB, free: 0.9336 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003438/0.6301, allocations: 466.8 kB / 0.6211 GB, free: 476 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002275/0.6304, allocations: 59.97 kB / 0.6212 GB, free: 416 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009981/0.6403, allocations: 6.957 MB / 0.6279 GB, free: 9.043 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.6403, allocations: 0 / 0.6279 GB, free: 9.043 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008056/0.6484, allocations: 3.128 MB / 0.631 GB, free: 5.895 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003705/0.6488, allocations: 123 kB / 0.6311 GB, free: 5.773 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001847/0.649, allocations: 35.94 kB / 0.6312 GB, free: 5.738 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007835/0.6497, allocations: 39.98 kB / 0.6312 GB, free: 5.699 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003276/0.6501, allocations: 145.7 kB / 0.6313 GB, free: 5.555 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001481/0.6502, allocations: 67.97 kB / 0.6314 GB, free: 5.488 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006323/0.6508, allocations: 471 kB / 0.6318 GB, free: 5.023 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6508, allocations: 0 / 0.6318 GB, free: 5.023 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003263/0.6541, allocations: 1.068 MB / 0.6329 GB, free: 3.953 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.002334/0.6564, allocations: 1.187 MB / 0.634 GB, free: 2.758 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004138/0.6606, allocations: 2.136 MB / 0.6361 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.6606, allocations: 0 / 0.6361 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002187/0.6628, allocations: 1.306 MB / 0.6374 GB, free: 15.23 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/0.6643, allocations: 305.2 kB / 0.6377 GB, free: 14.93 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005875/0.6702, allocations: 3.233 MB / 0.6409 GB, free: 11.65 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007915/0.671, allocations: 0.6969 MB / 0.6415 GB, free: 10.92 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008966/0.6719, allocations: 315.1 kB / 0.6418 GB, free: 10.61 MB / 494.1 MB Notification: Performance of SimCode: time 1.263e-06/0.6719, allocations: 0 / 0.6418 GB, free: 10.61 MB / 494.1 MB Notification: Performance of Templates: time 0.07194/0.7438, allocations: 55.81 MB / 0.6963 GB, free: 2.871 MB / 0.5294 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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.091900243016426] Failed to read output from testmodel.py, exit status != 0: 0.7537183449603617 0.768786418 0.268885725 Calling exit ...