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.001705/0.001705, allocations: 89.47 kB / 19.44 MB, free: 344 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.002048/0.002048, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.55/1.55, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.1449/0.1449, allocations: 17.37 MB / 276.9 MB, free: 11.68 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.793e-06/1.793e-06, allocations: 0 / 352.7 MB, free: 10.33 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.111e-05/3.29e-05, allocations: 2.312 kB / 352.7 MB, free: 10.32 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.01192/0.01196, allocations: 8.319 MB / 361 MB, free: 1.965 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.037/0.04896, allocations: 24.33 MB / 385.4 MB, free: 9.543 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001689/0.05065, allocations: 31.75 kB / 385.4 MB, free: 9.512 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00159/0.05224, allocations: 480.1 kB / 385.9 MB, free: 9.039 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007678/0.05991, allocations: 2.222 MB / 388.1 MB, free: 6.801 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009806/0.06972, allocations: 3.16 MB / 391.2 MB, free: 3.621 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00452/0.07424, allocations: 2.516 MB / 393.8 MB, free: 1.094 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001924/0.07616, allocations: 1.17 MB / 394.9 MB, free: 15.88 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002487/0.07865, allocations: 1.697 MB / 396.6 MB, free: 14.18 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002161/0.08081, allocations: 1.142 MB / 397.8 MB, free: 13.04 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004221/0.08123, allocations: 216 kB / 398 MB, free: 12.82 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008792/0.09003, allocations: 2.542 MB / 400.5 MB, free: 10.28 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001116/0.09114, allocations: 0.5218 MB / 401 MB, free: 9.754 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001769/0.09291, allocations: 0.7991 MB / 401.8 MB, free: 8.953 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01733/0.1102, allocations: 5.569 MB / 407.4 MB, free: 3.363 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.1102, allocations: 0 / 407.4 MB, free: 3.363 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1102, allocations: 4 kB / 407.4 MB, free: 3.359 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.379e-05/0.1103, allocations: 0 / 407.4 MB, free: 3.359 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.00695/0.1173, allocations: 2.858 MB / 410.3 MB, free: 460 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.1173, allocations: 8.031 kB / 410.3 MB, free: 452 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1475/0.2648, allocations: 0.6768 MB / 410.9 MB, free: 65.14 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002087/0.2669, allocations: 0.9207 MB / 411.9 MB, free: 64.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00017/0.2671, allocations: 238.4 kB / 412.1 MB, free: 64.8 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003491/0.2675, allocations: 190.1 kB / 412.3 MB, free: 64.79 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004192/0.2716, allocations: 2.133 MB / 414.4 MB, free: 64.11 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.046e-05/0.2717, allocations: 192 / 414.4 MB, free: 64.11 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002481/0.272, allocations: 73.84 kB / 414.5 MB, free: 64.05 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.799e-05/0.272, allocations: 46.66 kB / 414.5 MB, free: 64.05 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004795/0.2768, allocations: 2.52 MB / 417.1 MB, free: 63.47 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.01106/0.2878, allocations: 6.112 MB / 423.2 MB, free: 60.24 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004682/0.2925, allocations: 2.489 MB / 425.7 MB, free: 58.97 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001279/0.2938, allocations: 0.7939 MB / 426.5 MB, free: 58.17 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008486/0.3023, allocations: 4.615 MB / 431.1 MB, free: 53.68 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.3023, allocations: 56.8 kB / 431.1 MB, free: 53.62 MB / 330.7 MB Notification: Performance of pre-optimization done (n=144): time 3.426e-06/0.3023, allocations: 0 / 431.1 MB, free: 53.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=180): time 0.02831/0.3306, allocations: 6.872 MB / 438 MB, free: 46.83 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.3307, allocations: 103 kB / 438.1 MB, free: 46.71 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000865/0.3315, allocations: 0.9557 MB / 439.1 MB, free: 45.77 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001678/0.3317, allocations: 57.7 kB / 439.1 MB, free: 45.7 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003323/0.332, allocations: 0.847 MB / 440 MB, free: 44.94 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004069/0.3325, allocations: 0.6689 MB / 440.6 MB, free: 44.29 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004888/0.3329, allocations: 413.2 kB / 441 MB, free: 43.88 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.3331, allocations: 0.5551 MB / 441.6 MB, free: 43.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009077/0.334, allocations: 0.6092 MB / 442.2 MB, free: 42.7 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001217/0.3352, allocations: 1.366 MB / 443.6 MB, free: 41.04 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002152/0.3373, allocations: 2.185 MB / 445.7 MB, free: 38.57 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/0.3374, allocations: 8 kB / 445.8 MB, free: 38.56 MB / 330.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.006793/0.3441, allocations: 2.567 MB / 448.3 MB, free: 35.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.3442, allocations: 12 kB / 448.3 MB, free: 35.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/0.3442, allocations: 16 kB / 448.3 MB, free: 35.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006099/0.3503, allocations: 0.7524 MB / 449.1 MB, free: 35.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002388/0.3527, allocations: 0.5223 MB / 449.6 MB, free: 34.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009063/0.3617, allocations: 9.586 MB / 459.2 MB, free: 24.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.3632, allocations: 71.92 kB / 459.3 MB, free: 24.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001753/0.3634, allocations: 98.28 kB / 459.4 MB, free: 24.45 MB / 330.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.0006355/0.364, allocations: 411.9 kB / 459.8 MB, free: 24.04 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000382/0.3644, allocations: 191.2 kB / 460 MB, free: 23.85 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007106/0.3715, allocations: 2.444 MB / 462.4 MB, free: 21.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.3715, allocations: 20 kB / 462.4 MB, free: 21.36 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.3716, allocations: 4 kB / 462.4 MB, free: 21.36 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.259e-05/0.3716, allocations: 10.41 kB / 462.4 MB, free: 21.35 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008986/0.3806, allocations: 3.958 MB / 466.4 MB, free: 17.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/0.3806, allocations: 3.828 kB / 466.4 MB, free: 17.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00195/0.3825, allocations: 383.5 kB / 466.8 MB, free: 17.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005923/0.3884, allocations: 0.7245 MB / 467.5 MB, free: 16.27 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002246/0.3887, allocations: 55.97 kB / 467.6 MB, free: 16.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008295/0.397, allocations: 9.403 MB / 477 MB, free: 6.336 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.397, allocations: 0 / 477 MB, free: 6.336 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008159/0.4051, allocations: 3.287 MB / 480.2 MB, free: 3.023 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004167/0.4055, allocations: 119.1 kB / 480.4 MB, free: 2.906 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001805/0.4057, allocations: 32 kB / 480.4 MB, free: 2.875 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008371/0.4066, allocations: 32 kB / 480.4 MB, free: 2.844 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003381/0.4069, allocations: 149.7 kB / 480.6 MB, free: 2.695 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001291/0.407, allocations: 67.91 kB / 480.6 MB, free: 2.629 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005659/0.4076, allocations: 0.538 MB / 481.2 MB, free: 2.086 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4076, allocations: 3.938 kB / 481.2 MB, free: 2.082 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003051/0.4106, allocations: 1.075 MB / 482.3 MB, free: 1.004 MB / 330.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.002127/0.4128, allocations: 1.21 MB / 483.5 MB, free: 15.92 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004884/0.4177, allocations: 2.477 MB / 485.9 MB, free: 13.38 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.4177, allocations: 4 kB / 485.9 MB, free: 13.37 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002781/0.4204, allocations: 1.619 MB / 487.6 MB, free: 11.69 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002076/0.4225, allocations: 347 kB / 487.9 MB, free: 11.36 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006456/0.429, allocations: 3.137 MB / 491 MB, free: 8.172 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009216/0.4299, allocations: 0.6851 MB / 491.7 MB, free: 7.449 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00144/0.4313, allocations: 342 kB / 492.1 MB, free: 7.117 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006226/0.432, allocations: 240.3 kB / 492.3 MB, free: 6.879 MB / 346.7 MB Notification: Performance of SimCode: time 2.124e-06/0.432, allocations: 3.938 kB / 492.3 MB, free: 6.875 MB / 346.7 MB Notification: Performance of Templates: time 0.07075/0.5027, allocations: 38.87 MB / 0.5187 GB, free: 312 kB / 378.7 MB " [Timeout remaining time 659] 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: 6.774396934080869]