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.001417/0.001417, allocations: 88.72 kB / 19.44 MB, free: 360 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.00168/0.00168, allocations: 157.7 kB / 22.75 MB, free: 1.688 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 1.515/1.515, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 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.1374/0.1374, allocations: 17.37 MB / 276.9 MB, free: 11.67 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 9.91e-07/9.91e-07, allocations: 0 / 352.7 MB, free: 10.33 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.292e-05, allocations: 2.312 kB / 352.7 MB, free: 10.32 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.01096/0.01098, allocations: 7.425 MB / 360.1 MB, free: 2.863 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.03254/0.04353, allocations: 21.31 MB / 381.4 MB, free: 13.47 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001249/0.04477, allocations: 31.75 kB / 381.5 MB, free: 13.44 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00178/0.04656, allocations: 468.2 kB / 381.9 MB, free: 12.98 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006828/0.05338, allocations: 2.23 MB / 384.2 MB, free: 10.73 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009434/0.06282, allocations: 3.149 MB / 387.3 MB, free: 7.562 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005017/0.06783, allocations: 2.526 MB / 389.8 MB, free: 5.023 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002616/0.07045, allocations: 1.173 MB / 391 MB, free: 3.805 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003318/0.07377, allocations: 1.689 MB / 392.7 MB, free: 2.113 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002961/0.07673, allocations: 1.103 MB / 393.8 MB, free: 1.008 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007808/0.07751, allocations: 216 kB / 394 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008393/0.0859, allocations: 2.542 MB / 396.6 MB, free: 14.25 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009831/0.08689, allocations: 0.5296 MB / 397.1 MB, free: 13.72 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001928/0.08881, allocations: 0.7835 MB / 397.9 MB, free: 12.93 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01408/0.1029, allocations: 5.554 MB / 403.4 MB, free: 7.359 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1029, allocations: 4 kB / 403.4 MB, free: 7.355 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.1029, allocations: 0 / 403.4 MB, free: 7.355 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001182/0.103, allocations: 0 / 403.4 MB, free: 7.355 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.007241/0.1103, allocations: 2.619 MB / 406 MB, free: 4.691 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.1103, allocations: 12.03 kB / 406.1 MB, free: 4.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002802/0.1131, allocations: 0.6847 MB / 406.7 MB, free: 3.992 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002228/0.1153, allocations: 0.917 MB / 407.7 MB, free: 3.043 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002838/0.1156, allocations: 242.9 kB / 407.9 MB, free: 2.781 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004742/0.1161, allocations: 184.3 kB / 408.1 MB, free: 2.602 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005499/0.1216, allocations: 2.089 MB / 410.2 MB, free: 492 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.371e-05/0.1217, allocations: 192 / 410.2 MB, free: 492 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003819/0.122, allocations: 84.05 kB / 410.2 MB, free: 408 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.764e-05/0.1221, allocations: 40 kB / 410.3 MB, free: 368 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1539/0.276, allocations: 2.572 MB / 412.9 MB, free: 64.72 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.01059/0.2866, allocations: 5.287 MB / 418.1 MB, free: 62.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004704/0.2913, allocations: 2.539 MB / 420.7 MB, free: 61.32 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001208/0.2925, allocations: 0.8284 MB / 421.5 MB, free: 60.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00844/0.3009, allocations: 4.397 MB / 425.9 MB, free: 59.27 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.3009, allocations: 51.81 kB / 426 MB, free: 59.2 MB / 330.7 MB Notification: Performance of pre-optimization done (n=144): time 3.677e-06/0.301, allocations: 0 / 426 MB, free: 59.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=180): time 0.02807/0.329, allocations: 6.778 MB / 432.7 MB, free: 52.52 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.3291, allocations: 99.11 kB / 432.8 MB, free: 52.4 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007141/0.3298, allocations: 0.7391 MB / 433.6 MB, free: 51.68 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001427/0.3299, allocations: 57.7 kB / 433.6 MB, free: 51.61 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002804/0.3302, allocations: 0.7633 MB / 434.4 MB, free: 50.88 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003639/0.3306, allocations: 0.6335 MB / 435 MB, free: 50.26 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004316/0.331, allocations: 366.6 kB / 435.4 MB, free: 49.89 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.852e-05/0.3311, allocations: 353.9 kB / 435.7 MB, free: 49.54 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009082/0.332, allocations: 0.617 MB / 436.3 MB, free: 48.92 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/0.3331, allocations: 1.13 MB / 437.5 MB, free: 47.57 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002205/0.3353, allocations: 1.915 MB / 439.4 MB, free: 45.46 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.3353, allocations: 4 kB / 439.4 MB, free: 45.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.00698/0.3423, allocations: 2.564 MB / 442 MB, free: 42.88 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.3423, allocations: 15.94 kB / 442 MB, free: 42.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/0.3423, allocations: 19.88 kB / 442 MB, free: 42.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006237/0.3485, allocations: 0.7097 MB / 442.7 MB, free: 42.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002383/0.3509, allocations: 0.5266 MB / 443.2 MB, free: 41.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008917/0.3598, allocations: 7.135 MB / 450.4 MB, free: 34.08 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/0.3614, allocations: 64 kB / 450.4 MB, free: 34.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001736/0.3615, allocations: 99.97 kB / 450.5 MB, free: 33.92 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.0006037/0.3622, allocations: 369.3 kB / 450.9 MB, free: 33.55 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003841/0.3625, allocations: 199.1 kB / 451.1 MB, free: 33.35 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007219/0.3698, allocations: 2.428 MB / 453.5 MB, free: 30.92 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.827e-05/0.3698, allocations: 20 kB / 453.5 MB, free: 30.9 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.437e-05/0.3698, allocations: 7.766 kB / 453.5 MB, free: 30.9 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.022e-05/0.3698, allocations: 11.97 kB / 453.5 MB, free: 30.89 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009028/0.3788, allocations: 3.615 MB / 457.2 MB, free: 27.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/0.3789, allocations: 0 / 457.2 MB, free: 27.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001967/0.3808, allocations: 391.5 kB / 457.5 MB, free: 26.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006122/0.3869, allocations: 0.7083 MB / 458.3 MB, free: 26.17 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002916/0.3872, allocations: 55.97 kB / 458.3 MB, free: 26.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008061/0.3953, allocations: 6.962 MB / 465.3 MB, free: 18.75 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.3953, allocations: 3.938 kB / 465.3 MB, free: 18.75 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007731/0.403, allocations: 3.19 MB / 468.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003004/0.4033, allocations: 115.1 kB / 468.6 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000175/0.4035, allocations: 36 kB / 468.6 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008752/0.4044, allocations: 35.98 kB / 468.6 MB, free: 15.35 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003059/0.4047, allocations: 153.7 kB / 468.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/0.4048, allocations: 63.97 kB / 468.9 MB, free: 15.14 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004918/0.4053, allocations: 471 kB / 469.3 MB, free: 14.68 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4053, allocations: 0 / 469.3 MB, free: 14.68 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003338/0.4086, allocations: 1.072 MB / 470.4 MB, free: 13.61 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.001959/0.4106, allocations: 1.218 MB / 471.6 MB, free: 12.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003325/0.4139, allocations: 2.147 MB / 473.8 MB, free: 10.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4139, allocations: 0 / 473.8 MB, free: 10.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001709/0.4156, allocations: 1.302 MB / 475.1 MB, free: 8.973 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.4172, allocations: 348.1 kB / 475.4 MB, free: 8.641 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004371/0.4215, allocations: 3.098 MB / 478.5 MB, free: 5.5 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005378/0.4221, allocations: 0.7006 MB / 479.2 MB, free: 4.762 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001322/0.4234, allocations: 341.8 kB / 479.5 MB, free: 4.43 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005115/0.4239, allocations: 240.3 kB / 479.8 MB, free: 4.195 MB / 330.7 MB Notification: Performance of SimCode: time 1.854e-06/0.4239, allocations: 0 / 479.8 MB, free: 4.195 MB / 330.7 MB Notification: Performance of Templates: time 0.06415/0.4881, allocations: 38.41 MB / 0.506 GB, free: 14.1 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=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.456294664996676]