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.0009711/0.0009711, allocations: 73.88 kB / 20.66 MB, free: 3.848 MB / 18.57 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.000972/0.000972, allocations: 173 kB / 24.06 MB, free: 456 kB / 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.9525/0.9525, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.125/0.125, allocations: 17.37 MB / 278.4 MB, free: 11.5 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.382e-06/1.382e-06, allocations: 0 / 354.7 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.537e-05/2.675e-05, allocations: 6.312 kB / 354.7 MB, free: 10.74 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.008599/0.008626, allocations: 8.243 MB / 362.9 MB, free: 2.461 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02274/0.03136, allocations: 23.76 MB / 386.7 MB, free: 10.61 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/0.03258, allocations: 27.75 kB / 386.7 MB, free: 10.58 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009842/0.03357, allocations: 476.2 kB / 387.2 MB, free: 10.11 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005019/0.03858, allocations: 2.23 MB / 389.4 MB, free: 7.867 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006848/0.04543, allocations: 3.156 MB / 392.6 MB, free: 4.691 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003115/0.04855, allocations: 2.522 MB / 395.1 MB, free: 2.156 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001651/0.0502, allocations: 1.17 MB / 396.3 MB, free: 0.9453 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001696/0.05189, allocations: 1.693 MB / 398 MB, free: 15.25 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001472/0.05337, allocations: 1.138 MB / 399.1 MB, free: 14.11 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002483/0.05362, allocations: 216 kB / 399.3 MB, free: 13.9 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0065/0.06012, allocations: 2.554 MB / 401.9 MB, free: 11.34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00056/0.06068, allocations: 0.5218 MB / 402.4 MB, free: 10.82 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001301/0.06198, allocations: 0.7913 MB / 403.2 MB, free: 10.02 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009495/0.07147, allocations: 4.751 MB / 407.9 MB, free: 5.254 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.07147, allocations: 0 / 407.9 MB, free: 5.254 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.07148, allocations: 0 / 407.9 MB, free: 5.254 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.717e-05/0.07149, allocations: 0 / 407.9 MB, free: 5.254 MB / 378.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.003492/0.07498, allocations: 2.748 MB / 410.7 MB, free: 2.453 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.07502, allocations: 16.02 kB / 410.7 MB, free: 2.438 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001346/0.07637, allocations: 0.6769 MB / 411.4 MB, free: 1.758 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.07742, allocations: 0.9158 MB / 412.3 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.07755, allocations: 242.9 kB / 412.5 MB, free: 0.5508 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002077/0.07776, allocations: 184.3 kB / 412.7 MB, free: 380 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001628/0.07939, allocations: 1.512 MB / 414.2 MB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.765e-05/0.07942, allocations: 4.125 kB / 414.2 MB, free: 14.81 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/0.07954, allocations: 72.12 kB / 414.3 MB, free: 14.74 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.374e-05/0.07956, allocations: 44 kB / 414.3 MB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001623/0.08118, allocations: 1.475 MB / 415.8 MB, free: 13.22 MB / 394.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.00609/0.08727, allocations: 4.995 MB / 420.8 MB, free: 8.109 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002737/0.09001, allocations: 2.546 MB / 423.3 MB, free: 5.551 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005124/0.09052, allocations: 493 kB / 423.8 MB, free: 5.062 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006303/0.09683, allocations: 4.236 MB / 428.1 MB, free: 0.7969 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.09686, allocations: 50.7 kB / 428.1 MB, free: 0.7383 MB / 394.7 MB Notification: Performance of pre-optimization done (n=144): time 2.645e-06/0.09686, allocations: 0 / 428.1 MB, free: 0.7383 MB / 394.7 MB Notification: Performance of matching and sorting (n=180): time 0.01387/0.1107, allocations: 5.138 MB / 433.2 MB, free: 11.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.1108, allocations: 99.11 kB / 433.3 MB, free: 11.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006144/0.1114, allocations: 0.7679 MB / 434.1 MB, free: 10.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001071/0.1115, allocations: 53.7 kB / 434.2 MB, free: 10.56 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003986/0.1119, allocations: 0.8273 MB / 435 MB, free: 9.723 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004219/0.1123, allocations: 0.6351 MB / 435.6 MB, free: 9.082 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003695/0.1127, allocations: 377 kB / 436 MB, free: 8.703 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.1129, allocations: 0.5354 MB / 436.5 MB, free: 8.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003688/0.1132, allocations: 315.8 kB / 436.8 MB, free: 7.848 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006984/0.1139, allocations: 1.014 MB / 437.8 MB, free: 6.523 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/0.1154, allocations: 1.505 MB / 439.4 MB, free: 4.723 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/0.1154, allocations: 11.98 kB / 439.4 MB, free: 4.711 MB / 410.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.003335/0.1187, allocations: 1.881 MB / 441.2 MB, free: 2.809 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.1187, allocations: 12 kB / 441.3 MB, free: 2.797 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.1188, allocations: 16 kB / 441.3 MB, free: 2.781 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002677/0.1214, allocations: 0.6624 MB / 441.9 MB, free: 2.102 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/0.1227, allocations: 0.5188 MB / 442.5 MB, free: 1.582 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1534/0.2761, allocations: 8.588 MB / 451 MB, free: 109.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.2772, allocations: 68.58 kB / 451.1 MB, free: 109.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/0.2774, allocations: 84.33 kB / 451.2 MB, free: 109.7 MB / 410.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.0004697/0.2778, allocations: 278.7 kB / 451.5 MB, free: 109.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002846/0.2781, allocations: 194.6 kB / 451.7 MB, free: 109.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003261/0.2814, allocations: 1.841 MB / 453.5 MB, free: 109.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.2814, allocations: 22.94 kB / 453.5 MB, free: 109.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2814, allocations: 2.875 kB / 453.5 MB, free: 109.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.2814, allocations: 10.22 kB / 453.5 MB, free: 109.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00418/0.2856, allocations: 2.837 MB / 456.4 MB, free: 108.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.2856, allocations: 2.875 kB / 456.4 MB, free: 108.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009742/0.2866, allocations: 389.4 kB / 456.8 MB, free: 108.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002531/0.2891, allocations: 0.6349 MB / 457.4 MB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/0.2892, allocations: 64 kB / 457.4 MB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004054/0.2932, allocations: 8.431 MB / 465.9 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2932, allocations: 0 / 465.9 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00339/0.2966, allocations: 2.201 MB / 468.1 MB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.2968, allocations: 121.1 kB / 468.2 MB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.2969, allocations: 30.34 kB / 468.2 MB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004002/0.2973, allocations: 40.39 kB / 468.3 MB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002084/0.2975, allocations: 151.4 kB / 468.4 MB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.8e-05/0.2976, allocations: 55.64 kB / 468.5 MB, free: 100.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000233/0.2978, allocations: 427.5 kB / 468.9 MB, free: 100.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2978, allocations: 0 / 468.9 MB, free: 100.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002216/0.3, allocations: 1.073 MB / 470 MB, free: 100.1 MB / 410.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.00149/0.3015, allocations: 1.272 MB / 471.2 MB, free: 99.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001566/0.3031, allocations: 1.87 MB / 473.1 MB, free: 99.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3031, allocations: 0 / 473.1 MB, free: 99.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000842/0.3039, allocations: 1.324 MB / 474.4 MB, free: 98.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008343/0.3047, allocations: 347.2 kB / 474.8 MB, free: 98.29 MB / 410.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003578/0.3083, allocations: 2.812 MB / 477.6 MB, free: 96.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.3086, allocations: 313 kB / 477.9 MB, free: 96.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008074/0.3094, allocations: 340 kB / 478.2 MB, free: 96.69 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007216/0.3101, allocations: 0.5253 MB / 478.7 MB, free: 96.59 MB / 410.7 MB Notification: Performance of SimCode: time 6.31e-07/0.3101, allocations: 0 / 478.7 MB, free: 96.59 MB / 410.7 MB Notification: Performance of Templates: time 0.03937/0.3495, allocations: 44.7 MB / 0.5112 GB, free: 69.6 MB / 410.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.321204771287739]