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.0008372/0.0008372, allocations: 80.81 kB / 19.94 MB, free: 4.539 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.0008628/0.0008628, allocations: 181 kB / 23.36 MB, free: 1.125 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.873/0.873, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.08613/0.08613, allocations: 17.46 MB / 277.7 MB, free: 11.44 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.864e-06/1.864e-06, allocations: 0 / 300.7 MB, free: 1.703 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.566e-05, allocations: 5.188 kB / 300.7 MB, free: 1.699 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.006519/0.006544, allocations: 8.252 MB / 309 MB, free: 11.78 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01905/0.02559, allocations: 24.13 MB / 333.1 MB, free: 3.609 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001171/0.02676, allocations: 31.75 kB / 333.2 MB, free: 3.578 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.02777, allocations: 480.1 kB / 333.6 MB, free: 3.105 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004934/0.03271, allocations: 2.257 MB / 335.9 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0059/0.03861, allocations: 3.18 MB / 339.1 MB, free: 13.63 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002454/0.04106, allocations: 2.515 MB / 341.6 MB, free: 11.1 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001598/0.04266, allocations: 1.197 MB / 342.8 MB, free: 9.844 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001861/0.04452, allocations: 1.696 MB / 344.5 MB, free: 8.145 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001334/0.04585, allocations: 1.119 MB / 345.6 MB, free: 7.023 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004421/0.04629, allocations: 216 kB / 345.8 MB, free: 6.812 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004903/0.0512, allocations: 2.55 MB / 348.4 MB, free: 4.258 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004354/0.05163, allocations: 0.5257 MB / 348.9 MB, free: 3.73 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00086/0.05249, allocations: 0.7913 MB / 349.7 MB, free: 2.938 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00855/0.06104, allocations: 4.747 MB / 354.4 MB, free: 14.17 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/0.06105, allocations: 4 kB / 354.4 MB, free: 14.17 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.06105, allocations: 0 / 354.4 MB, free: 14.17 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.461e-05/0.06111, allocations: 3.984 kB / 354.4 MB, free: 14.16 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.003605/0.06471, allocations: 2.61 MB / 357 MB, free: 11.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0002816/0.06499, allocations: 8.031 kB / 357 MB, free: 11.51 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/0.06626, allocations: 0.6388 MB / 357.7 MB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.06727, allocations: 0.7115 MB / 358.4 MB, free: 10.12 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001459/0.06741, allocations: 242.9 kB / 358.6 MB, free: 9.863 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001888/0.0676, allocations: 180.3 kB / 358.8 MB, free: 9.688 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.06906, allocations: 1.539 MB / 360.3 MB, free: 8.109 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.547e-05/0.06909, allocations: 192 / 360.3 MB, free: 8.109 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.06919, allocations: 76.12 kB / 360.4 MB, free: 8.035 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.215e-05/0.06921, allocations: 40 kB / 360.5 MB, free: 7.996 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/0.07055, allocations: 1.309 MB / 361.8 MB, free: 6.684 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.005249/0.0758, allocations: 4.104 MB / 365.9 MB, free: 2.484 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002338/0.07814, allocations: 2.514 MB / 368.4 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004098/0.07855, allocations: 436.2 kB / 368.8 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005034/0.08359, allocations: 3.849 MB / 372.7 MB, free: 11.65 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.08362, allocations: 47.88 kB / 372.7 MB, free: 11.59 MB / 346.7 MB Notification: Performance of pre-optimization done (n=144): time 3.146e-06/0.08362, allocations: 0 / 372.7 MB, free: 11.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=180): time 0.0121/0.09572, allocations: 5.271 MB / 378 MB, free: 6.254 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.09576, allocations: 103 kB / 378.1 MB, free: 6.137 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000694/0.09646, allocations: 0.6828 MB / 378.8 MB, free: 5.445 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.931e-05/0.09654, allocations: 57.7 kB / 378.8 MB, free: 5.383 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003061/0.09684, allocations: 0.6704 MB / 379.5 MB, free: 4.699 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003652/0.09721, allocations: 0.6428 MB / 380.1 MB, free: 4.051 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000325/0.09753, allocations: 363.3 kB / 380.5 MB, free: 3.688 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.275e-05/0.09763, allocations: 361.8 kB / 380.8 MB, free: 3.328 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000328/0.09795, allocations: 258.8 kB / 381.1 MB, free: 3.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005211/0.09847, allocations: 0.7779 MB / 381.9 MB, free: 2.062 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.09948, allocations: 1.281 MB / 383.2 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.09949, allocations: 4 kB / 383.2 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.00256/0.102, allocations: 1.505 MB / 384.7 MB, free: 15.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.1021, allocations: 18.48 kB / 384.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.1021, allocations: 16 kB / 384.7 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002191/0.1043, allocations: 0.6473 MB / 385.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/0.1056, allocations: 0.511 MB / 385.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004298/0.1099, allocations: 5.97 MB / 391.8 MB, free: 7.523 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000702/0.1106, allocations: 67.98 kB / 391.9 MB, free: 7.457 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.1107, allocations: 84.02 kB / 392 MB, free: 7.375 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.0003894/0.1111, allocations: 232.1 kB / 392.2 MB, free: 7.137 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002118/0.1113, allocations: 135.8 kB / 392.3 MB, free: 7.004 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00289/0.1142, allocations: 1.558 MB / 393.9 MB, free: 5.438 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.1142, allocations: 24 kB / 393.9 MB, free: 5.414 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.1142, allocations: 4 kB / 393.9 MB, free: 5.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.1142, allocations: 11.95 kB / 393.9 MB, free: 5.398 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003576/0.1178, allocations: 2.257 MB / 396.2 MB, free: 3.105 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.1178, allocations: 4 kB / 396.2 MB, free: 3.102 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009081/0.1187, allocations: 391.5 kB / 396.6 MB, free: 2.719 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002134/0.1208, allocations: 0.6197 MB / 397.2 MB, free: 2.086 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.723e-05/0.1209, allocations: 47.98 kB / 397.2 MB, free: 2.039 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004362/0.1253, allocations: 5.807 MB / 403 MB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1253, allocations: 0 / 403 MB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002899/0.1282, allocations: 1.885 MB / 404.9 MB, free: 9.977 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002069/0.1284, allocations: 111.1 kB / 405 MB, free: 9.867 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.1285, allocations: 36 kB / 405.1 MB, free: 9.832 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003561/0.1289, allocations: 39.98 kB / 405.1 MB, free: 9.793 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002019/0.1291, allocations: 141.7 kB / 405.3 MB, free: 9.656 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-05/0.1291, allocations: 55.97 kB / 405.3 MB, free: 9.602 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002395/0.1294, allocations: 308.4 kB / 405.6 MB, free: 9.297 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1294, allocations: 0 / 405.6 MB, free: 9.297 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002211/0.1316, allocations: 1.072 MB / 406.7 MB, free: 8.223 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.001837/0.1334, allocations: 1.272 MB / 408 MB, free: 6.949 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001586/0.135, allocations: 1.548 MB / 409.5 MB, free: 5.344 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.727e-05/0.135, allocations: 17.81 kB / 409.5 MB, free: 5.324 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007641/0.1358, allocations: 1.045 MB / 410.6 MB, free: 4.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007787/0.1366, allocations: 337.5 kB / 410.9 MB, free: 3.918 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.003445/0.14, allocations: 2.791 MB / 413.7 MB, free: 1.078 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.1402, allocations: 305.8 kB / 414 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009968/0.1412, allocations: 341.3 kB / 414.3 MB, free: 444 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006843/0.1419, allocations: 492.9 kB / 414.8 MB, free: 15.95 MB / 394.7 MB Notification: Performance of SimCode: time 1.192e-06/0.1419, allocations: 0 / 414.8 MB, free: 15.95 MB / 394.7 MB Notification: Performance of Templates: time 0.1417/0.2837, allocations: 44 MB / 458.8 MB, free: 126.9 MB / 410.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: 3.9229111820459366]