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.0009996/0.0009996, 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.00115/0.00115, allocations: 169 kB / 23.02 MB, free: 1.547 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.9954/0.9954, allocations: 177.1 MB / 203.4 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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.0923/0.0923, allocations: 17.46 MB / 277.4 MB, free: 11.53 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.803e-06/1.803e-06, allocations: 0 / 353.6 MB, free: 9.852 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.599e-05/2.779e-05, allocations: 2.312 kB / 353.6 MB, free: 9.848 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.006901/0.006929, allocations: 8.42 MB / 362 MB, free: 1.387 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02373/0.03066, allocations: 24.48 MB / 386.5 MB, free: 8.816 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001355/0.03201, allocations: 31.75 kB / 386.5 MB, free: 8.785 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001267/0.03328, allocations: 476.1 kB / 386.9 MB, free: 8.316 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005576/0.03885, allocations: 2.234 MB / 389.2 MB, free: 6.066 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007406/0.04626, allocations: 3.156 MB / 392.3 MB, free: 2.891 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003282/0.04954, allocations: 2.529 MB / 394.9 MB, free: 360 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001577/0.05112, allocations: 1.178 MB / 396 MB, free: 15.12 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002212/0.05333, allocations: 1.7 MB / 397.7 MB, free: 13.42 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001801/0.05513, allocations: 1.13 MB / 398.9 MB, free: 12.29 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000387/0.05552, allocations: 216 kB / 399.1 MB, free: 12.08 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006485/0.062, allocations: 2.542 MB / 401.6 MB, free: 9.531 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004935/0.0625, allocations: 0.5257 MB / 402.2 MB, free: 9.004 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000988/0.06348, allocations: 0.7913 MB / 402.9 MB, free: 8.211 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.07386, allocations: 4.747 MB / 407.7 MB, free: 3.445 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.07387, allocations: 0 / 407.7 MB, free: 3.445 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.07387, allocations: 0 / 407.7 MB, free: 3.445 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.365e-05/0.07393, allocations: 4 kB / 407.7 MB, free: 3.441 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.003652/0.07759, allocations: 2.745 MB / 410.4 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.07763, allocations: 8.031 kB / 410.4 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1354/0.213, allocations: 0.6835 MB / 411.1 MB, free: 61.74 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001871/0.2149, allocations: 0.9117 MB / 412 MB, free: 61.58 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001965/0.2151, allocations: 242.7 kB / 412.3 MB, free: 61.45 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002424/0.2154, allocations: 186.2 kB / 412.5 MB, free: 61.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002563/0.2179, allocations: 1.671 MB / 414.1 MB, free: 61.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.666e-05/0.218, allocations: 192 / 414.1 MB, free: 61.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001241/0.2181, allocations: 74.97 kB / 414.2 MB, free: 61.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-05/0.2181, allocations: 43.75 kB / 414.3 MB, free: 61.27 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002595/0.2207, allocations: 1.729 MB / 416 MB, free: 61.25 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.007093/0.2278, allocations: 5.151 MB / 421.1 MB, free: 58.74 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00292/0.2307, allocations: 2.668 MB / 423.8 MB, free: 58.18 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000647/0.2314, allocations: 0.5705 MB / 424.4 MB, free: 58.05 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005251/0.2366, allocations: 4.229 MB / 428.6 MB, free: 55.25 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/0.2367, allocations: 54.7 kB / 428.7 MB, free: 55.19 MB / 330.7 MB Notification: Performance of pre-optimization done (n=144): time 4.739e-06/0.2367, allocations: 0 / 428.7 MB, free: 55.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=180): time 0.01682/0.2535, allocations: 5.889 MB / 434.5 MB, free: 49.41 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.2535, allocations: 103 kB / 434.6 MB, free: 49.29 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006498/0.2542, allocations: 0.7722 MB / 435.4 MB, free: 48.53 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.394e-05/0.2543, allocations: 53.7 kB / 435.5 MB, free: 48.47 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003153/0.2546, allocations: 0.8233 MB / 436.3 MB, free: 47.73 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003577/0.2549, allocations: 0.6355 MB / 436.9 MB, free: 47.17 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003701/0.2553, allocations: 361.2 kB / 437.3 MB, free: 46.81 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.76e-05/0.2554, allocations: 0.5394 MB / 437.8 MB, free: 46.26 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006333/0.256, allocations: 399.8 kB / 438.2 MB, free: 45.87 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008856/0.2569, allocations: 1.104 MB / 439.3 MB, free: 44.46 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001653/0.2586, allocations: 1.661 MB / 441 MB, free: 42.51 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.297e-06/0.2586, allocations: 4 kB / 441 MB, free: 42.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.004439/0.263, allocations: 2.077 MB / 443.1 MB, free: 40.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/0.2631, allocations: 16.16 kB / 443.1 MB, free: 40.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.323e-05/0.2631, allocations: 23.98 kB / 443.1 MB, free: 40.37 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003261/0.2663, allocations: 0.662 MB / 443.8 MB, free: 39.69 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001657/0.268, allocations: 0.5149 MB / 444.3 MB, free: 39.17 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005981/0.274, allocations: 8.708 MB / 453 MB, free: 30.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.2751, allocations: 63.94 kB / 453 MB, free: 29.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/0.2753, allocations: 106.1 kB / 453.1 MB, free: 29.84 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.0004928/0.2758, allocations: 276 kB / 453.4 MB, free: 29.56 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000318/0.2761, allocations: 195.1 kB / 453.6 MB, free: 29.37 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004274/0.2804, allocations: 2.004 MB / 455.6 MB, free: 27.35 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.2804, allocations: 22.3 kB / 455.6 MB, free: 27.33 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.2804, allocations: 3.938 kB / 455.6 MB, free: 27.32 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.655e-05/0.2804, allocations: 11.97 kB / 455.6 MB, free: 27.31 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005678/0.2861, allocations: 3.176 MB / 458.8 MB, free: 24.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.585e-06/0.2861, allocations: 0 / 458.8 MB, free: 24.13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001296/0.2874, allocations: 387.5 kB / 459.2 MB, free: 23.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002609/0.29, allocations: 0.6425 MB / 459.8 MB, free: 23.09 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001206/0.2901, allocations: 59.97 kB / 459.9 MB, free: 23.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004591/0.2947, allocations: 8.542 MB / 468.4 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.2947, allocations: 3.938 kB / 468.4 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003957/0.2987, allocations: 2.451 MB / 470.9 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003317/0.299, allocations: 119.1 kB / 471 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.2991, allocations: 32 kB / 471 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004361/0.2995, allocations: 39.98 kB / 471.1 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002495/0.2998, allocations: 149.7 kB / 471.2 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.059e-05/0.2999, allocations: 67.97 kB / 471.3 MB, free: 11.14 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003337/0.3002, allocations: 450.9 kB / 471.7 MB, free: 10.7 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3002, allocations: 3.938 kB / 471.7 MB, free: 10.7 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002204/0.3024, allocations: 1.075 MB / 472.8 MB, free: 9.617 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.001541/0.3039, allocations: 1.212 MB / 474 MB, free: 8.535 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002114/0.3061, allocations: 2.03 MB / 476.1 MB, free: 6.434 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3061, allocations: 0 / 476.1 MB, free: 6.434 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009826/0.307, allocations: 1.393 MB / 477.4 MB, free: 4.973 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009354/0.308, allocations: 351.9 kB / 477.8 MB, free: 4.633 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.003641/0.3116, allocations: 2.878 MB / 480.7 MB, free: 1.715 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/0.3118, allocations: 305.7 kB / 481 MB, free: 1.391 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007652/0.3126, allocations: 342.1 kB / 481.3 MB, free: 1.059 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003248/0.3129, allocations: 236.3 kB / 481.5 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of SimCode: time 1.432e-06/0.3129, allocations: 0 / 481.5 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of Templates: time 0.04535/0.3582, allocations: 43.41 MB / 0.5126 GB, free: 5.754 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=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.154353844933212]