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.0009704/0.0009704, allocations: 92.22 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.001016/0.001016, allocations: 169 kB / 23.03 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.9249/0.9249, allocations: 177.1 MB / 203.4 MB, free: 5.617 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.08937/0.08937, allocations: 17.38 MB / 277.3 MB, free: 11.63 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.162e-06/1.162e-06, allocations: 0 / 353.4 MB, free: 11.02 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.394e-05/1.51e-05, allocations: 6.312 kB / 353.4 MB, free: 11.01 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.00705/0.007065, allocations: 8.415 MB / 361.9 MB, free: 2.562 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01978/0.02685, allocations: 24.49 MB / 386.4 MB, free: 9.984 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000864/0.02771, allocations: 27.75 kB / 386.4 MB, free: 9.957 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009425/0.02865, allocations: 476.1 kB / 386.8 MB, free: 9.488 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004226/0.03288, allocations: 2.238 MB / 389.1 MB, free: 7.234 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006004/0.03888, allocations: 3.153 MB / 392.2 MB, free: 4.062 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002178/0.04106, allocations: 2.525 MB / 394.8 MB, free: 1.527 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.04225, allocations: 1.17 MB / 395.9 MB, free: 324 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001925/0.04418, allocations: 1.696 MB / 397.6 MB, free: 14.62 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001414/0.04559, allocations: 1.13 MB / 398.8 MB, free: 13.48 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005071/0.0461, allocations: 216 kB / 399 MB, free: 13.27 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006087/0.05218, allocations: 2.55 MB / 401.5 MB, free: 10.72 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003852/0.05257, allocations: 0.5218 MB / 402 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007206/0.05329, allocations: 0.7952 MB / 402.8 MB, free: 9.398 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007203/0.06049, allocations: 4.747 MB / 407.6 MB, free: 4.633 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.0605, allocations: 0 / 407.6 MB, free: 4.633 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.0605, allocations: 0 / 407.6 MB, free: 4.633 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.06051, allocations: 11.92 kB / 407.6 MB, free: 4.621 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.002816/0.06333, allocations: 2.733 MB / 410.3 MB, free: 1.836 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.06337, allocations: 8.031 kB / 410.3 MB, free: 1.828 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/0.06455, allocations: 0.6808 MB / 411 MB, free: 1.145 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009525/0.0655, allocations: 0.9314 MB / 411.9 MB, free: 188 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004683/0.06597, allocations: 238.9 kB / 412.2 MB, free: 15.92 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001912/0.06616, allocations: 184.3 kB / 412.4 MB, free: 15.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001852/0.06801, allocations: 1.669 MB / 414 MB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/0.06804, allocations: 4.172 kB / 414 MB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.06816, allocations: 76.12 kB / 414.1 MB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.664e-05/0.06818, allocations: 44 kB / 414.1 MB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001962/0.07015, allocations: 1.733 MB / 415.9 MB, free: 12.18 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.005701/0.07585, allocations: 5.139 MB / 421 MB, free: 6.914 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00274/0.07859, allocations: 2.675 MB / 423.7 MB, free: 4.227 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006392/0.07923, allocations: 0.5713 MB / 424.3 MB, free: 3.648 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005018/0.08424, allocations: 4.232 MB / 428.5 MB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.08427, allocations: 46.7 kB / 428.5 MB, free: 15.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=144): time 2.304e-06/0.08428, allocations: 0 / 428.5 MB, free: 15.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=180): time 0.01337/0.09765, allocations: 5.888 MB / 434.4 MB, free: 9.355 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.0977, allocations: 103 kB / 434.5 MB, free: 9.238 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005938/0.0983, allocations: 0.7762 MB / 435.3 MB, free: 8.449 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.923e-05/0.09838, allocations: 57.7 kB / 435.4 MB, free: 8.387 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003988/0.09878, allocations: 0.8158 MB / 436.2 MB, free: 7.559 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003706/0.09915, allocations: 0.6312 MB / 436.8 MB, free: 6.922 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003513/0.0995, allocations: 369.1 kB / 437.2 MB, free: 6.551 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.09965, allocations: 0.5316 MB / 437.7 MB, free: 6.012 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005437/0.1002, allocations: 403.8 kB / 438.1 MB, free: 5.613 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009402/0.1011, allocations: 1.1 MB / 439.2 MB, free: 4.203 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001834/0.103, allocations: 1.669 MB / 440.9 MB, free: 2.238 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.103, allocations: 4 kB / 440.9 MB, free: 2.234 MB / 410.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.003489/0.1065, allocations: 2.077 MB / 443 MB, free: 140 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.1065, allocations: 12 kB / 443 MB, free: 128 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/0.1065, allocations: 16 kB / 443 MB, free: 112 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1649/0.2714, allocations: 0.6685 MB / 443.6 MB, free: 117.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/0.2728, allocations: 0.5166 MB / 444.2 MB, free: 117.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005265/0.2781, allocations: 8.708 MB / 452.9 MB, free: 109.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008093/0.2789, allocations: 64.94 kB / 452.9 MB, free: 109.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/0.279, allocations: 98.55 kB / 453 MB, free: 109.5 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.0004122/0.2794, allocations: 280.2 kB / 453.3 MB, free: 109.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002755/0.2797, allocations: 196.8 kB / 453.5 MB, free: 109.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003482/0.2832, allocations: 2.013 MB / 455.5 MB, free: 109.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.2832, allocations: 19.31 kB / 455.5 MB, free: 109.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/0.2832, allocations: 3.281 kB / 455.5 MB, free: 109.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.2832, allocations: 9.844 kB / 455.5 MB, free: 109.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004637/0.2879, allocations: 3.16 MB / 458.7 MB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.2879, allocations: 3.469 kB / 458.7 MB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009752/0.2888, allocations: 396.9 kB / 459.1 MB, free: 108.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002485/0.2913, allocations: 0.6376 MB / 459.7 MB, free: 108.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/0.2914, allocations: 50.69 kB / 459.8 MB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004064/0.2955, allocations: 8.543 MB / 468.3 MB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2955, allocations: 0 / 468.3 MB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003582/0.2991, allocations: 2.462 MB / 470.8 MB, free: 99.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.2992, allocations: 124.6 kB / 470.9 MB, free: 99.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.2993, allocations: 34.16 kB / 470.9 MB, free: 99.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003741/0.2997, allocations: 40 kB / 471 MB, free: 99.65 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002023/0.2999, allocations: 149.9 kB / 471.1 MB, free: 99.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-05/0.2999, allocations: 65.69 kB / 471.2 MB, free: 99.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002703/0.3002, allocations: 448.8 kB / 471.6 MB, free: 99.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3002, allocations: 3.25 kB / 471.6 MB, free: 99.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00188/0.3021, allocations: 1.07 MB / 472.7 MB, free: 99.31 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.001296/0.3034, allocations: 1.216 MB / 473.9 MB, free: 99.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001787/0.3052, allocations: 2.028 MB / 475.9 MB, free: 98.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3052, allocations: 3.281 kB / 475.9 MB, free: 98.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008751/0.3061, allocations: 1.405 MB / 477.4 MB, free: 97.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000812/0.3069, allocations: 339.2 kB / 477.7 MB, free: 97.27 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.003203/0.3101, allocations: 2.886 MB / 480.6 MB, free: 95.81 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/0.3103, allocations: 307.3 kB / 480.9 MB, free: 95.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000706/0.311, allocations: 342.2 kB / 481.2 MB, free: 95.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003278/0.3113, allocations: 242.5 kB / 481.4 MB, free: 95.56 MB / 410.7 MB Notification: Performance of SimCode: time 9.32e-07/0.3113, allocations: 0 / 481.4 MB, free: 95.56 MB / 410.7 MB Notification: Performance of Templates: time 0.03772/0.349, allocations: 43.39 MB / 0.5125 GB, free: 68.03 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.0973411640152335]