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.0008265/0.0008265, allocations: 93.06 kB / 19.65 MB, free: 280 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.0008372/0.0008372, allocations: 165 kB / 23.02 MB, free: 1.551 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.9413/0.9413, allocations: 177.1 MB / 203.4 MB, free: 5.605 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.08529/0.08529, allocations: 17.38 MB / 277.3 MB, free: 11.62 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: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 353.4 MB, free: 9.969 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.224e-05, allocations: 2.312 kB / 353.4 MB, free: 9.965 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.01038/0.01041, allocations: 8.416 MB / 361.9 MB, free: 1.508 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02055/0.03096, allocations: 24.48 MB / 386.3 MB, free: 8.938 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008994/0.03186, allocations: 31.75 kB / 386.4 MB, free: 8.906 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.03293, allocations: 476.1 kB / 386.8 MB, free: 8.438 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00437/0.0373, allocations: 2.234 MB / 389.1 MB, free: 6.188 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006915/0.04422, allocations: 3.153 MB / 392.2 MB, free: 3.016 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002742/0.04696, allocations: 2.522 MB / 394.7 MB, free: 492 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001254/0.04822, allocations: 1.174 MB / 395.9 MB, free: 15.26 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001739/0.04995, allocations: 1.696 MB / 397.6 MB, free: 13.56 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00134/0.05129, allocations: 1.138 MB / 398.7 MB, free: 12.42 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003611/0.05166, allocations: 216 kB / 399 MB, free: 12.21 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005367/0.05702, allocations: 2.546 MB / 401.5 MB, free: 9.66 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003672/0.05739, allocations: 0.5218 MB / 402 MB, free: 9.137 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006189/0.05801, allocations: 0.7991 MB / 402.8 MB, free: 8.336 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005764/0.06377, allocations: 4.747 MB / 407.6 MB, free: 3.57 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.06378, allocations: 0 / 407.6 MB, free: 3.57 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.06378, allocations: 0 / 407.6 MB, free: 3.57 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.004e-05/0.0638, allocations: 0 / 407.6 MB, free: 3.57 MB / 330.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.003141/0.06694, allocations: 2.745 MB / 410.3 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.06698, allocations: 12.03 kB / 410.3 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/0.06819, allocations: 0.6847 MB / 411 MB, free: 76 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1303/0.1985, allocations: 0.9035 MB / 411.9 MB, free: 61.61 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001448/0.1986, allocations: 244.9 kB / 412.2 MB, free: 61.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000263/0.1989, allocations: 184.2 kB / 412.3 MB, free: 61.48 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002148/0.201, allocations: 1.667 MB / 414 MB, free: 61.31 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/0.201, allocations: 7.688 kB / 414 MB, free: 61.31 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.2011, allocations: 74.56 kB / 414.1 MB, free: 61.31 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.94e-05/0.2012, allocations: 41.25 kB / 414.1 MB, free: 61.31 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002304/0.2035, allocations: 1.727 MB / 415.8 MB, free: 61.29 MB / 330.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.005535/0.209, allocations: 5.146 MB / 421 MB, free: 58.79 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002645/0.2117, allocations: 2.671 MB / 423.7 MB, free: 58.23 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005979/0.2123, allocations: 0.5712 MB / 424.2 MB, free: 58.1 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004324/0.2166, allocations: 4.228 MB / 428.5 MB, free: 55.39 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.2166, allocations: 46.7 kB / 428.5 MB, free: 55.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=144): time 2.505e-06/0.2166, allocations: 0 / 428.5 MB, free: 55.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=180): time 0.01254/0.2291, allocations: 5.897 MB / 434.4 MB, free: 49.56 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.2292, allocations: 101.1 kB / 434.5 MB, free: 49.45 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004468/0.2296, allocations: 0.772 MB / 435.3 MB, free: 48.68 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.971e-05/0.2297, allocations: 57.7 kB / 435.3 MB, free: 48.62 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002094/0.2299, allocations: 0.8177 MB / 436.2 MB, free: 47.89 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002382/0.2301, allocations: 0.6365 MB / 436.8 MB, free: 47.32 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002835/0.2304, allocations: 367.7 kB / 437.1 MB, free: 46.96 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.976e-05/0.2305, allocations: 0.5316 MB / 437.7 MB, free: 46.42 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005028/0.231, allocations: 403.8 kB / 438.1 MB, free: 46.02 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006522/0.2316, allocations: 1.096 MB / 439.2 MB, free: 44.62 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.2329, allocations: 1.673 MB / 440.8 MB, free: 42.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.2329, allocations: 4 kB / 440.8 MB, free: 42.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.003297/0.2362, allocations: 2.084 MB / 442.9 MB, free: 40.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.2362, allocations: 12 kB / 442.9 MB, free: 40.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.2362, allocations: 16 kB / 443 MB, free: 40.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002588/0.2388, allocations: 0.661 MB / 443.6 MB, free: 39.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.24, allocations: 0.5227 MB / 444.1 MB, free: 39.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004669/0.2447, allocations: 8.71 MB / 452.9 MB, free: 30.17 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006111/0.2453, allocations: 64 kB / 452.9 MB, free: 30.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.702e-05/0.2454, allocations: 103.9 kB / 453 MB, free: 30.01 MB / 330.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.0003252/0.2457, allocations: 282.4 kB / 453.3 MB, free: 29.72 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/0.2459, allocations: 191.2 kB / 453.5 MB, free: 29.54 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00342/0.2493, allocations: 2.011 MB / 455.5 MB, free: 27.51 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.2493, allocations: 19.98 kB / 455.5 MB, free: 27.49 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.2493, allocations: 4 kB / 455.5 MB, free: 27.48 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.2493, allocations: 7.969 kB / 455.5 MB, free: 27.48 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00438/0.2537, allocations: 3.171 MB / 458.7 MB, free: 24.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.2537, allocations: 0 / 458.7 MB, free: 24.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009602/0.2547, allocations: 395.5 kB / 459.1 MB, free: 23.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002535/0.2572, allocations: 0.6369 MB / 459.7 MB, free: 23.26 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-05/0.2573, allocations: 51.97 kB / 459.8 MB, free: 23.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003993/0.2613, allocations: 8.547 MB / 468.3 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2613, allocations: 0 / 468.3 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003559/0.2649, allocations: 2.464 MB / 470.8 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.265, allocations: 115.1 kB / 470.9 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.802e-05/0.2651, allocations: 43.94 kB / 470.9 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003833/0.2654, allocations: 32 kB / 471 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001925/0.2656, allocations: 149.7 kB / 471.1 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.924e-05/0.2657, allocations: 59.98 kB / 471.2 MB, free: 11.31 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002958/0.266, allocations: 454.9 kB / 471.6 MB, free: 10.86 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.266, allocations: 0 / 471.6 MB, free: 10.86 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002013/0.268, allocations: 1.075 MB / 472.7 MB, free: 9.781 MB / 330.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.001265/0.2693, allocations: 1.219 MB / 473.9 MB, free: 8.703 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001773/0.2711, allocations: 2.032 MB / 475.9 MB, free: 6.598 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2711, allocations: 4 kB / 475.9 MB, free: 6.594 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008826/0.2719, allocations: 1.4 MB / 477.3 MB, free: 5.125 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008161/0.2728, allocations: 336.7 kB / 477.7 MB, free: 4.801 MB / 330.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003224/0.276, allocations: 2.878 MB / 480.6 MB, free: 1.871 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001585/0.2761, allocations: 313.2 kB / 480.9 MB, free: 1.543 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000678/0.2768, allocations: 340.3 kB / 481.2 MB, free: 1.215 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003324/0.2772, allocations: 244.3 kB / 481.4 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of SimCode: time 9.81e-07/0.2772, allocations: 0 / 481.4 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of Templates: time 0.04202/0.3192, allocations: 38.87 MB / 0.5081 GB, free: 10.45 MB / 378.7 MB " [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=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.05295924982056]