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.0006917/0.0006917, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008425/0.001534, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007034/0.0007034, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009021/0.001605, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9103/0.9103, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08654/0.9969, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.09603/0.09603, allocations: 17.45 MB / 261.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009703/0.1057, allocations: 6.96 MB / 268.4 MB, free: 6.406 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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.623e-06/1.623e-06, allocations: 0 / 269.7 MB, free: 5.121 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.826e-05/1.989e-05, allocations: 2.312 kB / 269.7 MB, free: 5.117 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.1183/0.1183, allocations: 8.344 MB / 278 MB, free: 1.438 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02476/0.1431, allocations: 24.3 MB / 302.3 MB, free: 1.352 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.1441, allocations: 28 kB / 302.3 MB, free: 1.336 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.1452, allocations: 496.3 kB / 302.8 MB, free: 0.957 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004992/0.1502, allocations: 2.182 MB / 305 MB, free: 15.17 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007184/0.1574, allocations: 3.144 MB / 308.1 MB, free: 12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002443/0.1599, allocations: 2.492 MB / 310.6 MB, free: 9.504 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001274/0.1611, allocations: 1.197 MB / 311.8 MB, free: 8.246 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00181/0.1629, allocations: 1.783 MB / 313.6 MB, free: 6.457 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00138/0.1643, allocations: 1.13 MB / 314.7 MB, free: 5.324 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003062/0.1646, allocations: 216 kB / 315 MB, free: 5.113 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005591/0.1702, allocations: 2.659 MB / 317.6 MB, free: 2.449 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000344/0.1706, allocations: 370.9 kB / 318 MB, free: 2.086 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007061/0.1713, allocations: 0.6161 MB / 318.6 MB, free: 1.469 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005802/0.1771, allocations: 4.327 MB / 322.9 MB, free: 13.12 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.727e-05/0.1771, allocations: 0 / 322.9 MB, free: 13.12 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1771, allocations: 0 / 322.9 MB, free: 13.12 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.105e-05/0.1771, allocations: 0 / 322.9 MB, free: 13.12 MB / 314.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.003518/0.1807, allocations: 3.325 MB / 326.2 MB, free: 9.758 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.845e-05/0.1807, allocations: 8.031 kB / 326.3 MB, free: 9.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/0.1818, allocations: 0.7141 MB / 327 MB, free: 9.016 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008788/0.1827, allocations: 0.7115 MB / 327.7 MB, free: 8.277 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/0.1828, allocations: 242.9 kB / 327.9 MB, free: 8.016 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001859/0.183, allocations: 184.3 kB / 328.1 MB, free: 7.836 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/0.1844, allocations: 1.532 MB / 329.6 MB, free: 6.266 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.944e-05/0.1844, allocations: 8.109 kB / 329.6 MB, free: 6.258 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/0.1845, allocations: 76.12 kB / 329.7 MB, free: 6.184 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.165e-05/0.1845, allocations: 40 kB / 329.8 MB, free: 6.145 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.1858, allocations: 1.305 MB / 331.1 MB, free: 4.836 MB / 314.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.004804/0.1906, allocations: 4.112 MB / 335.2 MB, free: 0.625 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00229/0.1929, allocations: 2.522 MB / 337.7 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003788/0.1933, allocations: 431.5 kB / 338.1 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005268/0.1986, allocations: 3.701 MB / 341.8 MB, free: 9.934 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.1986, allocations: 47.81 kB / 341.9 MB, free: 9.879 MB / 330.7 MB Notification: Performance of pre-optimization done (n=144): time 3.667e-06/0.1986, allocations: 0 / 341.9 MB, free: 9.879 MB / 330.7 MB Notification: Performance of matching and sorting (n=180): time 0.01177/0.2104, allocations: 5.278 MB / 347.1 MB, free: 4.535 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.2104, allocations: 99.11 kB / 347.2 MB, free: 4.422 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004318/0.2108, allocations: 0.6828 MB / 347.9 MB, free: 3.727 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.721e-05/0.2109, allocations: 53.7 kB / 348 MB, free: 3.668 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000259/0.2112, allocations: 0.6743 MB / 348.6 MB, free: 2.984 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003089/0.2115, allocations: 0.6389 MB / 349.3 MB, free: 2.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000297/0.2118, allocations: 359.4 kB / 349.6 MB, free: 1.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.434e-05/0.2119, allocations: 361.8 kB / 350 MB, free: 1.621 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002929/0.2122, allocations: 262.8 kB / 350.2 MB, free: 1.359 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005069/0.2127, allocations: 0.7934 MB / 351 MB, free: 344 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009456/0.2136, allocations: 1.262 MB / 352.3 MB, free: 14.86 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/0.2136, allocations: 9.25 kB / 352.3 MB, free: 14.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.002381/0.216, allocations: 1.509 MB / 353.8 MB, free: 13.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.216, allocations: 13.72 kB / 353.8 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.216, allocations: 16 kB / 353.8 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002131/0.2182, allocations: 0.6474 MB / 354.5 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/0.2194, allocations: 0.6281 MB / 355.1 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004443/0.2239, allocations: 5.985 MB / 361.1 MB, free: 5.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007039/0.2246, allocations: 63.98 kB / 361.2 MB, free: 5.617 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/0.2247, allocations: 83.98 kB / 361.3 MB, free: 5.535 MB / 346.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.0003645/0.2251, allocations: 240 kB / 361.5 MB, free: 5.289 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/0.2253, allocations: 136 kB / 361.6 MB, free: 5.156 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002653/0.2279, allocations: 1.563 MB / 363.2 MB, free: 3.582 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.2279, allocations: 20 kB / 363.2 MB, free: 3.562 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2279, allocations: 0 / 363.2 MB, free: 3.562 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.2279, allocations: 7.969 kB / 363.2 MB, free: 3.555 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003446/0.2314, allocations: 2.268 MB / 365.5 MB, free: 1.246 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.2314, allocations: 0 / 365.5 MB, free: 1.246 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/0.2324, allocations: 487.3 kB / 366 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.2325, allocations: 111.1 kB / 366.1 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002062/0.2346, allocations: 0.6237 MB / 366.7 MB, free: 24 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.734e-05/0.2347, allocations: 52.05 kB / 366.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003832/0.2385, allocations: 5.834 MB / 372.6 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.2385, allocations: 4 kB / 372.6 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003033/0.2415, allocations: 1.885 MB / 374.5 MB, free: 7.879 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/0.2417, allocations: 35.98 kB / 374.5 MB, free: 7.844 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004521/0.2422, allocations: 36 kB / 374.5 MB, free: 7.809 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001946/0.2424, allocations: 141.7 kB / 374.7 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.734e-05/0.2424, allocations: 51.97 kB / 374.7 MB, free: 7.621 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002301/0.2427, allocations: 312.5 kB / 375 MB, free: 7.312 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2427, allocations: 0 / 375 MB, free: 7.312 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002098/0.2448, allocations: 1.072 MB / 376.1 MB, free: 6.238 MB / 362.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.001363/0.2461, allocations: 1.271 MB / 377.4 MB, free: 4.965 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001439/0.2476, allocations: 1.548 MB / 378.9 MB, free: 3.371 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.806e-05/0.2476, allocations: 32.44 kB / 378.9 MB, free: 3.344 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007525/0.2484, allocations: 1.049 MB / 380 MB, free: 2.238 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008227/0.2492, allocations: 496.8 kB / 380.5 MB, free: 1.773 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/0.2595, allocations: 2.863 MB / 383.3 MB, free: 14.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002002/0.2597, allocations: 309.8 kB / 383.6 MB, free: 14.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007593/0.2605, allocations: 340.4 kB / 384 MB, free: 14.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006853/0.2612, allocations: 481 kB / 384.5 MB, free: 13.77 MB / 378.7 MB Notification: Performance of SimCode: time 7.62e-07/0.2612, allocations: 4 kB / 384.5 MB, free: 13.76 MB / 378.7 MB Notification: Performance of Templates: time 0.04015/0.3013, allocations: 44.7 MB / 429.1 MB, free: 1.297 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.787400210276246]