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.0009369/0.0009369, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001277/0.001277, allocations: 173 kB / 23.36 MB, free: 1.133 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.03/1.03, allocations: 177.1 MB / 203.8 MB, free: 5.496 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.09434/0.09434, allocations: 17.39 MB / 277.6 MB, free: 11.54 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.433e-06/1.433e-06, allocations: 0 / 300.7 MB, free: 1.645 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.97e-05/2.113e-05, allocations: 3.734 kB / 300.7 MB, free: 1.641 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.007451/0.007472, allocations: 8.297 MB / 309 MB, free: 11.82 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02089/0.02837, allocations: 24.13 MB / 333.1 MB, free: 3.664 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001665/0.03003, allocations: 27.75 kB / 333.1 MB, free: 3.637 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00129/0.03132, allocations: 484 kB / 333.6 MB, free: 3.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005521/0.03684, allocations: 2.206 MB / 335.8 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007754/0.0446, allocations: 3.133 MB / 338.9 MB, free: 13.78 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003404/0.048, allocations: 2.515 MB / 341.4 MB, free: 11.25 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001601/0.0496, allocations: 1.189 MB / 342.6 MB, free: 10 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001785/0.05139, allocations: 1.685 MB / 344.3 MB, free: 8.316 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001733/0.05312, allocations: 1.123 MB / 345.4 MB, free: 7.191 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004357/0.05355, allocations: 216 kB / 345.6 MB, free: 6.98 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006147/0.0597, allocations: 2.651 MB / 348.3 MB, free: 4.324 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005777/0.06028, allocations: 0.5257 MB / 348.8 MB, free: 3.797 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001251/0.06153, allocations: 0.7913 MB / 349.6 MB, free: 3.004 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01142/0.07295, allocations: 4.751 MB / 354.4 MB, free: 14.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.07295, allocations: 0 / 354.4 MB, free: 14.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.07295, allocations: 0 / 354.4 MB, free: 14.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.451e-05/0.07302, allocations: 0 / 354.4 MB, free: 14.23 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.00347/0.07649, allocations: 2.614 MB / 357 MB, free: 11.58 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.07653, allocations: 12.03 kB / 357 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/0.07782, allocations: 0.6388 MB / 357.6 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009668/0.07878, allocations: 0.7076 MB / 358.3 MB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001554/0.07894, allocations: 242.9 kB / 358.6 MB, free: 9.926 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001991/0.07914, allocations: 188.3 kB / 358.8 MB, free: 9.742 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/0.08095, allocations: 1.528 MB / 360.3 MB, free: 8.176 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.925e-05/0.08098, allocations: 8.172 kB / 360.3 MB, free: 8.168 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.08108, allocations: 72.12 kB / 360.4 MB, free: 8.098 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.426e-05/0.08111, allocations: 44 kB / 360.4 MB, free: 8.055 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/0.08249, allocations: 1.294 MB / 361.7 MB, free: 6.758 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.005108/0.0876, allocations: 4.124 MB / 365.8 MB, free: 2.539 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002822/0.09042, allocations: 2.511 MB / 368.3 MB, free: 8 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004343/0.09086, allocations: 432.2 kB / 368.8 MB, free: 15.58 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005095/0.09595, allocations: 3.849 MB / 372.6 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.09598, allocations: 51.88 kB / 372.7 MB, free: 11.65 MB / 346.7 MB Notification: Performance of pre-optimization done (n=144): time 3.176e-06/0.09599, allocations: 0 / 372.7 MB, free: 11.65 MB / 346.7 MB Notification: Performance of matching and sorting (n=180): time 0.01314/0.1091, allocations: 5.268 MB / 377.9 MB, free: 6.316 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.1092, allocations: 99.11 kB / 378 MB, free: 6.203 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005418/0.1097, allocations: 0.6789 MB / 378.7 MB, free: 5.516 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.018e-05/0.1098, allocations: 57.7 kB / 378.8 MB, free: 5.453 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002763/0.1101, allocations: 0.6782 MB / 379.4 MB, free: 4.762 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003741/0.1105, allocations: 0.6428 MB / 380.1 MB, free: 4.113 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003291/0.1108, allocations: 363.3 kB / 380.4 MB, free: 3.75 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.1109, allocations: 361.8 kB / 380.8 MB, free: 3.391 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006158/0.1115, allocations: 258.8 kB / 381 MB, free: 3.133 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005377/0.112, allocations: 0.7779 MB / 381.8 MB, free: 2.125 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.1131, allocations: 1.281 MB / 383.1 MB, free: 0.625 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.1131, allocations: 4 kB / 383.1 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.002709/0.1158, allocations: 1.506 MB / 384.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.1158, allocations: 12.19 kB / 384.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/0.1158, allocations: 20 kB / 384.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002383/0.1182, allocations: 0.6392 MB / 385.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0014/0.1196, allocations: 0.5812 MB / 385.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005411/0.125, allocations: 5.984 MB / 391.8 MB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009001/0.1259, allocations: 64.03 kB / 391.9 MB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.1261, allocations: 83.97 kB / 392 MB, free: 7.359 MB / 362.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.0004567/0.1265, allocations: 232 kB / 392.2 MB, free: 7.121 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000215/0.1267, allocations: 143.8 kB / 392.4 MB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002929/0.1297, allocations: 1.564 MB / 393.9 MB, free: 5.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.1297, allocations: 20 kB / 393.9 MB, free: 5.391 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.1297, allocations: 0 / 393.9 MB, free: 5.391 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.1297, allocations: 7.969 kB / 394 MB, free: 5.383 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004135/0.1338, allocations: 2.261 MB / 396.2 MB, free: 3.086 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.1338, allocations: 3.938 kB / 396.2 MB, free: 3.082 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001096/0.1349, allocations: 439.4 kB / 396.6 MB, free: 2.652 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002363/0.1373, allocations: 0.6159 MB / 397.3 MB, free: 2.023 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.1374, allocations: 51.98 kB / 397.3 MB, free: 1.973 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004656/0.142, allocations: 5.827 MB / 403.1 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.142, allocations: 0 / 403.1 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003061/0.1451, allocations: 1.897 MB / 405 MB, free: 9.883 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002289/0.1453, allocations: 107.1 kB / 405.1 MB, free: 9.777 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.1454, allocations: 32 kB / 405.2 MB, free: 9.746 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003826/0.1458, allocations: 39.98 kB / 405.2 MB, free: 9.707 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000241/0.1461, allocations: 145.7 kB / 405.4 MB, free: 9.566 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-05/0.1462, allocations: 51.97 kB / 405.4 MB, free: 9.516 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002517/0.1464, allocations: 304.5 kB / 405.7 MB, free: 9.215 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1464, allocations: 0 / 405.7 MB, free: 9.215 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002247/0.1487, allocations: 1.075 MB / 406.8 MB, free: 8.137 MB / 378.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.00165/0.1503, allocations: 1.258 MB / 408 MB, free: 6.875 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001996/0.1523, allocations: 1.555 MB / 409.6 MB, free: 5.262 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.215e-05/0.1523, allocations: 13.81 kB / 409.6 MB, free: 5.246 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008661/0.1532, allocations: 1.045 MB / 410.6 MB, free: 4.152 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009092/0.1541, allocations: 341.2 kB / 411 MB, free: 3.836 MB / 378.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00372/0.1578, allocations: 2.793 MB / 413.8 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.1581, allocations: 305.8 kB / 414.1 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008715/0.1589, allocations: 337 kB / 414.4 MB, free: 364 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007424/0.1597, allocations: 488.9 kB / 414.9 MB, free: 15.88 MB / 394.7 MB Notification: Performance of SimCode: time 1.603e-06/0.1597, allocations: 0 / 414.9 MB, free: 15.88 MB / 394.7 MB Notification: Performance of Templates: time 0.1694/0.329, allocations: 44.01 MB / 458.9 MB, free: 127.4 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.1523285009898245]