Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001391/0.001391, allocations: 88.72 kB / 19.44 MB, free: 356 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.001568/0.001568, allocations: 157.7 kB / 22.76 MB, free: 1.68 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.497/1.497, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1448/0.1448, allocations: 17.45 MB / 277 MB, free: 11.58 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization") translateModel(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 352.8 MB, free: 10.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.817e-05/2.951e-05, allocations: 5.125 kB / 352.8 MB, free: 10.19 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.01032/0.01035, allocations: 7.425 MB / 360.3 MB, free: 2.73 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.03265/0.043, allocations: 21.31 MB / 381.6 MB, free: 13.34 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001336/0.04434, allocations: 27.75 kB / 381.6 MB, free: 13.31 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001731/0.04607, allocations: 476.1 kB / 382.1 MB, free: 12.84 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007293/0.05336, allocations: 2.226 MB / 384.3 MB, free: 10.6 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00894/0.0623, allocations: 3.149 MB / 387.4 MB, free: 7.43 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004639/0.06694, allocations: 2.53 MB / 390 MB, free: 4.891 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002401/0.06934, allocations: 1.177 MB / 391.1 MB, free: 3.668 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002706/0.07205, allocations: 1.681 MB / 392.8 MB, free: 1.984 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001886/0.07393, allocations: 1.107 MB / 393.9 MB, free: 0.875 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003545/0.07429, allocations: 212 kB / 394.1 MB, free: 0.668 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008166/0.08245, allocations: 2.55 MB / 396.7 MB, free: 14.11 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006274/0.08308, allocations: 0.5218 MB / 397.2 MB, free: 13.59 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001217/0.0843, allocations: 0.7835 MB / 398 MB, free: 12.8 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01236/0.09666, allocations: 5.569 MB / 403.6 MB, free: 7.215 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.09666, allocations: 4 kB / 403.6 MB, free: 7.211 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.09666, allocations: 0 / 403.6 MB, free: 7.211 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.215e-05/0.09669, allocations: 0 / 403.6 MB, free: 7.211 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.005716/0.1024, allocations: 2.612 MB / 406.2 MB, free: 4.555 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.1024, allocations: 12.03 kB / 406.2 MB, free: 4.543 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002403/0.1049, allocations: 0.6808 MB / 406.9 MB, free: 3.859 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001878/0.1067, allocations: 0.9286 MB / 407.8 MB, free: 2.898 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002489/0.107, allocations: 238.9 kB / 408 MB, free: 2.641 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003498/0.1073, allocations: 180.3 kB / 408.2 MB, free: 2.465 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004231/0.1116, allocations: 2.097 MB / 410.3 MB, free: 344 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.736e-05/0.1116, allocations: 192 / 410.3 MB, free: 344 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002233/0.1118, allocations: 76.12 kB / 410.4 MB, free: 268 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-05/0.1119, allocations: 44 kB / 410.4 MB, free: 224 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1523/0.2642, allocations: 2.576 MB / 413 MB, free: 64.21 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.009769/0.274, allocations: 5.277 MB / 418.3 MB, free: 61.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004624/0.2786, allocations: 2.532 MB / 420.8 MB, free: 60.82 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001167/0.2798, allocations: 0.8326 MB / 421.6 MB, free: 60.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008327/0.2881, allocations: 4.404 MB / 426 MB, free: 58.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.2881, allocations: 47.81 kB / 426.1 MB, free: 58.46 MB / 330.7 MB Notification: Performance of pre-optimization done (n=144): time 3.777e-06/0.2881, allocations: 4 kB / 426.1 MB, free: 58.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=180): time 0.02855/0.3167, allocations: 6.77 MB / 432.9 MB, free: 51.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.3167, allocations: 95.7 kB / 432.9 MB, free: 51.66 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008537/0.3176, allocations: 0.7487 MB / 433.7 MB, free: 50.93 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001224/0.3177, allocations: 56.55 kB / 433.8 MB, free: 50.87 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004018/0.3181, allocations: 0.763 MB / 434.5 MB, free: 50.2 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005397/0.3186, allocations: 0.6384 MB / 435.2 MB, free: 49.64 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004994/0.3191, allocations: 359.5 kB / 435.5 MB, free: 49.29 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.428e-05/0.3192, allocations: 353.9 kB / 435.9 MB, free: 48.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.3202, allocations: 0.6208 MB / 436.5 MB, free: 48.31 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/0.3213, allocations: 1.133 MB / 437.6 MB, free: 46.95 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002305/0.3236, allocations: 1.912 MB / 439.5 MB, free: 44.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.185e-05/0.3237, allocations: 4 kB / 439.5 MB, free: 44.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.006989/0.3306, allocations: 2.565 MB / 442.1 MB, free: 42.27 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.3307, allocations: 15.94 kB / 442.1 MB, free: 42.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/0.3307, allocations: 16 kB / 442.1 MB, free: 42.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006344/0.337, allocations: 0.7137 MB / 442.8 MB, free: 41.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002321/0.3394, allocations: 0.5266 MB / 443.4 MB, free: 40.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008875/0.3482, allocations: 7.124 MB / 450.5 MB, free: 33.47 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.3497, allocations: 67.98 kB / 450.5 MB, free: 33.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002587/0.3499, allocations: 104.9 kB / 450.7 MB, free: 33.3 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.0007181/0.3507, allocations: 369 kB / 451 MB, free: 32.94 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004414/0.3511, allocations: 195.1 kB / 451.2 MB, free: 32.75 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007382/0.3585, allocations: 2.428 MB / 453.6 MB, free: 30.32 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.3585, allocations: 16 kB / 453.6 MB, free: 30.31 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.3585, allocations: 7.938 kB / 453.7 MB, free: 30.3 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-05/0.3585, allocations: 7.969 kB / 453.7 MB, free: 30.29 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00898/0.3675, allocations: 3.615 MB / 457.3 MB, free: 26.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.3675, allocations: 0 / 457.3 MB, free: 26.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001979/0.3695, allocations: 391.5 kB / 457.7 MB, free: 26.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006254/0.3757, allocations: 0.7002 MB / 458.4 MB, free: 25.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002733/0.376, allocations: 55.98 kB / 458.4 MB, free: 25.53 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008446/0.3845, allocations: 6.967 MB / 465.4 MB, free: 18.17 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.3845, allocations: 7.922 kB / 465.4 MB, free: 18.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008323/0.3928, allocations: 3.183 MB / 468.6 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003106/0.3931, allocations: 126.8 kB / 468.7 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002872/0.3934, allocations: 32 kB / 468.7 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001053/0.3944, allocations: 36 kB / 468.8 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003497/0.3948, allocations: 153.7 kB / 468.9 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001471/0.3949, allocations: 67.81 kB / 469 MB, free: 14.55 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005532/0.3955, allocations: 471 kB / 469.4 MB, free: 14.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3955, allocations: 0 / 469.4 MB, free: 14.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002978/0.3985, allocations: 1.071 MB / 470.5 MB, free: 13.04 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.00213/0.4006, allocations: 1.21 MB / 471.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003385/0.404, allocations: 2.143 MB / 473.9 MB, free: 9.773 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.404, allocations: 0 / 473.9 MB, free: 9.773 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001724/0.4057, allocations: 1.31 MB / 475.2 MB, free: 8.414 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/0.4072, allocations: 355.8 kB / 475.5 MB, free: 8.078 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00448/0.4117, allocations: 3.086 MB / 478.6 MB, free: 4.949 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005624/0.4123, allocations: 0.7006 MB / 479.3 MB, free: 4.211 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001159/0.4134, allocations: 346.3 kB / 479.6 MB, free: 3.875 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005165/0.414, allocations: 240.3 kB / 479.9 MB, free: 3.641 MB / 330.7 MB Notification: Performance of SimCode: time 7.22e-07/0.414, allocations: 3.828 kB / 479.9 MB, free: 3.641 MB / 330.7 MB Notification: Performance of Templates: time 0.07427/0.4882, allocations: 38.42 MB / 0.5061 GB, free: 13.53 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.sim & ./Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.570611694944091]